[ 
https://issues.apache.org/jira/browse/NPANDAY-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brett Porter updated NPANDAY-352:
---------------------------------

    Fix Version/s: Backlog

> Retrieve latest version of dependency
> -------------------------------------
>
>                 Key: NPANDAY-352
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-352
>             Project: NPanday
>          Issue Type: Bug
>          Components: Maven Plugins, Repository
>    Affects Versions: 1.2.1
>         Environment: Windows XP
>            Reporter: chris raposo
>             Fix For: Backlog
>
>
> NPanday does not seem to support Maven's Dependency Version Ranges.
> I am attempting to figure out a way in my POM file to retrieve the latest 
> version of a dependency in our repository.
> My POM has the following:
> ....
> <dependencies>
>     <dependency>
>       <groupId>projectgroupid</groupId>
>       <artifactId>Exceptions</artifactId>
>       <version>0.0.0.1</version>
>       <type>dotnet-library</type>
>     </dependency>
>     ....
> what I was trying to accomplish is either:
> ....
> <dependencies>
>     <dependency>
>       <groupId>projectgroupid</groupId>
>       <artifactId>Exceptions</artifactId>
>       <version>0.0.0.1</version>
>       <type>dotnet-library</type>
>     </dependency>
>     ....
> of
> ....
> <dependencies>
>     <dependency>
>       <groupId>projectgroupid</groupId>
>       <artifactId>Exceptions</artifactId>
>       <version>[0.0.0,)</version>
>       <type>dotnet-library</type>
>     </dependency>
>     ....
> Neither of which works. Is there somewhere in the documentation I am missing 
> this information from?
> See below links for version ranges for Maven2:
> - 
> http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution#DependencyMediationandConflictResolution-DependencyVersionRanges)
> - 
> http://stackoverflow.com/questions/30571/how-do-i-tell-maven-to-use-the-latest-version-of-a-dependency

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to