Conversation
|
Thanks for PR. I don't see |
|
Good question. I have no idea how this works, it's just what I found only working with 2.3.X series. It still doesn't work with 3.0.0-M5 or 2.2.X. I guess -Dtag passes the tag to SCM sub-module which is used in 2.3 series, and then sub-module passes this on to git clone command. |
There was a problem hiding this comment.
Pull Request Overview
This PR enhances the documentation for the Maven release plugin by adding guidance for Git users on how to perform a release with a specific tag. The update clarifies that Git requires a different parameter format compared to SVN when specifying tags.
- Added Git-specific example for the
release:performgoal showing the-Dtagparameter usage
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Git doesn't support passing tags in the URL, however I have found that passing -Dtag does the trick.
This still will work only with 2.3.2 and earlier versions because of https://issues.apache.org/jira/browse/MRELEASE-839 , but at least nobody will have to spent 5 hours like me, trying to find why it doesn't work.