Skip to content

Remove stale maven-plugin-annotations.version=3.9.0 override#172

Open
allanmckenzie wants to merge 1 commit into
release/25.104.xfrom
java-25-remove-stale-plugin-annotations-version
Open

Remove stale maven-plugin-annotations.version=3.9.0 override#172
allanmckenzie wants to merge 1 commit into
release/25.104.xfrom
java-25-remove-stale-plugin-annotations-version

Conversation

@allanmckenzie

Copy link
Copy Markdown
Contributor

Summary

  • Removes maven-plugin-annotations.version=3.9.0 from the root pom. The BOM (cp-maven-common-bom) already manages maven-plugin-annotations at 3.15.2; the local property was silently overriding it with an older version. The comment in the pom even noted "Must be moved to parent-pom" — this was a recognised stale entry
  • Removes the corresponding explicit <version>${maven-plugin-annotations.version}</version> from annotation-validator-maven-plugin/pom.xml so the BOM manages the version

Test plan

  • Key plugin modules build: mvn clean install -pl annotation-validator/annotation-validator-maven-plugin,generator-maven-plugin/generator-plugin,raml-maven/raml-maven-plugin -am — all pass
  • CI passes (pre-existing maven-jar-plugin empty-source failures in IT/testing utility modules are unrelated to this change)

The BOM already manages maven-plugin-annotations at 3.15.2. The local property
override pinned it to the older 3.9.0, silently suppressing the BOM version.
The annotation-validator-maven-plugin had an explicit <version> tag referencing
this property; removing both lets the BOM manage the version correctly.
@cpp-github-management

Copy link
Copy Markdown

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