Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-196

scm:update doesn't reuse developerConnection when connection not defined.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-beta-4
    • None
    • mvn 2.0.4
      scm: 1.0-20060505.091301-5
      svn 1.3.1

    Description

      I am using mvn scm:update in a project without a connection (but with a developerConnectino) and scm:update fails:

      [INFO] --------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] --------------------------------------------------------------
      [INFO] Cannot run checkout command :

      Embedded error: Can't load the scm provider.
      You need to define a connectionUrl parameter
      [INFO] --------------------------------------------------------------

      The plugin should use the developerConnection when no connection has been defined. Otherwise that forces one to copy the developerConnection into the connection one which defeats DRY and the fact that the connection represents a read-only element. Not sure if that problem is subversion dependent or not, so I selected both the plugin and the svn specific component.

      Attachments

        Activity

          People

            evenisse Emmanuel Venisse
            lacostej Jerome Lacoste
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: