The following issue has been updated:

    Updater: Felipe Leme (mailto:[EMAIL PROTECTED])
       Date: Thu, 15 Jul 2004 2:46 PM
    Comment:
Patch with the fix.
    Changes:
             Attachment changed to fixMessage.patch
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPANNOUNCEMENT-12?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-12
    Summary: [PATCH] Goal check-version doesn't show release number properly in case 
of error
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: 5 minutes
 Time Spent: Unknown
  Remaining: 5 minutes

    Project: maven-announcement-plugin

   Assignee: 
   Reporter: Felipe Leme

    Created: Thu, 15 Jul 2004 2:33 PM
    Updated: Thu, 15 Jul 2004 2:46 PM

Description:
If the check-version fail because the current version is not set at xdocs/changes.xml, 
maven shows the following message:

The release '' could not be found in change log

Instead of:

The release 'x.y.z' could not be found in change log

(where x.y.z is the project's current version.

The fix is simple: it's just a matter of changing line 70 of plugin.jelly, from:

      <ant:fail>The release '${maven.announcement.version}' could not be found in 
change log</ant:fail>

to:

      <ant:fail>The release '${versionVariable}' could not be found in change 
log</ant:fail>

Anyway, I'm sending a patch for that...

Felipe





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