diff --git a/.gitignore b/.gitignore index dbcddd98d..9140651cc 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,8 @@ target/ volumes/ *.iml .flattened-pom.xml +dependency-reduced-pom.xml +META-INF/ # Example files examples/bulk_writer diff --git a/sdk-core/pom.xml b/sdk-core/pom.xml index f29f98b67..9f834fdc8 100644 --- a/sdk-core/pom.xml +++ b/sdk-core/pom.xml @@ -177,6 +177,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.5.0 @@ -185,6 +186,61 @@ + + org.apache.maven.plugins + maven-shade-plugin + 3.6.0 + + + package + + shade + + + true + ${project.basedir}/.flattened-pom.xml + true + + + io.grpc:* + + + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + META-INF/MANIFEST.MF + module-info.class + + + + + + io.grpc + io.milvus.shaded.io.grpc + + io.grpc.netty.shaded.io.grpc.netty.* + + + + io.grpc.netty.shaded.io.grpc.netty + io.milvus.shaded.io.grpc.netty.shaded.io.grpc.netty + + io.grpc.netty.shaded.io.grpc.netty.* + + + + + + + + + + +