|
@@ -11,7 +11,7 @@
|
|
|
|
|
|
<name>milvus-sdk-java</name>
|
|
|
<description>Java SDK for Milvus distributed high-performance vector search engine.</description>
|
|
|
- <url>https://github.com/milvus-io/milvus-sdk-java</url>
|
|
|
+ <url>https://www.milvus.io/</url>
|
|
|
|
|
|
<licenses>
|
|
|
<license>
|
|
@@ -22,12 +22,20 @@
|
|
|
</licenses>
|
|
|
|
|
|
<scm>
|
|
|
- <url>https://github.com/milvus-io/milvus-sdk-java.git</url>
|
|
|
+ <connection>scm:git:https://github.com/milvus-io/milvus-sdk-java.git</connection>
|
|
|
+ <url>https://github.com/milvus-io/milvus-sdk-java</url>
|
|
|
</scm>
|
|
|
|
|
|
+ <distributionManagement>
|
|
|
+ <snapshotRepository>
|
|
|
+ <id>ossrh</id>
|
|
|
+ <url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
|
+ </snapshotRepository>
|
|
|
+ </distributionManagement>
|
|
|
+
|
|
|
<properties>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
- <grpc.version>1.24.0</grpc.version><!-- CURRENT_GRPC_VERSION -->
|
|
|
+ <grpc.version>1.24.0</grpc.version>
|
|
|
<protobuf.version>3.9.0</protobuf.version>
|
|
|
<protoc.version>3.9.0</protoc.version>
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
@@ -82,7 +90,6 @@
|
|
|
<version>RELEASE</version>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
- <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-text -->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-text</artifactId>
|
|
@@ -90,6 +97,67 @@
|
|
|
</dependency>
|
|
|
</dependencies>
|
|
|
|
|
|
+ <profiles>
|
|
|
+ <profile>
|
|
|
+ <id>release</id>
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.sonatype.plugins</groupId>
|
|
|
+ <artifactId>nexus-staging-maven-plugin</artifactId>
|
|
|
+ <version>1.6.8</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>3.1.0</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>3.1.1</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>attach-javadocs</id>
|
|
|
+ <goals>
|
|
|
+ <goal>jar</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-gpg-plugin</artifactId>
|
|
|
+ <version>1.6</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>sign-artifacts</id>
|
|
|
+ <phase>verify</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>sign</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+ </profile>
|
|
|
+ </profiles>
|
|
|
+
|
|
|
<build>
|
|
|
<extensions>
|
|
|
<extension>
|
|
@@ -99,6 +167,17 @@
|
|
|
</extension>
|
|
|
</extensions>
|
|
|
<plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-release-plugin</artifactId>
|
|
|
+ <version>2.5.3</version>
|
|
|
+ <configuration>
|
|
|
+ <autoVersionSubmodules>true</autoVersionSubmodules>
|
|
|
+ <useReleaseProfile>false</useReleaseProfile>
|
|
|
+ <releaseProfiles>release</releaseProfiles>
|
|
|
+ <goals>deploy</goals>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.xolstice.maven.plugins</groupId>
|
|
|
<artifactId>protobuf-maven-plugin</artifactId>
|