Skip to content

FELIX-6872 - Dependency Manager: tag every released bundle - #593

Merged
paulrutter merged 1 commit into
apache:masterfrom
paulrutter:FELIX-6872-tag-bundles
Nov 5, 2026
Merged

paulrutter merged 1 commit into
apache:masterfrom
paulrutter:FELIX-6872-tag-bundles

Conversation

@paulrutter

Copy link
Copy Markdown
Contributor

The release plugin makes a single tag for the whole reactor (dependencymanager-parent-x.y.z), so the 5.0.0 release has no tag per bundle, although the release notes say each bundle has its own tag and the earlier releases (e.g. org.apache.felix.dependencymanager-3.2.0) did.

While release:perform runs (performRelease=true), every bundle now also gets a tag <artifactId>-<version> on the release commit, which is pushed to origin. It uses exec-maven-plugin calling git tag and git push, bound to deploy and skipped otherwise, so normal builds and deploys are unchanged. Only the five released bundles reference the plugin, so the parent and the integration test modules are not tagged.

Tested in a scratch git repo with a bare remote: a plain deploy creates no tags, a deploy -DperformRelease=true tags and pushes the bundles and not the parent. I could not run a real release:perform. A rerun after a failed perform fails on the existing tag, so remove the tags first.

🤖 Generated with Claude Code

The release plugin only makes one tag for the whole reactor
(dependencymanager-parent-x.y.z). While performing a release, also tag each
released bundle as <artifactId>-<version> on the release commit and push the
tag, like the earlier releases did.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@paulrutter
paulrutter merged commit 7fffa89 into apache:master Nov 5, 2026
4 checks passed
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