Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-707

release plugin does not use neither ${project.scm.connection} nor ${project.scm.developerConnection}

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.2.1
    • None
    • prepare
    • None
    • ArchLinux
      Maven 3.0.3
      Mercurial 1.9.1

    Description

      Use case: I don't want to include <scm/> section in all my POM's since I want to perform releases only using CI software. It seems for me to be more useful configuration for distributed SCM's than using release plugins locally.

      So I am providing '-Dproject.scm.connection=scm:hg:file://${basedir}/../' and '-Dproject.scm.developerConnection=scm:hg:file://${basedir}/../' to Maven's JVM. But it does not affect anything in maven-release-plugin. Also I did not find any property which I should use instead of project.scm.connection.

      The error message I receive looks like I forgot to configure maven-scm-plugin:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.2.1:prepare (default-cli) on project parent: Missing required setting: scm connection or developerConnection must be specified. -> [Help 1]
      

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            infestator Alexander Betaev
            Votes:
            8 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: