CycloneDX / cyclonedx-gradle-plugin

Creates CycloneDX Software Bill of Materials (SBOM) from Gradle projects
https://cyclonedx.org/
Apache License 2.0
146 stars 72 forks source link

cyclonedx plugin download is failing. #456

Open iamrakesh-kumar opened 2 weeks ago

iamrakesh-kumar commented 2 weeks ago

15:37:09 FAILURE: Build failed with an exception. 15:37:09
15:37:09 * What went wrong: 15:37:09 A problem occurred configuring project ':app'. 15:37:09 > Could not resolve all files for configuration ':app:classpath'. 15:37:09 > Could not resolve org.cyclonedx:cyclonedx-gradle-plugin:1.6.1. 15:37:09 Required by: 15:37:09 project :app > org.cyclonedx.bom:org.cyclonedx.bom.gradle.plugin:1.6.1 15:37:09 > Could not resolve org.cyclonedx:cyclonedx-gradle-plugin:1.6.1. 15:37:09 > Could not get resource 'https://plugins.gradle.org/m2/org/cyclonedx/cyclonedx-gradle-plugin/1.6.1/cyclonedx-gradle-plugin-1.6.1.pom'. 15:37:09 > Could not GET 'https://plugins-artifacts.gradle.org/org.cyclonedx/cyclonedx-gradle-plugin/1.6.1/6e3ffd026be2b8d51ca69d04cc72e3738b6760f904463dbe28d871e14dd8b60c/cyclonedx-gradle-plugin-1.6.1.pom'. 15:37:09 > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 15:37:09

https://plugins.gradle.org/m2/org/cyclonedx/bom/org.cyclonedx.bom.gradle.plugin/1.6.1/org.cyclonedx.bom.gradle.plugin-1.6.1.jar -- Not found. pom files are downloading

https://plugins.gradle.org/m2/org/cyclonedx/cyclonedx-gradle-plugin/1.6.1/ -- URL should be pointed to this???

iamrakesh-kumar commented 2 weeks ago

https://plugins.gradle.org/m2/org/cyclonedx/cyclonedx-gradle-plugin/1.6.1/ -- pointing to this will not solve issue. ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.