2018-11-25 21:43:26 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2020-03-14 07:27:57 +00:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2018-11-25 21:43:26 +00:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
2018-12-08 08:32:34 +00:00
|
|
|
<groupId>com.github.chrislusf</groupId>
|
2018-12-02 23:16:49 +00:00
|
|
|
<artifactId>seaweedfs-client</artifactId>
|
2020-07-17 23:11:57 +00:00
|
|
|
<version>1.3.9</version>
|
2018-12-08 08:32:34 +00:00
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.sonatype.oss</groupId>
|
|
|
|
<artifactId>oss-parent</artifactId>
|
|
|
|
<version>9</version>
|
|
|
|
</parent>
|
2018-11-25 21:43:26 +00:00
|
|
|
|
|
|
|
<properties>
|
2019-09-01 10:46:51 +00:00
|
|
|
<protobuf.version>3.9.1</protobuf.version>
|
|
|
|
<!-- follow https://github.com/grpc/grpc-java -->
|
|
|
|
<grpc.version>1.23.0</grpc.version>
|
|
|
|
<guava.version>28.0-jre</guava.version>
|
2018-11-25 21:43:26 +00:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
2019-09-01 10:46:51 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.moandjiezana.toml</groupId>
|
|
|
|
<artifactId>toml4j</artifactId>
|
|
|
|
<version>0.7.2</version>
|
|
|
|
</dependency>
|
2018-11-25 21:43:26 +00:00
|
|
|
<!-- https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
<version>${protobuf.version}</version>
|
|
|
|
</dependency>
|
2018-12-02 23:16:49 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>${guava.version}</version>
|
|
|
|
</dependency>
|
2018-11-25 21:43:26 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-netty-shaded</artifactId>
|
|
|
|
<version>${grpc.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-protobuf</artifactId>
|
|
|
|
<version>${grpc.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-stub</artifactId>
|
|
|
|
<version>${grpc.version}</version>
|
|
|
|
</dependency>
|
2018-12-14 17:16:21 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>1.7.25</version>
|
|
|
|
</dependency>
|
2018-12-28 07:40:23 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpmime</artifactId>
|
|
|
|
<version>4.5.6</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.12</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-11-25 21:43:26 +00:00
|
|
|
</dependencies>
|
|
|
|
|
2018-12-08 08:32:34 +00:00
|
|
|
<distributionManagement>
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>ossrh</id>
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
|
|
</snapshotRepository>
|
|
|
|
</distributionManagement>
|
2018-11-25 21:43:26 +00:00
|
|
|
<build>
|
|
|
|
<extensions>
|
|
|
|
<extension>
|
|
|
|
<groupId>kr.motd.maven</groupId>
|
|
|
|
<artifactId>os-maven-plugin</artifactId>
|
2019-09-01 10:46:51 +00:00
|
|
|
<version>1.6.2</version>
|
2018-11-25 21:43:26 +00:00
|
|
|
</extension>
|
|
|
|
</extensions>
|
|
|
|
<plugins>
|
2018-12-19 04:22:51 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
2020-03-14 07:27:57 +00:00
|
|
|
<source>8</source>
|
|
|
|
<target>8</target>
|
2018-12-19 04:22:51 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-11-25 21:43:26 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.xolstice.maven.plugins</groupId>
|
|
|
|
<artifactId>protobuf-maven-plugin</artifactId>
|
2019-09-01 10:46:51 +00:00
|
|
|
<version>0.6.1</version>
|
2018-11-25 21:43:26 +00:00
|
|
|
<configuration>
|
2020-03-14 07:27:57 +00:00
|
|
|
<protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}
|
|
|
|
</protocArtifact>
|
2018-11-25 21:43:26 +00:00
|
|
|
<pluginId>grpc-java</pluginId>
|
2020-03-14 07:27:57 +00:00
|
|
|
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}
|
|
|
|
</pluginArtifact>
|
2018-11-25 21:43:26 +00:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
<goal>compile-custom</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-12-08 08:32:34 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
|
|
<version>1.5</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>sign-artifacts</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>sign</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
|
|
<version>1.6.7</version>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
<configuration>
|
|
|
|
<serverId>ossrh</serverId>
|
|
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
|
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<version>2.2.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>2.9.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-11-25 21:43:26 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|