pan3793 opened a new pull request, #4522:
URL: https://github.com/apache/zeppelin/pull/4522

   ### What is this PR for?
   
   Bump bouncycastle 1.70.
   
   ```
   ➜  apache-zeppelin git:(master) java -version
   openjdk version "1.8.0_332"
   OpenJDK Runtime Environment (Zulu 8.62.0.19-CA-macos-aarch64) (build 
1.8.0_332-b09)
   OpenJDK 64-Bit Server VM (Zulu 8.62.0.19-CA-macos-aarch64) (build 
25.332-b09, mixed mode)
   ```
   
   The transitive dependencies can not be resolved correctly on my mac when 
using bouncycastle 1.60, and the build failed w/ same reason.
   
   <img width="376" alt="image" 
src="https://user-images.githubusercontent.com/26535726/204861095-fd660d7c-a39a-4902-9528-07ac26ccaf37.png";>
   
   ```
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) 
on project zeppelin-zengine: Compilation failure: Compilation failure:
   [ERROR] 
/Users/chengpan/Projects/apache-zeppelin/zeppelin-zengine/src/main/java/org/apache/zeppelin/user/Encryptor.java:[20,31]
 package org.bouncycastle.crypto does not exist
   [ERROR] 
/Users/chengpan/Projects/apache-zeppelin/zeppelin-zengine/src/main/java/org/apache/zeppelin/user/Encryptor.java:[21,31]
 package org.bouncycastle.crypto does not exist
   [ERROR] 
/Users/chengpan/Projects/apache-zeppelin/zeppelin-zengine/src/main/java/org/apache/zeppelin/user/Encryptor.java:[22,39]
 package org.bouncycastle.crypto.engines does not exist
   [ERROR] 
/Users/chengpan/Projects/apache-zeppelin/zeppelin-zengine/src/main/java/org/apache/zeppelin/user/Encryptor.java:[23,40]
 package org.bouncycastle.crypto.paddings does not exist
   [ERROR] 
/Users/chengpan/Projects/apache-zeppelin/zeppelin-zengine/src/main/java/org/apache/zeppelin/user/Encryptor.java:[24,40]
 package org.bouncycastle.crypto.paddings does not exist
   [ERROR] 
/Users/chengpan/Projects/apache-zeppelin/zeppelin-zengine/src/main/java/org/apache/zeppelin/user/Encryptor.java:[25,38]
 package org.bouncycastle.crypto.params does not exist
   [ERROR] 
/Users/chengpan/Projects/apache-zeppelin/zeppelin-zengine/src/main/java/org/apache/zeppelin/user/Encryptor.java:[26,38]
 package org.bouncycastle.util.encoders does not exist
   [ERROR] 
/Users/chengpan/Projects/apache-zeppelin/zeppelin-zengine/src/main/java/org/apache/zeppelin/user/Encryptor.java:[34,17]
 cannot find symbol
   [ERROR]   symbol:   class BufferedBlockCipher
   [ERROR]   location: class org.apache.zeppelin.user.Encryptor
   [ERROR] 
/Users/chengpan/Projects/apache-zeppelin/zeppelin-zengine/src/main/java/org/apache/zeppelin/user/Encryptor.java:[35,17]
 cannot find symbol
   [ERROR]   symbol:   class BufferedBlockCipher
   [ERROR]   location: class org.apache.zeppelin.user.Encryptor
   [ERROR] -> [Help 1]
   [ERROR]
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR]
   [ERROR] For more information about the errors and possible solutions, please 
read the following articles:
   [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
   [ERROR]
   [ERROR] After correcting the problems, you can resume the build with the 
command
   [ERROR]   mvn <args> -rf :zeppelin-zengine
   ```
   
   It works fine after upgrading.
   
   <img width="376" alt="image" 
src="https://user-images.githubusercontent.com/26535726/204860823-148b6b54-05bb-4b59-9727-5c695a8569c3.png";>
   
   
   ### What type of PR is it?
   
   Improvement(maybe)
   
   *Please leave your type of PR only*
   
   ### Todos
   * [ ] - Task
   
   ### What is the Jira issue?
   
   ZEPPELIN-5856
   
   ### How should this be tested?
   * Strongly recommended: add automated unit tests for any new or changed 
behavior
   * Outline any manual steps to test the PR here.
   
   ### Screenshots (if appropriate)
   
   
   ### Questions:
   * Does the licenses files need to update? Yes and updated.
   * Is there breaking changes for older versions? No.
   * Does this needs documentation? No.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to