Maven 2.x Release Plugin

Assumes scm.url is Current Directory for Remote Tagging

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Not A Bug
  • Affects Version/s: 2.0-beta-9
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

With the addition of remoteTagging=true, based on the testing I have done, the release plugin is doing a remote tag of the url defined in the scm.url property, which I think comes from developerConnection.

If this is incorrect, and that url doesn't exist, than it fails.
If this is incorrect, and the url does exist, then the user will get unexpected results, not to mention that you just ran the tests against something different than what will be released (although they will be run again at release:perform)

Is this the intended behaviour? Or is my testing taking me to the wrong conclusions?

Issue Links

Activity

Hide
Olivier Lamy added a comment -

Yes sure we trust what the user put on the pom scm element.
If you prefer to old behaviour you can use remotetagging=false

Show
Olivier Lamy added a comment - Yes sure we trust what the user put on the pom scm element. If you prefer to old behaviour you can use remotetagging=false

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: