Skip to content

maven: Drop the maven-mapping dependency - #7502

Merged
chrisrueger merged 1 commit into
bndtools:masterfrom
slachiewicz:drop-maven-mapping
Oct 27, 2026
Merged

chrisrueger merged 1 commit into
bndtools:masterfrom
slachiewicz:drop-maven-mapping

Conversation

@slachiewicz

@slachiewicz slachiewicz commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Drops org.apache.maven.shared:maven-mapping. bnd-maven-plugin used it once, to name WAB libraries with its fixed default pattern @{artifactId}@-@{baseVersion}@.@{extension}@; that name is now formatted directly, so the generated -wablib entries do not change. bnd-reporter-maven-plugin declared the dependency without using it.

maven-war-plugin and maven-ear-plugin made the same simplification (apache/maven-war-plugin#670, apache/maven-ear-plugin#578).

The WAB library names only used the fixed default mapping, artifactId-baseVersion.extension, so they are formatted directly.

Signed-off-by: Sylwester Lachiewicz <slachiewicz@apache.org>
@chrisrueger

Copy link
Copy Markdown
Contributor

Thanks @slachiewicz for the PR.

Do I interpret this correctly, that you are mainly dropping a mostly unused dependency?
Do you see any backwards compatibility problems?

I don't see it, build seems fine so far. Just clarifying mainly.

@slachiewicz

Copy link
Copy Markdown
Contributor Author

I'm planning to retire it as it was used mainly in 2 plugins. For this project this is all what my agent discovered as replacement.

@chrisrueger
chrisrueger merged commit 2a5364b into bndtools:master Oct 27, 2026
13 checks passed
peterkir pushed a commit that referenced this pull request Nov 8, 2026
maven: Drop the maven-mapping dependency
@slachiewicz
slachiewicz deleted the drop-maven-mapping branch November 9, 2026 15:27
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.

2 participants