Skip to content

Pin the rar goal binding to the plugin's own version - #183

Merged
slachiewicz merged 1 commit into
masterfrom
agent/pin-rar-goal-version
Oct 3, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/pin-rar-goal-version

Conversation

@slachiewicz

@slachiewicz slachiewicz commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

A project that loads the plugin through <build><extensions> gets no POM <plugin> entry, so the version-less maven-rar-plugin:rar binding resolved the latest release from repository metadata instead of the loaded extension: with 3.1.1-SNAPSHOT loaded, the build ran maven-rar-plugin:3.1.0:rar. The binding now takes the plugin's own version from its pom.properties. Same fix as apache/maven-acr-plugin#157.

Verified: mvn -Prun-its verify -Dinvoker.mavenHome=… → all five ITs, including the new build-extension, pass on Maven 3.6.3, 3.9.16 and 4.0.0-rc-6; build-extension fails without the fix.


To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
check one of the following:

A version-less binding makes <build><extensions> users run whatever
version repository metadata resolves; the build-extension IT covers it.
@slachiewicz slachiewicz added the bug Something isn't working label Oct 3, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review October 3, 2026 20:03
@slachiewicz
slachiewicz merged commit 45b4a98 into master Oct 3, 2026
22 checks passed
@slachiewicz
slachiewicz deleted the agent/pin-rar-goal-version branch October 3, 2026 20:04
@github-actions github-actions Bot added this to the 3.1.1 milestone Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant