diff options
author | gjoranv <gv@verizonmedia.com> | 2022-03-26 01:06:10 +0100 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2022-03-26 01:06:36 +0100 |
commit | cd841adcf321550a016d8cd84ddf41242de559a5 (patch) | |
tree | 43be6116bb1c1b8da1f5831fb2dd424450059797 /configserver/pom.xml | |
parent | 57a8c1a463722c3e092a325f01f061bb0105143d (diff) |
Ensure that jackson-core and jackson-annotations are not embedded.
- Both are provided by Jdisc, and will remain so for Vespa 8
Diffstat (limited to 'configserver/pom.xml')
-rw-r--r-- | configserver/pom.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/configserver/pom.xml b/configserver/pom.xml index 8e604b930f6..2ca2cbb4741 100644 --- a/configserver/pom.xml +++ b/configserver/pom.xml @@ -194,6 +194,18 @@ <scope>provided</scope> </dependency> <dependency> + <!-- Do not remove, as long as this is provided by jdisc and configserver uses jersey-client --> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-annotations</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <!-- Do not remove, as long as this is provided by jdisc and configserver uses jersey-client --> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> + <scope>provided</scope> + </dependency> + <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <scope>provided</scope> @@ -245,6 +257,17 @@ <dependency> <groupId>org.glassfish.jersey.media</groupId> <artifactId>jersey-media-json-jackson</artifactId> + <exclusions> + <!-- Prevent embedding deps provided by jdisc --> + <exclusion> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-annotations</artifactId> + </exclusion> + <exclusion> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <!-- Not needed by configserver, but by controller. Also pulls in mimepull. --> |