You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/07/15 20:34:34 UTC

[jira] Created: (MPANNOUNCEMENT-12) [PATCH] Goal check-version doesn't show release number properly in case of error

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
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:33 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPANNOUNCEMENT-12) [PATCH] Goal check-version doesn't show release number properly in case of error

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Felipe Leme (mailto:jira@felipeal.net)
       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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPANNOUNCEMENT-12) [PATCH] Goal check-version doesn't show release number properly in case of error

Posted by ji...@codehaus.org.
Message:

   The following issue has been closed.

   Resolver: Vincent Massol
       Date: Thu, 15 Jul 2004 3:20 PM

Applied. Thanks!
---------------------------------------------------------------------
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: Closed
   Priority: Major
 Resolution: FIXED

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

    Project: maven-announcement-plugin
   Fix Fors:
             1.3

   Assignee: Vincent Massol
   Reporter: Felipe Leme

    Created: Thu, 15 Jul 2004 2:33 PM
    Updated: Thu, 15 Jul 2004 3:20 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org