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)
Signup
Maven 1.x SCM Plugin
  • Maven 1.x SCM Plugin
  • MPSCM-44

Skip prompt for tag

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.5
  • Fix Version/s: 1.5
  • Labels:
    None
  • Number of attachments :
    0

Description

For my project I want to fully automate release management. Therefore I would not like to be prompted for a tag when I execute 'prepare-release'. Would it be possible to add a test that looks if a the tag for the release has been defined as a variable, you are not prompted to provide one?

CURRENT CODE:

<i:ask
question="What is the new tag name?"
answer="tag_name"
default="$

{maven.scm.tag}"
/>
<i:ask
question="What is the new version?"
answer="version_name"
default="${tag_name}"
/>

SUGGESTED CODE:


<j:if test="${empty(maven.scm.release.tag)}">
<i:ask
question="What is the new tag name?"
answer="tag_name"
default="${maven.scm.tag}

"
/>
</j:if>

<j:if test="$

{empty(maven.scm.version.name)}

">
<i:ask
question="What is the new version?"
answer="version_name"
default="$

{maven.scm.tag}

"
/>
</j:if>

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity

People

  • Assignee:
    Unassigned
    Reporter:
    Thomas Van de Velde
Vote (1)
Watch (1)

Dates

  • Created:
    28/Jan/05 7:42 AM
    Updated:
    30/May/05 2:24 AM
    Resolved:
    30/May/05 2:24 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.