jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x Release Plugin
  • MRELEASE-697

version 2.2 includes SNAPSHOT in default tag name

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.2
  • Fix Version/s: 2.2.1
  • Component/s: prepare
  • Labels:
    None
  • Testcase included:
    yes

Description

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: :

Issue Links

duplicates

Bug - A problem which impairs or prevents the functions of the product. MRELEASE-692 xxx-SNAPSHOT version tag created in Subversion when executing "release:prepare release:perform" in one call

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
is duplicated by

Bug - A problem which impairs or prevents the functions of the product. MRELEASE-691 tagNameFormat property interpolation does not use the release values but the project ones

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Stephen Connolly added a comment - 28/Jul/11 9:19 AM

r1151860

Show
Stephen Connolly added a comment - 28/Jul/11 9:19 AM r1151860

People

  • Assignee:
    Stephen Connolly
    Reporter:
    Benson Margulies
Vote (3)
Watch (3)

Dates

  • Created:
    27/Jul/11 11:15 PM
    Updated:
    27/Jan/12 4:46 PM
    Resolved:
    28/Jul/11 9:19 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.