You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Benedict (JIRA)" <ji...@codehaus.org> on 2014/07/02 15:45:15 UTC
[jira] (MNG-2876) versionrange doesn't handle singular version
correctly
[ https://jira.codehaus.org/browse/MNG-2876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Benedict updated MNG-2876:
-------------------------------
Fix Version/s: (was: Issues to be reviewed for 3.x)
> versionrange doesn't handle singular version correctly
> ------------------------------------------------------
>
> Key: MNG-2876
> URL: https://jira.codehaus.org/browse/MNG-2876
> Project: Maven
> Issue Type: Bug
> Components: Artifacts and Repositories
> Affects Versions: 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.0.10, 2.1.0-M1, 3.0-alpha-1
> Reporter: brianfox brianfox
> Assignee: brianfox brianfox
>
> I'm still having trouble with this. I wrote a sample class to show my problem. The issue is that all the contains calls are correct except that a singular version ie "2.0.5" always returns true. Is this an artifact bug, or am I doing something wrong? According to the javadoc for the method (shown in my original post below) the singular version is allowed as a version range.
> The tests and fix are here: https://svn.apache.org/repos/asf/maven/plugins/branches/maven-artifact-version-range-fix
> I just need someone to take a look and I can apply.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)