Fix Maven plugin version properties for release builds#450
Merged
thomasturrell merged 2 commits intomainfrom Dec 9, 2025
Merged
Fix Maven plugin version properties for release builds#450thomasturrell merged 2 commits intomainfrom
thomasturrell merged 2 commits intomainfrom
Conversation
Co-authored-by: thomasturrell <1552612+thomasturrell@users.noreply.github.com>
thomasturrell
approved these changes
Dec 9, 2025
Copilot
AI
changed the title
[WIP] Fix unresolved Maven plugin version errors in pom.xml
Fix Maven plugin version properties for release builds
Dec 9, 2025
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes Maven release build failures caused by undefined plugin version properties. The PR adds concrete version definitions for maven-gpg-plugin and central-publishing-maven-plugin which were being referenced in the POM but not defined, causing Maven to treat them as literal strings during the release:perform phase.
Key changes:
- Added
maven-gpg-plugin.version=3.2.8property definition - Added
central-publishing-maven-plugin.version=0.9.0property definition
|
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.



Description
Maven release/perform phase failed because
maven-gpg-pluginandcentral-publishing-maven-pluginreferenced undefined properties${maven-gpg-plugin.version}and${central-publishing-maven-plugin.version}, causing Maven to treat them as literal strings rather than version numbers.Changes
Added missing property definitions to root
pom.xml:maven-gpg-plugin.version=3.2.8central-publishing-maven-plugin.version=0.9.0Checklist:
Original prompt
This pull request was created as a result of the following prompt from Copilot chat.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.