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

tagNameFormat with @{project.version} tags the SNAPSHOT version

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Auto Closed
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: prepare
    • Labels:
      None

      Description

      The much awaited (by me) MRELEASE-159 seems not to work. I tried a release with the following pom:

                  <plugin>
                      <groupId>org.apache.maven.plugins</groupId>
                      <artifactId>maven-release-plugin</artifactId>
                      <configuration>
                          <localCheckout>true</localCheckout>
                          <preparationGoals>clean install verify</preparationGoals>
                          <goals>clean install javadoc:javadoc assembly:assembly deploy</goals>
                          <arguments>-P${release.profiles} -DaltDeploymentRepository="${altDeploymentRepository}"</arguments>
                          <tagNameFormat>@{project.version}</tagNameFormat>
                      </configuration>
                  </plugin>
      

      but I got the tag 1.0-ALPHA-2-SNAPSHOT in place of 1.0-ALPHA-2.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                fabrizio.giudici Fabrizio Giudici
              • Votes:
                8 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: