-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
None
-
None
In the release 5.0.0 of the keycloak-metrics-spi repository the gradle build is failing. The following error is thrown:
* What went wrong: Execution failed for task ':compileJava'. > Could not resolve all files for configuration ':compileClasspath'. > Could not download keycloak-server-spi-private-23.0.3.jar (org.keycloak:keycloak-server-spi-private:23.0.3) > Could not get resource 'https://jcenter.bintray.com/org/keycloak/keycloak-server-spi-private/23.0.3/keycloak-server-spi-private-23.0.3.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/org/keycloak/keycloak-server-spi-private/23.0.3/keycloak-server-spi-private-23.0.3.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download keycloak-server-spi-23.0.3.jar (org.keycloak:keycloak-server-spi:23.0.3) > Could not get resource 'https://jcenter.bintray.com/org/keycloak/keycloak-server-spi/23.0.3/keycloak-server-spi-23.0.3.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/org/keycloak/keycloak-server-spi/23.0.3/keycloak-server-spi-23.0.3.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download keycloak-services-23.0.3.jar (org.keycloak:keycloak-services:23.0.3) > Could not get resource 'https://jcenter.bintray.com/org/keycloak/keycloak-services/23.0.3/keycloak-services-23.0.3.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/org/keycloak/keycloak-services/23.0.3/keycloak-services-23.0.3.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download keycloak-core-23.0.3.jar (org.keycloak:keycloak-core:23.0.3) > Could not get resource 'https://jcenter.bintray.com/org/keycloak/keycloak-core/23.0.3/keycloak-core-23.0.3.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/org/keycloak/keycloak-core/23.0.3/keycloak-core-23.0.3.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download resteasy-multipart-provider-6.2.4.Final.jar (org.jboss.resteasy:resteasy-multipart-provider:6.2.4.Final) > Could not get resource 'https://jcenter.bintray.com/org/jboss/resteasy/resteasy-multipart-provider/6.2.4.Final/resteasy-multipart-provider-6.2.4.Final.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/org/jboss/resteasy/resteasy-multipart-provider/6.2.4.Final/resteasy-multipart-provider-6.2.4.Final.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download keycloak-common-23.0.3.jar (org.keycloak:keycloak-common:23.0.3) > Could not get resource 'https://jcenter.bintray.com/org/keycloak/keycloak-common/23.0.3/keycloak-common-23.0.3.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/org/keycloak/keycloak-common/23.0.3/keycloak-common-23.0.3.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download resteasy-core-6.2.4.Final.jar (org.jboss.resteasy:resteasy-core:6.2.4.Final) > Could not get resource 'https://jcenter.bintray.com/org/jboss/resteasy/resteasy-core/6.2.4.Final/resteasy-core-6.2.4.Final.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/org/jboss/resteasy/resteasy-core/6.2.4.Final/resteasy-core-6.2.4.Final.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download resteasy-core-spi-6.2.4.Final.jar (org.jboss.resteasy:resteasy-core-spi:6.2.4.Final) > Could not get resource 'https://jcenter.bintray.com/org/jboss/resteasy/resteasy-core-spi/6.2.4.Final/resteasy-core-spi-6.2.4.Final.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/org/jboss/resteasy/resteasy-core-spi/6.2.4.Final/resteasy-core-spi-6.2.4.Final.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download resteasy-jaxb-provider-6.2.4.Final.jar (org.jboss.resteasy:resteasy-jaxb-provider:6.2.4.Final) > Could not get resource 'https://jcenter.bintray.com/org/jboss/resteasy/resteasy-jaxb-provider/6.2.4.Final/resteasy-jaxb-provider-6.2.4.Final.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/org/jboss/resteasy/resteasy-jaxb-provider/6.2.4.Final/resteasy-jaxb-provider-6.2.4.Final.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download jboss-logging-3.5.1.Final.jar (org.jboss.logging:jboss-logging:3.5.1.Final) > Could not get resource 'https://jcenter.bintray.com/org/jboss/logging/jboss-logging/3.5.1.Final/jboss-logging-3.5.1.Final.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/org/jboss/logging/jboss-logging/3.5.1.Final/jboss-logging-3.5.1.Final.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download owasp-java-html-sanitizer-20220608.1.jar (com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:20220608.1) > Could not get resource 'https://jcenter.bintray.com/com/googlecode/owasp-java-html-sanitizer/owasp-java-html-sanitizer/20220608.1/owasp-java-html-sanitizer-20220608.1.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/com/googlecode/owasp-java-html-sanitizer/owasp-java-html-sanitizer/20220608.1/owasp-java-html-sanitizer-20220608.1.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download smallrye-common-annotation-2.1.0.jar (io.smallrye.common:smallrye-common-annotation:2.1.0) > Could not get resource 'https://jcenter.bintray.com/io/smallrye/common/smallrye-common-annotation/2.1.0/smallrye-common-annotation-2.1.0.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/io/smallrye/common/smallrye-common-annotation/2.1.0/smallrye-common-annotation-2.1.0.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download guava-30.1-jre.jar (com.google.guava:guava:30.1-jre) > Could not get resource 'https://jcenter.bintray.com/com/google/guava/guava/30.1-jre/guava-30.1-jre.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/com/google/guava/guava/30.1-jre/guava-30.1-jre.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download jakarta.xml.bind-api-3.0.1.jar (jakarta.xml.bind:jakarta.xml.bind-api:3.0.1) > Could not get resource 'https://jcenter.bintray.com/jakarta/xml/bind/jakarta.xml.bind-api/3.0.1/jakarta.xml.bind-api-3.0.1.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/jakarta/xml/bind/jakarta.xml.bind-api/3.0.1/jakarta.xml.bind-api-3.0.1.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download codemodel-4.0.2.jar (org.glassfish.jaxb:codemodel:4.0.2) > Could not get resource 'https://jcenter.bintray.com/org/glassfish/jaxb/codemodel/4.0.2/codemodel-4.0.2.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/org/glassfish/jaxb/codemodel/4.0.2/codemodel-4.0.2.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download jaxb-core-4.0.2.jar (org.glassfish.jaxb:jaxb-core:4.0.2) > Could not get resource 'https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-core/4.0.2/jaxb-core-4.0.2.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/org/glassfish/jaxb/jaxb-core/4.0.2/jaxb-core-4.0.2.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download jaxb-jxc-4.0.2.jar (org.glassfish.jaxb:jaxb-jxc:4.0.2) > Could not get resource 'https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-jxc/4.0.2/jaxb-jxc-4.0.2.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/org/glassfish/jaxb/jaxb-jxc/4.0.2/jaxb-jxc-4.0.2.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download jaxb-runtime-4.0.2.jar (org.glassfish.jaxb:jaxb-runtime:4.0.2) > Could not get resource 'https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-runtime/4.0.2/jaxb-runtime-4.0.2.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/org/glassfish/jaxb/jaxb-runtime/4.0.2/jaxb-runtime-4.0.2.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download txw2-4.0.2.jar (org.glassfish.jaxb:txw2:4.0.2) > Could not get resource 'https://jcenter.bintray.com/org/glassfish/jaxb/txw2/4.0.2/txw2-4.0.2.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/org/glassfish/jaxb/txw2/4.0.2/txw2-4.0.2.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download jaxb-xjc-4.0.2.jar (org.glassfish.jaxb:jaxb-xjc:4.0.2) > Could not get resource 'https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-xjc/4.0.2/jaxb-xjc-4.0.2.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/org/glassfish/jaxb/jaxb-xjc/4.0.2/jaxb-xjc-4.0.2.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download xsom-4.0.2.jar (org.glassfish.jaxb:xsom:4.0.2) > Could not get resource 'https://jcenter.bintray.com/org/glassfish/jaxb/xsom/4.0.2/xsom-4.0.2.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/org/glassfish/jaxb/xsom/4.0.2/xsom-4.0.2.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download relaxng-datatype-4.0.2.jar (com.sun.xml.bind.external:relaxng-datatype:4.0.2) > Could not get resource 'https://jcenter.bintray.com/com/sun/xml/bind/external/relaxng-datatype/4.0.2/relaxng-datatype-4.0.2.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/com/sun/xml/bind/external/relaxng-datatype/4.0.2/relaxng-datatype-4.0.2.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download rngom-4.0.2.jar (com.sun.xml.bind.external:rngom:4.0.2) > Could not get resource 'https://jcenter.bintray.com/com/sun/xml/bind/external/rngom/4.0.2/rngom-4.0.2.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/com/sun/xml/bind/external/rngom/4.0.2/rngom-4.0.2.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download checker-qual-3.5.0.jar (org.checkerframework:checker-qual:3.5.0) > Could not get resource 'https://jcenter.bintray.com/org/checkerframework/checker-qual/3.5.0/checker-qual-3.5.0.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/org/checkerframework/checker-qual/3.5.0/checker-qual-3.5.0.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not download error_prone_annotations-2.3.4.jar (com.google.errorprone:error_prone_annotations:2.3.4) > Could not get resource 'https://jcenter.bintray.com/com/google/errorprone/error_prone_annotations/2.3.4/error_prone_annotations-2.3.4.jar'. > Could not HEAD 'https://repo1.maven.org/maven2/com/google/errorprone/error_prone_annotations/2.3.4/error_prone_annotations-2.3.4.jar'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Despite this error being resolved in version 6.0.0, the gradle build should be working on version 5.0.0 because this version is released for keycloak version 22.