cyclonedx-gradle-plugin icon indicating copy to clipboard operation
cyclonedx-gradle-plugin copied to clipboard

cyclonedx plugin download is failing.

Open iamrakesh-kumar opened this issue 1 year ago • 1 comments

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 avatar Jun 19 '24 06:06 iamrakesh-kumar

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.

iamrakesh-kumar avatar Jun 19 '24 10:06 iamrakesh-kumar

This exception is thrown by the underlying JVM, not CycloneDX plugin or Gradle. It can be related to your network environment (like proxy, VPN). You can see here how to debug your SSL connection: https://docs.oracle.com/javase/8/docs/technotes/guides/security/jsse/ReadDebug.html

skhokhlov avatar Jul 22 '24 22:07 skhokhlov

yes, Got resolved thanks.

iamrakesh-kumar avatar Jul 23 '24 05:07 iamrakesh-kumar

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Aug 25 '24 05:08 github-actions[bot]