You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Raffaele Verre (JIRA)" <ji...@codehaus.org> on 2010/05/19 12:29:12 UTC
[jira] Created: (MNG-4681) Version range resolution problem
Version range resolution problem
--------------------------------
Key: MNG-4681
URL: http://jira.codehaus.org/browse/MNG-4681
Project: Maven 2 & 3
Issue Type: Bug
Components: Artifacts and Repositories
Affects Versions: 3.0-beta-1, 3.0-alpha-7, 3.0-alpha-6, 2.2.1, 2.0.11, 2.0.10, 2.0.9
Environment: Linux
Reporter: Raffaele Verre
In my POM I've this dependency:
<dependency>
<groupid>GROUP</groupid>
<artifactId>ARTIFACT</artifactId>
<version>[1.0.0-SNAPSHOT,)</version>
</dependency>
On archiva I have version from 1.0.0-alpha-1 to 1.0.0-alpha-12.
When I try to resolve dependency, maven retrieve the alpha-9 and not the alpha-12.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MNG-4681) Version range resolution problem
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann updated MNG-4681:
-----------------------------------
Affects Version/s: (was: 3.0-beta-1)
(was: 3.0-alpha-7)
(was: 3.0-alpha-6)
> Version range resolution problem
> --------------------------------
>
> Key: MNG-4681
> URL: http://jira.codehaus.org/browse/MNG-4681
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Artifacts and Repositories
> Affects Versions: 2.0.9, 2.0.10, 2.0.11, 2.2.1
> Environment: Linux
> Reporter: Raffaele Verre
>
> In my POM I've this dependency:
> <dependency>
> <groupid>GROUP</groupid>
> <artifactId>ARTIFACT</artifactId>
> <version>[1.0.0-SNAPSHOT,)</version>
> </dependency>
> On archiva I have version from 1.0.0-alpha-1 to 1.0.0-alpha-12.
> When I try to resolve dependency, maven retrieve the alpha-9 and not the alpha-12.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MNG-4681) Version range resolution problem
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4681.
----------------------------------
Resolution: Not A Bug
Assignee: Benjamin Bentmann
In Maven 2.x, the version comparison consideres 1.0.0-alpha-12 < 1.0.0-alpha-9. This has been fixed in Maven 3.x. However, even in Maven 3.x the example project will not work because 1.0.0-alpha-12 < 1.0.0-SNAPSHOT (as per MNG-2281).
> Version range resolution problem
> --------------------------------
>
> Key: MNG-4681
> URL: http://jira.codehaus.org/browse/MNG-4681
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Artifacts and Repositories
> Affects Versions: 2.0.9, 2.0.10, 2.0.11, 2.2.1
> Environment: Linux
> Reporter: Raffaele Verre
> Assignee: Benjamin Bentmann
>
> In my POM I've this dependency:
> <dependency>
> <groupid>GROUP</groupid>
> <artifactId>ARTIFACT</artifactId>
> <version>[1.0.0-SNAPSHOT,)</version>
> </dependency>
> On archiva I have version from 1.0.0-alpha-1 to 1.0.0-alpha-12.
> When I try to resolve dependency, maven retrieve the alpha-9 and not the alpha-12.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira