[ 
https://issues.apache.org/jira/browse/MNG-4463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16307106#comment-16307106
 ] 

ASF GitHub Bot commented on MNG-4463:
-------------------------------------

GitHub user ChristianSchulte opened a pull request:

    https://github.com/apache/maven/pull/146

    [MNG-4463] Dependency management import should support version ranges.

    Closes #64 without merging. ITs are pending to be committed.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ChristianSchulte/maven MNG-4463

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/maven/pull/146.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #146
    
----
commit 9f236fdb8305ffbce9e1b76c8cb4ecf012efc6da
Author: Christian Schulte <schulte@...>
Date:   2016-01-30T18:17:34Z

    [MNG-4463] Dependency management import should support version ranges.
    
    Closes #64 without merging. ITs are pending to be committed.

----


> Dependency management import should support version ranges.
> -----------------------------------------------------------
>
>                 Key: MNG-4463
>                 URL: https://issues.apache.org/jira/browse/MNG-4463
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>         Environment: Maven 2.2.1
>            Reporter: Rob ten Hove
>             Fix For: 3.5.x-candidate
>
>
> Version ranges cannot be used for artifacts with {{import}} scope. If a 
> version range is used for such an artifact, Maven cannot find it. Looking at 
> the console output shows that it takes the version range as the version, 
> without resolving it:
> {noformat}Downloading: 
> http://some-repo/group/artifact/[1.0.0,2.0.0)/artifact-[1.0.0,2.0.0).pom{noformat}
> This is the POM snippet:
> {code:xml}
> <dependencyManagement>
>   <dependencies>
>     <dependency>
>       <groupId>group</groupId>
>       <artifactId>artifact</artifactId>
>       <version>[1.0.0,2.0.0)</version>
>       <!-- Using e.g. <version>1.1.0</version> does work! -->
>       <type>pom</type>
>       <scope>import</scope>
>     </dependency>
>   </dependencies>
> </dependencyManagement>
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to