Workaround for CycloneDX is causing POM build errors#13867
Workaround for CycloneDX is causing POM build errors#13867paul-rogers merged 1 commit intoapache:masterfrom
Conversation
paul-rogers
left a comment
There was a problem hiding this comment.
This is a short-term fix. Perhaps we're using a botched build of CycloneDX. Perhaps the person who added CycloneDX can sort out what went wrong.
|
@imply-elliott I tried to build Druid but could not get this error message can you show the plugin execution output that contains what you're getting, please? And once reproduced with your current build that uses cyclonedx-maven-plugin 2.7.3, please also test with latest 2.7.5 and report |
@hboutemy These errors were showing up sporadically in the builds. It's unclear why, as a private build was experiencing the issue much more frequently. It took some digging to find one, but if you expand the Annoyingly, they're not causing the build to end in a failure as somehow it doesn't exit non-zero. I have now tested bumping to 2.7.5 and it does seem to resolve the issue locally as well as in the pipeline, so I have a PR waiting for tests to complete now: #13878 |
|
thanks for the pointer, I now see I confirm this code has been fully rewritten in CycloneDX Maven Plugin 2.7.4, then it's not a surprise you don't see the issue any more when upgrading: #13878 is definitively the way to go an additional move would also be to use |
Description
Fixes CycloneDX POM errors like this
error [ERROR] An error occurred attempting to read POM