Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.4.2
-
None
-
None
-
None
Description
I have several times made the mistake that I have used wrong <connection> and <developerConnection> SVN URLs (which might point to another branch or another project) in pom.xml and when I run release:prepare, it happily creates an SVN tag of the connection URL, not the URL of the working copy (which could be obtained using the "svn info" command).
So I think the release:prepare command should print an error message and refuse from running if the working copy URL doesn't match the connection URL in pom.xml .
Attachments
Issue Links
- duplicates
-
MRELEASE-494 Should fail during release:prepare if scm:url doesn't match working copy
- Reopened