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 Gier (JIRA)" <ji...@codehaus.org> on 2012/10/19 14:50:36 UTC

[jira] (MDEP-307) Version range doesn't work

     [ https://jira.codehaus.org/browse/MDEP-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Gier closed MDEP-307.
--------------------------

    Resolution: Cannot Reproduce
      Assignee: Paul Gier  (was: Brian Fox)

This is probably a problem with the metadata in your repository.  You can try asking on the maven user list if you are still having a problem with this.
http://maven.apache.org/mail-lists.html
                
> Version range doesn't work
> --------------------------
>
>                 Key: MDEP-307
>                 URL: https://jira.codehaus.org/browse/MDEP-307
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: Win XP, Eclipse 3.6.1
>            Reporter: SirWayne
>            Assignee: Paul Gier
>            Priority: Critical
>
> I want to use a version range in my dependencies, but it doesn't work. If i use the fix version, all works fine. In my repo the version is org.eclipse.emf:common:jar:2.6.0
> {code:xml} 
> 	<dependencies>
> 		<dependency>
> 			<groupId>org.eclipse.emf</groupId>
> 			<artifactId>common</artifactId>
> 			<version>[2.5.0,4.0.0)</version>
> 		</dependency>
> {code} 
> Error
> [ERROR] An error occurred during dependency resolution of the following artifact:
>     org.eclipse.emf:common:null
> Caused by: No versions are present in the repository for the artifact with a range [2.5.0,4.0.0)
>   org.eclipse.emf:common:jar:null
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   myrepo(http://myRepo/m2repository)
> Path to dependency: 
> 	1) xyz:jar:1.0.0

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira