Repository navigation
[releng] Generate the application SBOM from the Maven reactor - #2617
Merged
Merged
Conversation
Starting Maven from backend/application excludes sibling backend modules from the reactor. This makes SBOM generation resolve those modules from published repositories, which fails when syson-starter references the syson-details-view module introduced after the 2026.11.0 release. Load the repository root reactor and select syson-application together with its required modules using -pl and -am. Use makeBom so the uploaded SBOM describes the application and its transitive dependencies instead of the application parent aggregate. Mark its component type as application. Upgrade CycloneDX from 2.7.8 to 2.9.3 to avoid the older plugin's extra dependency collection before generation. The workflow can read the current reactor POMs without compiling, testing or installing the backend. Keep the existing version extraction, manual trigger and Eclipse upload, using target/bom.json under the application module. Signed-off-by: Axel RICHARD <axel.richard@obeo.fr>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Starting Maven from backend/application excludes sibling backend modules from the reactor. This makes SBOM generation resolve those modules from published repositories, which fails when syson-starter references the syson-details-view module introduced after the 2026.11.0 release.
Load the repository root reactor and select syson-application together with its required modules using -pl and -am. Use makeBom so the uploaded SBOM describes the application and its transitive dependencies instead of
the application parent aggregate. Mark its component type as application.
Upgrade CycloneDX from 2.7.8 to 2.9.3 to avoid the older plugin's extra dependency collection before generation. The workflow can read the current reactor POMs without compiling, testing or installing the backend.
Keep the existing version extraction, manual trigger and Eclipse upload, using target/bom.json under the application module.
PLEASE READ ALL ITEMS AND CHECK ONLY RELEVANT CHECKBOXES BELOW
Auto review
Project management
priority:andpr:labels been added to the pull request? (In case of doubt, start with the labelspriority: lowandpr: to review later)area:,type:)Changelog and release notes
CHANGELOG.adoc+doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adocbeen updated to reference the relevant issues?CHANGELOG.adoc?CHANGELOG.adoc?doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc?Key highlightssection indoc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc?Documentation
Tests