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

Improve doc about specifying version of plugin could sometimes be required on command-line

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5
    • 2.5.2
    • documentation
    • None
    • online docs

    Description

      On the page
      http://maven.apache.org/maven-release/maven-release-plugin/examples/perform-release.html
      it states the following command to execute when specifying a tag as well:

      mvn release:perform -DconnectionUrl=scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-release-plugin-2.0

      IMHO, in most scenarios when doing this one would do this outside of the project and Maven would then use the version om m-release-p specified in the super-POM of the executing Maven. Which could be an old version (Maven 3.0.4 specifies v2.0 of m-release-p for example).
      I suggest clearly explain this and also the command to use the latest version of the plugin, i.e.:

      mvn org.apache.maven.plugins:maven-release-plugin:<VERSION>:perform -DconnectionUrl=scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-release-plugin-2.0

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            afloom Anders Hammar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: