version 2.2 includes SNAPSHOT in default tag name
-------------------------------------------------

                 Key: MRELEASE-697
                 URL: https://jira.codehaus.org/browse/MRELEASE-697
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
          Components: prepare
    Affects Versions: 2.2
            Reporter: Benson Margulies


There's a test case here:

https://svn.apache.org/repos/asf/maven/sandbox/bimargulies/mrp-snap-tc/trunk

2.1 does the expected thing (no -SNAPSHOT in the proposed tag name).

/Users/benson/asf/mvn/mrp-snap-tc /opt/apache-maven-2.2.1/bin/mvn -DdryRun=true 
release:prepare
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO] ------------------------------------------------------------------------
[INFO] Building test case for strange behavior
[INFO]    task-segment: [release:prepare] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [release:prepare {execution: default-cli}]
[INFO] Verifying that there are no local modifications...
[INFO]   ignoring changes on: pom.xml.next, release.properties, 
pom.xml.releaseBackup, pom.xml.backup, pom.xml.branch, pom.xml.tag
[INFO] Executing: /bin/sh -c cd /Users/benson/asf/mvn/mrp-snap-tc && svn status
[INFO] Working directory: /Users/benson/asf/mvn/mrp-snap-tc
[INFO] Checking dependencies and plugins for snapshots ...
What is the release version for "test case for strange behavior"? 
(org.apache.maven:mrp-snap-tag-tc) 1: : 
What is SCM release tag or label for "test case for strange behavior"? 
(org.apache.maven:mrp-snap-tag-tc) mrp-snap-tag-tc-1-SNAPSHOT: :

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to