0

Suddenly I started seeing this error when running a maven project on Jenkins

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project my-project: 

Execution default-compile of goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile failed: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.8.0 or one of its dependencies could not be resolved: 

Failed to collect dependencies at org.apache.maven.plugins:maven-compiler-plugin:jar:3.8.0 -> org.codehaus.groovy:groovy-eclipse-compiler:pom:3.0.0-01: Failed to read artifact descriptor for org.codehaus.groovy:groovy-eclipse-compiler:pom:3.0.0-01: 

Could not transfer artifact org.codehaus.groovy:groovy-eclipse-compiler:pom:3.0.0-01 from/to bintray (https://dl.bintray.com/groovy/maven): 

Authorization failed for https://dl.bintray.com/groovy/maven/org/codehaus/groovy/groovy-eclipse-compiler/3.0.0-01/groovy-eclipse-compiler-3.0.0-01.pom 403 Forbidden -> [Help 1]

Any idea what might be the issue?

CuriousGuy
  • 1,545
  • 3
  • 20
  • 42
  • Has the POM changed since the last successful run? Has somebody changed something in _Manage Jenkins_: _Global Tools_ config, `settings.xml` or the like? – Gerold Broser Aug 23 '21 at 16:57
  • 2
    The downloads from `..bintray.com´ will not work anymore because they have closed the doors... First check your settings which source for download you are using ...if it's not configured there check the pom file and remove the entries with repositories.... from there...recheck.. – khmarbaise Aug 23 '21 at 18:45

1 Answers1

1

org.codehaus.groovy:groovy-eclipse-compiler is available on Maven Central which is also recommended on its home page:

Current version of the groovy-eclipse-compiler adapter: maven-centralv3.7.0

Gerold Broser
  • 14,080
  • 5
  • 48
  • 107