Просмотр исходного кода

HDDS-970. Fix classnotfound error for bouncy castle classes in OM,SCM init. Contributed by Ajay Kumar.

Ajay Kumar 6 лет назад
Родитель
Сommit
0e16cf1973

+ 1 - 1
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>

+ 0 - 1
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>

+ 0 - 1
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>