aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvdhut Kholkar <avdhut.kholkar@amdocs.com>2019-09-04 10:52:22 +0000
committerGerrit Code Review <gerrit@onap.org>2019-09-04 10:52:22 +0000
commitcce9554c9771c0227edc17181c2011d28a9c052b (patch)
tree46dc5040f91487417c889dc90e03168c17a6ebb3
parent5104a66d12a2ada0819d1cbcaf935785748f2b87 (diff)
parentd50c94dac35a4345d010beda3f40ba5c7261002e (diff)
Merge "Exclude unneccessary artifact - jackson-databind"
-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>