Maven 1.x SCM Plugin

SCM Parse Connection output is wrong / misleading

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.6
  • Fix Version/s: 1.6.1
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

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)

Activity

Hide
Lukas Theussl added a comment -

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.

Show
Lukas Theussl added a comment - 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.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: