Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPSCM-44

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPSCM-44
    Summary: Skip prompt for tag
       Type: Improvement

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-scm-plugin
   Versions:
             1.5

   Assignee: Brett Porter
   Reporter: Thomas Van de Velde

    Created: Fri, 28 Jan 2005 7:42 AM
    Updated: Fri, 28 Jan 2005 7:42 AM

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>


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to