summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--container-accesslogging/pom.xml9
-rw-r--r--container-disc/pom.xml17
2 files changed, 19 insertions, 7 deletions
diff --git a/container-accesslogging/pom.xml b/container-accesslogging/pom.xml
index c48b5cc13da..c82cfd000d9 100644
--- a/container-accesslogging/pom.xml
+++ b/container-accesslogging/pom.xml
@@ -67,13 +67,8 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
- <exclusions>
- <exclusion>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-core</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
<plugins>
diff --git a/container-disc/pom.xml b/container-disc/pom.xml
index e62be0fc637..15b8cd08808 100644
--- a/container-disc/pom.xml
+++ b/container-disc/pom.xml
@@ -138,6 +138,23 @@
<artifactId>jackson-datatype-jdk8</artifactId>
<scope>provided</scope>
</dependency>
+
+ <!-- ensure that transitive Jackson dependencies are not included in compile scope -->
+ <dependency>
+ <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>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-annotations</artifactId>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
<plugins>