aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrudence Au <prudence.au@amdocs.com>2019-09-03 22:04:47 -0400
committerPrudence Au <prudence.au@amdocs.com>2019-09-03 22:04:47 -0400
commitd50c94dac35a4345d010beda3f40ba5c7261002e (patch)
treefe67cb0fc68561117488df2460235c33cd6fcb1a
parented4107f4ff0aa1ad65a96371bf69242847daedaa (diff)
Exclude unneccessary artifact - jackson-databind
Issue-ID: LOG-826 Signed-off-by: Prudence Au <prudence.au@amdocs.com> Change-Id: Ia3354572b26faa2ecef52bb40c29659fa50b49b6
-rw-r--r--reference/logging-demo/pom.xml22
-rw-r--r--reference/logging-slf4j-demo/pom.xml4
2 files changed, 24 insertions, 2 deletions
diff --git a/reference/logging-demo/pom.xml b/reference/logging-demo/pom.xml
index 9312bd0..eeab02d 100644
--- a/reference/logging-demo/pom.xml
+++ b/reference/logging-demo/pom.xml
@@ -107,6 +107,12 @@
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
<version>2.23</version>
+ <exclusions>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<!-- for spring injection in rest -->
<dependency>
@@ -151,11 +157,11 @@
</dependency>
<!-- databinding; ObjectMapper, JsonNode and related classes are here -->
-<dependency>
+<!--<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson-2-version}</version>
-</dependency>
+</dependency>-->
<!-- smile (binary JSON). Other artifacts in this group do other formats. -->
<dependency>
@@ -168,12 +174,24 @@
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
<version>${jackson-2-version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<!-- Support for JAX-B annotations as additional configuration -->
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-jaxb-annotations</artifactId>
<version>${jackson-2-version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>com.owlike</groupId>
diff --git a/reference/logging-slf4j-demo/pom.xml b/reference/logging-slf4j-demo/pom.xml
index c10f570..4dff5a0 100644
--- a/reference/logging-slf4j-demo/pom.xml
+++ b/reference/logging-slf4j-demo/pom.xml
@@ -35,6 +35,10 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-json</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>