diff options
author | gjoranv <gv@verizonmedia.com> | 2021-09-30 15:21:53 +0200 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2021-09-30 15:21:53 +0200 |
commit | 2c699bc95e50c22d0716a4ab7154aed8f32d6616 (patch) | |
tree | 0f1429099681e03a2ce22c29f070a39f8d369cef /vespa-http-client | |
parent | fe260fe8a98c1d2d19633e16a6308857c9577878 (diff) |
Optimize fat jar size by excluding unused transitive deps.
Diffstat (limited to 'vespa-http-client')
-rw-r--r-- | vespa-http-client/pom.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/vespa-http-client/pom.xml b/vespa-http-client/pom.xml index 9298c2becf6..2007d269ee4 100644 --- a/vespa-http-client/pom.xml +++ b/vespa-http-client/pom.xml @@ -63,6 +63,25 @@ <artifactId>vespajlib</artifactId> <version>${project.version}</version> <scope>compile</scope> + <exclusions> + <!-- Optimization: exclude artifacts that are not used by this module --> + <exclusion> + <groupId>io.airlift</groupId> + <artifactId>aircompressor</artifactId> + </exclusion> + <exclusion> + <groupId>net.java.dev.jna</groupId> + <artifactId>jna</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.commons</groupId> + <artifactId>commons-exec</artifactId> + </exclusion> + <exclusion> + <groupId>org.lz4</groupId> + <artifactId>lz4-java</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <!-- Needed for Vespa TLS configuration. --> |