Do not embed artifacts provided by Jdisc container
Reduces bundle size from 13.3 to 3.4 MB
<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>
