I tried to build my package with NiFi custom-processor using mvn clean package
command and I got the following output:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.794 s
[INFO] Finished at: 2021-05-17T14:33:42+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile
(groovy-tests) on project mycustom-processor: Execution groovy-tests of goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile failed:
Plugin org.apache.maven.plugins:maven-compiler-plugin:3.8.1 or one of its dependencies
could not be resolved: Failed to collect dependencies at
org.apache.maven.plugins:maven-compiler-plugin:jar:3.8.1
-> org.codehaus.groovy:groovy-eclipse-batch:jar:2.5.4-01: Failed to read artifact descriptor for
org.codehaus.groovy:groovy-eclipse-batch:jar:2.5.4-01: Could not transfer artifact
org.codehaus.groovy:groovy-eclipse-batch:pom:2.5.4-01 from/to bintray
(https://dl.bintray.com/groovy/maven):
Access denied to: https://dl.bintray.com/groovy/maven/org/codehaus/groovy/groovy-eclipse-batch/2.5.4-01/groovy-eclipse-batch-2.5.4-01.pom,
ReasonPhrase: Forbidden. -> [Help 1]
[ERROR]
Does anybody know how to handle this issue related to the maven-compiler-plugin:3.8.1:testCompile, please ?
I use Apache NiFi version 1.13.2 and mvn install -DskipTests
does not change anything.