Maven 1.x SCM Plugin
  1. Maven 1.x SCM Plugin
  2. MPSCM-89

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
    • 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

          • Assignee:
            Lukas Theussl
            Reporter:
            James Shute
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: