From 05c974521064043f795267b629f9b5bfb0751aa2 Mon Sep 17 00:00:00 2001 From: groot Date: Tue, 10 Dec 2024 19:04:38 +0800 Subject: [PATCH] Fix a deploy bug (#1226) Signed-off-by: yhmo --- examples/pom.xml | 6 +++--- pom.xml | 31 ++++++++++++++++++------------- sdk-bulkwriter/pom.xml | 4 ++++ sdk-core/pom.xml | 4 ++++ 4 files changed, 29 insertions(+), 16 deletions(-) diff --git a/examples/pom.xml b/examples/pom.xml index 06ba9dfbc..c2b637fa6 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -50,7 +50,7 @@ oss.sonatype.org-snapshot - http://oss.sonatype.org/content/repositories/snapshots + https://oss.sonatype.org/content/repositories/snapshots false @@ -64,12 +64,12 @@ io.milvus milvus-sdk-java - 2.5.2 + 2.5.2-SNAPSHOT io.milvus milvus-sdk-java-bulkwriter - 2.5.2 + 2.5.2-SNAPSHOT org.tensorflow diff --git a/pom.xml b/pom.xml index 62266dc3d..4bc85c471 100644 --- a/pom.xml +++ b/pom.xml @@ -71,6 +71,7 @@ 8 8 UTF-8 + false 1.59.1 @@ -93,6 +94,8 @@ 0.6.1 3.0.0-M2 2.19.1 + 1.6.0 + 3.1.3 1.1.0 5.10.1 2.10.1 @@ -271,34 +274,36 @@ org.codehaus.mojo flatten-maven-plugin - 1.3.0 - true + ${maven.flatten.plugin.version} + + true + oss + flatten - process-resources flatten - - true - resolveCiFriendliesOnly - - expand - remove - remove - - + process-resources flatten.clean - clean clean + clean + + org.apache.maven.plugins + maven-deploy-plugin + ${maven.deploy.plugin.version} + + ${skip.maven.deploy} + + \ No newline at end of file diff --git a/sdk-bulkwriter/pom.xml b/sdk-bulkwriter/pom.xml index ffccbb20d..b840ec7b6 100644 --- a/sdk-bulkwriter/pom.xml +++ b/sdk-bulkwriter/pom.xml @@ -15,6 +15,10 @@ ${project.artifactId} BulkWriter tool for Java + + false + + diff --git a/sdk-core/pom.xml b/sdk-core/pom.xml index 6bee1e9de..cdb1dc919 100644 --- a/sdk-core/pom.xml +++ b/sdk-core/pom.xml @@ -15,6 +15,10 @@ ${project.artifactId} Milvus Java SDK core functions + + false + +