Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6
-
Fix Version/s: 1.6.1
-
Labels:None
-
Number of attachments :
Description
If I do "maven scm:perform-release", and have maven.scm.url set to scm:cvs:pserver:anon:@cvshost:/home/source:MyModule then it works absolutely fine, but the scm:parse-connection goal produces some very misleading output:
scm:parse-connection:
[echo] Using SCM method: cvs
[echo] Using CVSROOT: :pserver:anon:@cvshost
[echo] Using module: /home/source
This is obviously quite wrong. Removing the : from after "anon" in the url (i.e. the bit that says "use a blank password") makes the output from scm:parse-connection correct, but then the checkout step fails (presumably because it's no longer tying to use a blank password)
I simply removed the use of scm:parse-connection as it didn't do anything useful anyway. The parsing and validation of the scm url should be done by the corresponding scm methods.