Skip to content

Add dependencies in sub-bundle pom.xml - #6726

Merged
chrisrueger merged 1 commit into
bndtools:masterfrom
chrisrueger:fix-subbundle-pomxml
Jul 30, 2025
Merged

chrisrueger merged 1 commit into
bndtools:masterfrom
chrisrueger:fix-subbundle-pomxml

Conversation

@chrisrueger

@chrisrueger chrisrueger commented Jul 30, 2025 •

Copy link
Copy Markdown
Contributor

Closes #6725

Scenario:

  • -pom:true in /cnf/build.bnd
image

Sub-Bundle .bnd file:

image

Before this fix

  • pom.xml of a sub-bundle
image

After this PR

  • pom.xml of a sub-bundle
image

Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
@chrisrueger
chrisrueger force-pushed the fix-subbundle-pomxml branch from 94e1a3f to 96539ab Compare July 30, 2025 12:38
@chrisrueger

Copy link
Copy Markdown
Contributor Author

Note: I discovered an effect of #2851 which always removes the existing META-INF/maven folders from the jar before putting the generated pom.xml in case of -pom: true

Something to keep in mind. I stumbeled over this behavior.

@chrisrueger
chrisrueger merged commit 2abe5d0 into bndtools:master Jul 30, 2025
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.

Sub-bundle pom.xml does not contain dependencies with -pom: true

1 participant