Skip to content

[releng] Generate the application SBOM from the Maven reactor - #2617

Merged
AxelRICHARD merged 1 commit into
mainfrom
ari/rel/maven-sbom
Nov 13, 2026
Merged

AxelRICHARD merged 1 commit into
mainfrom
ari/rel/maven-sbom

Conversation

@AxelRICHARD

Copy link
Copy Markdown
Member

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

  • Have you reviewed this PR? Please do a first quick review, It is very useful to detect typos and missing copyrights, check comments, check your code... The reviewer will thank you for that :)

Project management

  • Has the pull request been added to the relevant milestone?
  • Have the priority: and pr: labels been added to the pull request? (In case of doubt, start with the labels priority: low and pr: to review later)
  • Have the relevant issues been added to the pull request?
  • Have the relevant labels been added to the issues? (area:, type:)
  • Have the relevant issues been added to the same project milestone as the pull request?

Changelog and release notes

  • Has the CHANGELOG.adoc + doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc been updated to reference the relevant issues?
  • Have the relevant API breaks been described in the CHANGELOG.adoc?
  • Are the new / upgraded dependencies mentioned in the relevant section of the CHANGELOG.adoc?
  • In case of a change with a visual impact, are there any screenshots in the doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc?
  • In case of a key change, has the change been added to Key highlights section in doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc?

Documentation

  • Have you included an update of the documentation in your pull request? Please ask yourself if an update (installation manual, user manual, developer manual...) is needed and add one accordingly.

Tests

  • Is the code properly tested? Any pull request (fix, enhancement or new feature) should come with a test (or several). It could be unit tests, integration tests or cypress tests depending on the context. Only doc and releng pull request do not need for tests.

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>
@AxelRICHARD AxelRICHARD added this to the 2026.12.0 milestone Nov 13, 2026
@AxelRICHARD AxelRICHARD added queue: in-review The PR is being reviewed, the PR author must not update the PR review-window: week 1 The PR is scheduled for review in the first week of the iteration labels Nov 13, 2026
@AxelRICHARD
AxelRICHARD merged commit 5b2835b into main Nov 13, 2026
13 checks passed
@AxelRICHARD
AxelRICHARD deleted the ari/rel/maven-sbom branch November 13, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

queue: in-review The PR is being reviewed, the PR author must not update the PR review-window: week 1 The PR is scheduled for review in the first week of the iteration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant