Skip to content

[ci] Update sample projects for regression tester #3635

@adangel

Description

@adangel

It seems, we are finally hit by https://blog.gradle.org/jcenter-shutdown

E.g. the last build here: https://github.com/pmd/pmd/runs/4228503181?check_suite_focus=true#step:7:8163
failed with

A problem occurred configuring root project 'spring'.
  > Could not resolve all files for configuration ':classpath'.
     > Could not find batik-transcoder.jar (org.apache.xmlgraphics:batik-transcoder:1.7).
       Searched in the following locations:
           https://plugins.gradle.org/m2/org/apache/xmlgraphics/batik-transcoder/1.7/batik-transcoder-1.7.jar
     > Could not find batik-script.jar (org.apache.xmlgraphics:batik-script:1.7).
       Searched in the following locations:
           https://plugins.gradle.org/m2/org/apache/xmlgraphics/batik-script/1.7/batik-script-1.7.jar
     > Could not find batik-anim.jar (org.apache.xmlgraphics:batik-anim:1.7).
       Searched in the following locations:
           https://plugins.gradle.org/m2/org/apache/xmlgraphics/batik-anim/1.7/batik-anim-1.7.jar
     > Could not find avalon-framework-impl.jar (org.apache.avalon.framework:avalon-framework-impl:4.3.1).
       Searched in the following locations:
           https://plugins.gradle.org/m2/org/apache/avalon/framework/avalon-framework-impl/4.3.1/avalon-framework-impl-4.3.1.jar
     > Could not find batik-parser.jar (org.apache.xmlgraphics:batik-parser:1.7).
       Searched in the following locations:
           https://plugins.gradle.org/m2/org/apache/xmlgraphics/batik-parser/1.7/batik-parser-1.7.jar
     > Could not find batik-util.jar (org.apache.xmlgraphics:batik-util:1.7).
       Searched in the following locations:
           https://plugins.gradle.org/m2/org/apache/xmlgraphics/batik-util/1.7/batik-util-1.7.jar
     > Could not find docbook-xml-xsd-resources.zip (net.sf.docbook:docbook-xml:5.0).
       Searched in the following locations:
           https://plugins.gradle.org/m2/net/sf/docbook/docbook-xml/5.0/docbook-xml-5.0-xsd-resources.zip
     > Could not find xslthl.jar (net.sf.xslthl:xslthl:2.0.1).
       Searched in the following locations:
           https://plugins.gradle.org/m2/net/sf/xslthl/xslthl/2.0.1/xslthl-2.0.1.jar
     > Could not find batik-ext.jar (org.apache.xmlgraphics:batik-ext:1.7).
       Searched in the following locations:
           https://plugins.gradle.org/m2/org/apache/xmlgraphics/batik-ext/1.7/batik-ext-1.7.jar
     > Could not find kotlin-compiler-runner.jar (org.jetbrains.kotlin:kotlin-compiler-runner:1.2.41).
       Searched in the following locations:
           https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-compiler-runner/1.2.41/kotlin-compiler-runner-1.2.41.jar

According to this information here : tbroyer/gradle-errorprone-plugin-v0.0.x#11 (comment)

... plugins.gradle.org, and they automatically redirect to JCenter when they don't host it themselves

Basically that means, that the spring version we use for regression testing can't be build anymore without a time machine.

Currently we use these versions of spring and checkstyle: https://github.com/pmd/pmd/blob/master/.ci/files/project-list.xml

  • checkstyle 8.10
  • spring-framework v5.0.6.RELEASE

While the problem only occurs with spring-framework, it makes sense to update both projects.

The latest versions are:

Note: this probably also affects integration tests in https://github.com/pmd/pmd-regression-tester

Metadata

Metadata

Assignees

Labels

an:enhancementAn improvement on existing features / rulesin:pmd-internalsAffects PMD's internals

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions