Comments (5)
I solved this issue on my computer.
We have to specify the groupid and version in the Android project. We should add the following statements in the build.gradle.kts
file.
group = "com.yourgroup"
version = "1.0.0"
from cyclonedx-gradle-plugin.
Same issue.
I see in the stacktrace : "Caused by: org.cyclonedx.exception.ParseException: $.dependencies[0].ref: null ...."
In the file generated, I indeed have :
"dependencies" : [
{
"ref" : null,
I think it is related to the root project.
I have tried to skip it from teh configuration : no success.
from cyclonedx-gradle-plugin.
Same...
from cyclonedx-gradle-plugin.
Same issue.
The snippet of bom.json is as below.
"dependencies" : [
{
"ref" : null,
"dependsOn" : [
And the error output is as below.
Execution failed for task ':cyclonedxBom'.
> The BOM does not conform to the CycloneDX BOM standard
$.dependencies[0].ref: null found, string expected
from cyclonedx-gradle-plugin.
setting group and version resolves the issue for me.
from cyclonedx-gradle-plugin.
Related Issues (20)
- Gradle 8.4: org.xml.sax.SAXNotRecognizedException: Property 'http://javax.xml.XMLConstants/property/accessExternalSchema' is not recognized. HOT 5
- Version 1.8.0 and compatibility with java8 HOT 1
- Hello, I have encountered such an error, I do not know how to solve it HOT 3
- Plugin version 1.8.0 referencing version 1.7.4 in output HOT 1
- Version 1.8.0 doesn't actually produce SBOMs with 1.5 schema version HOT 1
- I made an error building the BOM table for multiple projects by using the --init-script option. I don't know what happened HOT 3
- Gradle configurations not being merged, resulting bom is made by a single random configuration
- I generated the SBOM error through init.gradle. Do you need to make any configuration changes? The error and configuration are as follows.
- Latest version 1.8.1 is not compatible with gradle 7.5.1. HOT 1
- Regex support for skipped and included configurations
- Capture Input Task Names and Extra Build Arguments in BOM
- Publish BOM files to Artifact repository with JAR file, like Maven plugin HOT 2
- Dependencies list is empty for :app module in Android project. HOT 1
- Cyclonedx version 1.7.3 causes "No signature of method: org.apache.maven.model.profile.activation.FileProfileActivator.setPathTranslator() is applicable for argument types: (org.apache.maven.model.path.DefaultPathTranslator) "
- Should default config include test scope? HOT 1
- buildEnvironment missing?
- ProjectDependency are missing from the components section of the BOM HOT 2
- Make this plugin work in another project
- XmlPullParserException when using with io.gatling.gradle:3.11.2 plugin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cyclonedx-gradle-plugin.