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

Dependency graph not working

Open 2013kaa opened this issue 2 years ago • 4 comments

Hi, my bom.json does not contain the "dependsON" attribute. I'm using cyclonDx as a gradle plugin. The complete command looks like this: ./gradlew --no-daemon --init-script cyclondx_init.gradle cyclonedxBom -info

cyclondx_init.gradle is an init script that adds the com.cyclonedx:cyclonedx-gradle-plugin:1.7.2 plugin to gradle

Tell me what could be the problem?

2013kaa avatar Oct 21 '22 11:10 2013kaa

Could you share a sample project and the output?

glefloch avatar Oct 21 '22 11:10 glefloch

@glefloch I understood what was my mistake (I got confused in the project branches). But now there is a slightly different problem, I added the gradle plugin version 1.7.2 and I get an error:

Could not resolve all artifacts for configuration ':classpath'. > Could not find com.cyclonedx:cyclonedx-gradle-plugin:1.7.2. Searched in the following locations: - https://repo.maven.apache.org/maven2/com/cyclonedx/cyclonedx-gradle-plugin/1.7.2/cyclonedx-gradle-plugin-1.7.2.pom - https://plugins.gradle.org/m2/com/cyclonedx/cyclonedx-gradle-plugin/1.7.2/cyclonedx-gradle-plugin-1.7.2.pom

Indeed, there is no such version in the repository. image Tell me how to be?

2013kaa avatar Oct 21 '22 13:10 2013kaa

I believe all the com.cyclonedx was published in error and that org.cyclonedx is now correctly used.

stevespringett avatar Oct 22 '22 01:10 stevespringett

It seems like they solved the issue and added it. Thank you!

2013kaa avatar Oct 27 '22 07:10 2013kaa