ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amag...@apache.org
Subject [ambari] branch trunk updated: AMBARI-23698. Remove unsecure dependencies from ambari-utility (#1100)
Date Thu, 26 Apr 2018 18:14:33 GMT
This is an automated email from the ASF dual-hosted git repository.

amagyar pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 2aa5e07  AMBARI-23698. Remove unsecure dependencies from ambari-utility (#1100)
2aa5e07 is described below

commit 2aa5e0798696f60317354c6b0414cf7dfa14d537
Author: smolnar82 <34065904+smolnar82@users.noreply.github.com>
AuthorDate: Thu Apr 26 20:14:31 2018 +0200

    AMBARI-23698. Remove unsecure dependencies from ambari-utility (#1100)
---
 ambari-project/pom.xml |  2 +-
 ambari-utility/pom.xml | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml
index 9d6e5fa..4a98bda 100644
--- a/ambari-project/pom.xml
+++ b/ambari-project/pom.xml
@@ -38,7 +38,7 @@
     <slf4j.version>1.7.20</slf4j.version>
     <guice.version>4.1.0</guice.version>
     <spring.version>4.3.7.RELEASE</spring.version>
-    <fasterxml.jackson.version>2.9.4</fasterxml.jackson.version>
+    <fasterxml.jackson.version>2.9.5</fasterxml.jackson.version>
     <forkCount>4</forkCount>
     <reuseForks>false</reuseForks>
     <surefire.argLine>-Xmx1024m -Xms512m</surefire.argLine>
diff --git a/ambari-utility/pom.xml b/ambari-utility/pom.xml
index bc98350..f29b389 100644
--- a/ambari-utility/pom.xml
+++ b/ambari-utility/pom.xml
@@ -33,14 +33,35 @@
 
   <dependencies>
     <dependency>
+      <groupId>com.fasterxml.jackson.core</groupId>
+      <artifactId>jackson-databind</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
       <groupId>com.github.kongchen</groupId>
       <artifactId>swagger-maven-plugin</artifactId>
       <scope>provided</scope>
+      <exclusions>
+        <exclusion>
+          <groupId>com.fasterxml.jackson.core</groupId>
+          <artifactId>jackson-databind</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>com.fasterxml.jackson.dataformat</groupId>
+          <artifactId>jackson-dataformat-xml</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>com.fasterxml.jackson.jaxrs</groupId>
       <artifactId>jackson-jaxrs-json-provider</artifactId>
       <scope>provided</scope>
+      <exclusions>
+        <exclusion>
+          <groupId>com.fasterxml.jackson.core</groupId>
+          <artifactId>jackson-databind</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>org.slf4j</groupId>

-- 
To stop receiving notification emails like this one, please contact
amagyar@apache.org.

Mime
View raw message