Update CycloneDX Maven plugin version to 2.9.0#1198
Update CycloneDX Maven plugin version to 2.9.0#1198o-liver wants to merge 1 commit intoSAP:masterfrom
Conversation
The older version is not java 21 compatible
|
@kbarnold Would you be so nice and review/merge this fix and then release a new image on docker hub? |
|
The thing is that this issue existed before the last release. If you look at git blame this was introduced with a lower version than the non-custom case 11 months ago. I don't know the reason for that? Why was it not simply copied from the non-custom case 10 lines above? Maybe there is a reason and we should not change it 🤔 |
|
In any case, for all custom build users there is a workaround (according to AI, did not test it myself!) by setting the modules:
- name: your-module
type: java
build-parameters:
builder: custom
sbom-create-commands:
- mvn org.cyclonedx:cyclonedx-maven-plugin:2.9.0:makeAggregateBom -DschemaVersion=1.4 -DincludeBomSerialNumber=true -DincludeCompileScope=true -DincludeRuntimeScope=true -DincludeSystemScope=true -DincludeTestScope=false -DincludeLicenseText=false -DoutputFormat=xml -DoutputName=${sbom-file-name}It would be great if people could test this and report back here if it works for them. That would also give us a heads-up whether this solution works at all. |
Ok, now I got it: This was never released. It comes from this huge PR #1154 that was never released and thus never field tested. Who knows what else went into the master and then just lay about before this release more than one year later 😦 |
I know the answer here: yes, it was introduced 11 month ago, but latest build until the recent fix that got released was more than 1 year ago in November or so 2024 |
|
Are we going to merge the fix or not? If so, what's stopping us from merging it soon? |
|
It needs an approval from a person with the right authority. |
|
I hope Ken picks it up soon 🙇 |
I want to have this in the next release. |
Description
The older version is not java 21 compatible. We see the following error:
Checklist