Issue Type: Bug Bug
Affects Versions: 1.8
Assignee: Unassigned
Created: 26/Jun/13 4:51 PM
Description:

In my local repo I have versions 1.30.3.1, and 1.30.3 (plus some more).

The ReleasedVersionMojo returns the 1.30.3 as the latest version.

With a quick look at the source I found (close to line 110):

version.compareTo( releasedVersion ) == 1

The compareTo may return a number different to 1, so that should be:

version.compareTo( releasedVersion ) > 0

(That does not seem to be the cause of this problem, but it will probably fail if some versions are skipped).

Environment: It failed in my project, with maven 2.2.1.
Project: Maven 2.x Build Helper Plugin
Priority: Major Major
Reporter: Pablo Gra\~na
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to