aboutsummaryrefslogtreecommitdiffstats
path: root/vespaclient-container-plugin/pom.xml
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2021-10-07 17:09:43 +0200
committergjoranv <gv@verizonmedia.com>2021-10-07 23:06:14 +0200
commit453c1d94aeb0d047ae12f89be078bba55d7a2b0b (patch)
tree76405138994224c8e4cd04402a49cfdeb4b49873 /vespaclient-container-plugin/pom.xml
parent4b837462afa5ae9adbebc10c226637ae04e05007 (diff)
Do not embed artifacts provided by Jdisc container
- Reduces bundle size from 13.3 to 3.4 MB
Diffstat (limited to 'vespaclient-container-plugin/pom.xml')
-rw-r--r--vespaclient-container-plugin/pom.xml25
1 files changed, 21 insertions, 4 deletions
diff --git a/vespaclient-container-plugin/pom.xml b/vespaclient-container-plugin/pom.xml
index 535699ef6a4..ab3fef08e00 100644
--- a/vespaclient-container-plugin/pom.xml
+++ b/vespaclient-container-plugin/pom.xml
@@ -42,17 +42,34 @@
<artifactId>vespa-http-client</artifactId>
<version>${project.version}</version>
<exclusions>
+ <!-- Exclude artifacts that are provided by Jdisc container -->
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-core</artifactId>
+ <artifactId>*</artifactId>
</exclusion>
<exclusion>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
+ <groupId>com.fasterxml.jackson.datatype</groupId>
+ <artifactId>*</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.module</groupId>
+ <artifactId>*</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.yahoo.vespa</groupId>
+ <artifactId>security-utils</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpcore</artifactId>
+ <artifactId>*</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.bouncycastle</groupId>
+ <artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>