rackerlabs / gradle-jaxb-plugin

Gradle plugin to ease projects that use xsds and the ant jaxb task
GNU General Public License v2.0
34 stars 21 forks source link

Get rid of jcenter() repo #53

Open LiashenkoVitalii opened 2 years ago

LiashenkoVitalii commented 2 years ago

Currently, JCenter is not supported and it causes error on project build like:

[2021-11-09T12:11:23.064Z] > Could not resolve all artifacts for configuration ':hedge-fund-importer:classpath'.
[2021-11-09T12:11:23.064Z]    > Could not resolve org.codehaus.groovy:groovy-all:2.4.12.
[2021-11-09T12:11:23.064Z]      Required by:
[2021-11-09T12:11:23.064Z]          project :hedge-fund-importer > org.openrepose.gradle.plugins.jaxb:org.openrepose.gradle.plugins.jaxb.gradle.plugin:2.5.0 > gradle.plugin.org.openrepose:gradle-jaxb-plugin:2.5.0
[2021-11-09T12:11:23.064Z]       > Could not resolve org.codehaus.groovy:groovy-all:2.4.12.
[2021-11-09T12:11:23.064Z]          > Could not get resource 'https://plugins.gradle.org/m2/org/codehaus/groovy/groovy-all/2.4.12/groovy-all-2.4.12.pom'.
[2021-11-09T12:11:23.064Z]             > Could not GET 'https://jcenter.bintray.com/org/codehaus/groovy/groovy-all/2.4.12/groovy-all-2.4.12.pom'.
[2021-11-09T12:11:23.064Z]                > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
[2021-11-09T12:11:23.064Z]    > Could not resolve org.slf4j:slf4j-api:1.7.6.
[2021-11-09T12:11:23.064Z]      Required by:
[2021-11-09T12:11:23.064Z]          project :hedge-fund-importer > org.openrepose.gradle.plugins.jaxb:org.openrepose.gradle.plugins.jaxb.gradle.plugin:2.5.0 > gradle.plugin.org.openrepose:gradle-jaxb-plugin:2.5.0
[2021-11-09T12:11:23.064Z]       > Could not resolve org.slf4j:slf4j-api:1.7.6.
[2021-11-09T12:11:23.064Z]          > Could not get resource 'https://plugins.gradle.org/m2/org/slf4j/slf4j-api/1.7.6/slf4j-api-1.7.6.pom'.
[2021-11-09T12:11:23.064Z]             > Could not GET 'https://jcenter.bintray.com/org/slf4j/slf4j-api/1.7.6/slf4j-api-1.7.6.pom'.
[2021-11-09T12:11:23.064Z]                > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
[2021-11-09T12:11:23.064Z]    > Could not resolve com.google.inject:guice:3.0.
[2021-11-09T12:11:23.064Z]      Required by:
[2021-11-09T12:11:23.064Z]          project :hedge-fund-importer > org.openrepose.gradle.plugins.jaxb:org.openrepose.gradle.plugins.jaxb.gradle.plugin:2.5.0 > gradle.plugin.org.openrepose:gradle-jaxb-plugin:2.5.0
[2021-11-09T12:11:23.064Z]       > Could not resolve com.google.inject:guice:3.0.
[2021-11-09T12:11:23.064Z]          > Could not get resource 'https://plugins.gradle.org/m2/com/google/inject/guice/3.0/guice-3.0.pom'.
[2021-11-09T12:11:23.064Z]             > Could not GET 'https://jcenter.bintray.com/com/google/inject/guice/3.0/guice-3.0.pom'.
[2021-11-09T12:11:23.064Z]                > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
[2021-11-09T12:11:23.064Z]    > Could not resolve com.google.inject.extensions:guice-assistedinject:3.0.
[2021-11-09T12:11:23.064Z]      Required by:
[2021-11-09T12:11:23.064Z]          project :hedge-fund-importer > org.openrepose.gradle.plugins.jaxb:org.openrepose.gradle.plugins.jaxb.gradle.plugin:2.5.0 > gradle.plugin.org.openrepose:gradle-jaxb-plugin:2.5.0
[2021-11-09T12:11:23.064Z]       > Could not resolve com.google.inject.extensions:guice-assistedinject:3.0.
[2021-11-09T12:11:23.064Z]          > Could not get resource 'https://plugins.gradle.org/m2/com/google/inject/extensions/guice-assistedinject/3.0/guice-assistedinject-3.0.pom'.
[2021-11-09T12:11:23.064Z]             > Could not GET 'https://jcenter.bintray.com/com/google/inject/extensions/guice-assistedinject/3.0/guice-assistedinject-3.0.pom'.
[2021-11-09T12:11:23.064Z]                > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed

Also, Gradle 7.0 will also deprecate the use of jcenter() to resolve dependencies. Please, update this plugin.