Skip to content

Comments

flatten-bom#180

Merged
cstamas merged 2 commits intomainfrom
flatten-bom
Mar 19, 2025
Merged

flatten-bom#180
cstamas merged 2 commits intomainfrom
flatten-bom

Conversation

@cstamas
Copy link
Member

@cstamas cstamas commented Mar 18, 2025

A new mojo that helps you to maintain (and synchronize) with published (but bloated) BOMs.

mvn toolbox:flatten-bom -Dbom=g:a:v

And outputs flat BOM, that is in fact "effective BOM" with all conflicts (and recursion, most importantly) removed. The BOM being flattened must be resolvable (installed or deployed).

Optionally, you can specify -Dgav=g:a:v and output will be a BOM POM with provided coordinates.

Example invocation:
https://gist.github.com/cstamas/9fa43d43602e4fd9f28787e8f3cadd73

A new mojo that helps you to maintain (and synchronize) with
published (but bloated) BOMs.

mvn toolbox:flatten-bom -Dbom=g:a:v

And outputs flat BOM.

Optionally, you can specify -Dgav=g:a:v and output a BOM POM
with provided coordinates.
@cstamas cstamas self-assigned this Mar 18, 2025
@cstamas cstamas merged commit 5b0e5a3 into main Mar 19, 2025
23 checks passed
@cstamas cstamas deleted the flatten-bom branch March 19, 2025 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant