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

xyao pushed a commit to branch HDDS-4
in repository https://gitbox.apache.org/repos/asf/hadoop.git

commit 0e16cf1973c8c6ba7b486787e123c3a71686fbc8
Author: Ajay Kumar <a...@apache.org>
AuthorDate: Thu Jan 10 09:19:36 2019 -0800

    HDDS-970. Fix classnotfound error for bouncy castle classes in OM,SCM init. 
Contributed by Ajay Kumar.
---
 hadoop-hdds/common/pom.xml         | 2 +-
 hadoop-hdds/server-scm/pom.xml     | 1 -
 hadoop-ozone/ozone-manager/pom.xml | 1 -
 3 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/hadoop-hdds/common/pom.xml b/hadoop-hdds/common/pom.xml
index 4144577..93bb63f 100644
--- a/hadoop-hdds/common/pom.xml
+++ b/hadoop-hdds/common/pom.xml
@@ -115,7 +115,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd";>
     <dependency>
       <groupId>org.bouncycastle</groupId>
       <artifactId>bcpkix-jdk15on</artifactId>
-      <version>1.54</version>
+      <version>${bouncycastle.version}</version>
     </dependency>
     <!-- 
https://mvnrepository.com/artifact/commons-validator/commons-validator -->
     <dependency>
diff --git a/hadoop-hdds/server-scm/pom.xml b/hadoop-hdds/server-scm/pom.xml
index 7789c32..aff0d29 100644
--- a/hadoop-hdds/server-scm/pom.xml
+++ b/hadoop-hdds/server-scm/pom.xml
@@ -99,7 +99,6 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd";>
     <dependency>
       <groupId>org.bouncycastle</groupId>
       <artifactId>bcprov-jdk15on</artifactId>
-      <scope>test</scope>
     </dependency>
   </dependencies>
   <build>
diff --git a/hadoop-ozone/ozone-manager/pom.xml 
b/hadoop-ozone/ozone-manager/pom.xml
index 840d9c8..9bcf6ff 100644
--- a/hadoop-ozone/ozone-manager/pom.xml
+++ b/hadoop-ozone/ozone-manager/pom.xml
@@ -48,7 +48,6 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd";>
     <dependency>
       <groupId>org.bouncycastle</groupId>
       <artifactId>bcprov-jdk15on</artifactId>
-      <scope>test</scope>
     </dependency>
 
     <dependency>


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to