diff options
author | Ittay Stern <ittay.stern@att.com> | 2019-02-13 17:50:59 +0200 |
---|---|---|
committer | Ittay Stern <ittay.stern@att.com> | 2019-02-13 18:08:16 +0200 |
commit | 350c5302a1f49b96dfb0789d7597324c23834f94 (patch) | |
tree | 3d810ed8123276443a06ea511ae37136849ad4e4 | |
parent | a147158a52e48ff89381f826e5b2d84bf93ae8d2 (diff) |
Align to fasterxml 2.9.7
1. Introduce property ${jackson.version}
2. Explicitly define jackson-* dependencies
3. Remove unneeded exclusions, as top-level declarations are taking
place by definition.
Change-Id: I309f79872604067147f7f2caf19335d53f924c83
Issue-ID: VID-416
Signed-off-by: Ittay Stern <ittay.stern@att.com>
-rwxr-xr-x | epsdk-app-onap/pom.xml | 64 |
1 files changed, 24 insertions, 40 deletions
diff --git a/epsdk-app-onap/pom.xml b/epsdk-app-onap/pom.xml index f2441b357..bf09f32dc 100755 --- a/epsdk-app-onap/pom.xml +++ b/epsdk-app-onap/pom.xml @@ -18,6 +18,7 @@ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <epsdk.version>2.4.0</epsdk.version> + <jackson.version>2.9.7</jackson.version> <springframework.version>4.2.9.RELEASE</springframework.version> <hibernate.version>4.3.11.Final</hibernate.version> <!-- Skip assembling the zip; assemble via mvn -Dskipassembly=false .. --> @@ -205,9 +206,9 @@ </dependencies> </plugin> <plugin> - <groupId>org.sonarsource.scanner.maven</groupId> - <artifactId>sonar-maven-plugin</artifactId> - <version>3.3.0.603</version> + <groupId>org.sonarsource.scanner.maven</groupId> + <artifactId>sonar-maven-plugin</artifactId> + <version>3.3.0.603</version> </plugin> <plugin> <groupId>org.jacoco</groupId> @@ -265,24 +266,12 @@ <artifactId>epsdk-app-common</artifactId> <version>${epsdk.version}</version> <type>jar</type> - <exclusions> - <exclusion> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-core</artifactId> - </exclusion> - </exclusions> </dependency> <dependency> <groupId>org.onap.vid</groupId> <artifactId>vid-app-common</artifactId> <version>${project.version}</version> <type>war</type> - <exclusions> - <exclusion> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-core</artifactId> - </exclusion> - </exclusions> </dependency> <dependency> <groupId>org.onap.vid</groupId> @@ -296,12 +285,6 @@ <groupId>org.onap.portal.sdk</groupId> <artifactId>epsdk-core</artifactId> <version>${epsdk.version}</version> - <exclusions> - <exclusion> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-core</artifactId> - </exclusion> - </exclusions> </dependency> <dependency> <groupId>org.onap.portal.sdk</groupId> @@ -309,10 +292,6 @@ <version>${epsdk.version}</version> <exclusions> <exclusion> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-core</artifactId> - </exclusion> - <exclusion> <groupId>com.lowagie</groupId> <artifactId>itext</artifactId> </exclusion> @@ -322,12 +301,6 @@ <groupId>org.onap.portal.sdk</groupId> <artifactId>epsdk-workflow</artifactId> <version>${epsdk.version}</version> - <exclusions> - <exclusion> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-core</artifactId> - </exclusion> - </exclusions> </dependency> <dependency> <groupId>com.att.eelf</groupId> @@ -338,23 +311,34 @@ <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> - <version>2.6.3</version> + <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> - <version>2.8.6</version> + <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> - <version>2.6.7.1</version> - <exclusions> - <exclusion> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-core</artifactId> - </exclusion> - </exclusions> + <version>${jackson.version}</version> + </dependency> + <!-- jackson-dataformat-* are to override elasticsearch-2.2.0 deps hell --> + <!-- (elasticsearch is an epsdk-app-common-2.4.0 dep) --> + <dependency> + <groupId>com.fasterxml.jackson.dataformat</groupId> + <artifactId>jackson-dataformat-smile</artifactId> + <version>${jackson.version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.dataformat</groupId> + <artifactId>jackson-dataformat-yaml</artifactId> + <version>${jackson.version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.dataformat</groupId> + <artifactId>jackson-dataformat-cbor</artifactId> + <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.mchange</groupId> |