summaryrefslogtreecommitdiffstats
path: root/configserver/pom.xml
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2022-03-26 01:06:10 +0100
committergjoranv <gv@verizonmedia.com>2022-03-28 21:52:35 +0200
commitb347245d3274ca3f5d712cd0ceb70f147ca2a963 (patch)
tree81f9e98b357d42c4803b319f105fe67916dc68dc /configserver/pom.xml
parent300fde890974220aa6532087bb195884cee29ae7 (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.xml23
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. -->