Declare the maven-plugin-tools version locally - #589
Merged
Conversation
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
marked this pull request as ready for review
August 18, 2026 10:28
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
modello-maven-plugin versions its
maven-plugin-annotationsdependency with the parent'smavenPluginToolsVersion. plexus-pom 27 renames every managed version toversion.<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 verifygreen across the full reactor on parent 26;mvn validategreen against a locally installed plexus-pom 27-SNAPSHOT.This change was created with AI assistance.