Skip to content

Declare the maven-plugin-tools version locally - #589

Merged
slachiewicz merged 1 commit into
masterfrom
local-plugin-tools-version
Aug 18, 2026
Merged

Declare the maven-plugin-tools version locally#589
slachiewicz merged 1 commit into
masterfrom
local-plugin-tools-version

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

modello-maven-plugin versions its maven-plugin-annotations dependency with the parent's mavenPluginToolsVersion. plexus-pom 27 renames every managed version to version.<artifactId>, so that property stops existing and the build fails at POM read.

3.15.2 is the value the parent supplies today, so declaring it here keeps the build working under both 26 and 27 and leaves the eventual parent bump a one-line change. The name follows 27's convention, so it can be deleted and re-inherited once the bump lands.

Verified: mvn clean verify green across the full reactor on parent 26; mvn validate green against a locally installed plexus-pom 27-SNAPSHOT.

This change was created with AI assistance.

modello-maven-plugin's maven-plugin-annotations dependency was versioned
by the parent's mavenPluginToolsVersion. plexus-pom 27 renames managed
versions to version.<artifactId>, so that property disappears and the
build fails at POM read.

3.15.2 is the value the parent supplies today, so the build works on both
26 and 27 and the parent bump stays a one-line change. The name follows
27's convention; once the parent is bumped this can be deleted and
inherited again.
@slachiewicz slachiewicz added the build Pull requests that change the build process label Aug 18, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review August 18, 2026 10:28
@slachiewicz
slachiewicz merged commit 22fefb6 into master Aug 18, 2026
12 checks passed
@slachiewicz
slachiewicz deleted the local-plugin-tools-version branch August 18, 2026 10:29
slachiewicz added a commit that referenced this pull request Aug 19, 2026
The property declared in #589 goes with it: 27 supplies
version.maven-plugin-tools, so modello-maven-plugin inherits it. The
reference stays - maven-plugin-annotations is a dependency, and 27
manages no dependencies beyond junit-bom.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Pull requests that change the build process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant