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

Release plugin does not work with central repository and always performs clone operation

    XMLWordPrintableJSON

Details

    • Patch

    Description

      Plugin cannot work with repositories as if they were central ones. It pushes and updates data from central repo.
      Please take a look at the patch here: SCM-631
      Also look at MRELEASE-707 issue. The patch from attachment enables usage of ${project.scm.developerConnection} var.

      The attached patch makes plugin to work with repository as if it was central. The following arguments were used for manual testing:

      mvn -f parent/pom.xml -DpushChanges=false -DscmPerformLocalUpdate=true -Dproject.scm.developerConnection=scm:hg:file://\${basedir}/../ release:prepare
      mvn -f parent/pom.xml -DpushChanges=false -DscmPerformLocalUpdate=true -Dproject.scm.developerConnection=scm:hg:file://\${basedir}/../ release:perform
      

      Attachments

        1. maven-test-project.tar.bz2
          4 kB
          Alexander Betaev
        2. maven-scm.patch
          7 kB
          Alexander Betaev
        3. maven-release-plugin.patch
          10 kB
          Alexander Betaev
        4. maven-release-plugin.patch
          11 kB
          Alexander Betaev

        Activity

          People

            Unassigned Unassigned
            infestator Alexander Betaev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: