You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2018/05/07 14:03:09 UTC

[ambari] branch trunk updated: AMBARI-23775. Removed (or upgraded) unsecure libraries from ambari-agent (#1193)

This is an automated email from the ASF dual-hosted git repository.

smolnar 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 d3399bd  AMBARI-23775. Removed (or upgraded) unsecure libraries from ambari-agent (#1193)
d3399bd is described below

commit d3399bdc68b2b124e7ecf29bb1621153e8a1b957
Author: Sandor Molnar <sm...@apache.org>
AuthorDate: Mon May 7 16:03:07 2018 +0200

    AMBARI-23775. Removed (or upgraded) unsecure libraries from ambari-agent (#1193)
---
 ambari-agent/pom.xml   | 37 ++++++++++++++++++++++++++++++++++++-
 ambari-project/pom.xml |  5 +++++
 2 files changed, 41 insertions(+), 1 deletion(-)

diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
index 3316046..945b672 100644
--- a/ambari-agent/pom.xml
+++ b/ambari-agent/pom.xml
@@ -58,7 +58,6 @@
     <dependency>
       <groupId>org.apache.zookeeper</groupId>
       <artifactId>zookeeper</artifactId>
-      <version>3.4.9</version>
     </dependency>
     <dependency>
       <groupId>commons-cli</groupId>
@@ -72,6 +71,12 @@
       <groupId>commons-configuration</groupId>
       <artifactId>commons-configuration</artifactId>
       <version>1.6</version>
+      <exclusions>
+        <exclusion>
+            <groupId>commons-beanutils</groupId>
+            <artifactId>commons-beanutils-core</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>commons-lang</groupId>
@@ -89,18 +94,48 @@
       <groupId>org.apache.hadoop</groupId>
       <artifactId>hadoop-common</artifactId>
       <version>2.7.3</version>
+      <exclusions>
+        <exclusion>
+            <groupId>com.jcraft</groupId>
+            <artifactId>jsch</artifactId>
+        </exclusion>
+        <exclusion>
+            <groupId>org.mortbay.jetty</groupId>
+            <artifactId>jetty-util</artifactId>
+        </exclusion>
+        <exclusion>
+            <groupId>commons-httpclient</groupId>
+            <artifactId>commons-httpclient</artifactId>
+        </exclusion>
+        <exclusion>
+            <groupId>org.apache.zookeeper</groupId>
+            <artifactId>zookeeper</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>org.apache.curator</groupId>
       <artifactId>curator-test</artifactId>
       <version>2.9.0</version>
       <scope>test</scope>
+      <exclusions>
+        <exclusion>
+            <groupId>org.apache.zookeeper</groupId>
+            <artifactId>zookeeper</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>org.apache.curator</groupId>
       <artifactId>curator-framework</artifactId>
       <version>2.7.1</version>
       <scope>test</scope>
+      <exclusions>
+        <exclusion>
+            <groupId>org.apache.zookeeper</groupId>
+            <artifactId>zookeeper</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>org.apache.ambari</groupId>
diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml
index 93ffd4b..e20a968 100644
--- a/ambari-project/pom.xml
+++ b/ambari-project/pom.xml
@@ -637,6 +637,11 @@
         <artifactId>jackson-databind</artifactId>
         <version>${fasterxml.jackson.version}</version>
       </dependency>
+    <dependency>
+      <groupId>org.apache.zookeeper</groupId>
+      <artifactId>zookeeper</artifactId>
+      <version>3.4.10</version>
+    </dependency>
     </dependencies>
   </dependencyManagement>
   <build>

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