问题一、> Failed to apply plugin [id 'com.cinnober.gradle.semver-git']
Solution:
Install git
yum -y install git
Question two,
> Task :az-crypto:test
azkaban.crypto.DecryptionTest > testV1_1 FAILED
java.lang.RuntimeException: java.lang.RuntimeException: org.jasypt.exceptions.EncryptionOperationNotPossibleException: Encryption raised an exception. A possible cause is you are using strong encryption algorithms and you have not installed the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files in this Java Virtual Machine
at azkaban.crypto.Crypto.decrypt(Crypto.java:76)
at azkaban.crypto.DecryptionTest.testV1_1(DecryptionTest.java:35)
Solution:
Download the official JCE unlimited strength encryption policy file and overwrite it
One-click installation script
# yum -y curl unzip
curl -q -L -C - -b "oraclelicense=accept-securebackup-cookie" -o /tmp/jce_policy-8.zip \
-O http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip \
&& unzip -oj -d ${JAVA_HOME}/jre/lib/security /tmp/jce_policy-8.zip \*/\*.jar \
&& rm /tmp/jce_policy-8.zip
Question three
FAILURE: Build failed with an exception.
* What went wrong:
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)
Solution:
There is a paragraph in the official document after gradle 3.0:
gradlew
Add the --no-daemon
(close daemon) parameter at the back
./gradlew --no-daemon build