On Sat, Sep 29, 2012 at 1:30 AM, Owen Jacobson
<[email protected]> wrote:
> It'd be nice to be able to download "the latest version of" an artifact with 
> the dependency plugin (eg. for use in a deployment script) using the same 
> mechanism Maven itself uses, i.e., dependency ranges. Unfortunately, the 
> dependency plugin does the wrong thing with them:
>
>         $ mvn dependency:get \
>                 -Dtransitive=false \
>                 -DgroupId=com.example \ -DartifactId=example \
>                 -Dversion='[1,]' \
>                 -Ddest=example-LATEST.jar
>
> complains that it couldn't find an artifact whose literal version was [1,].
>
> Totally a "wouldn't it be nice if" request,

Does 
http://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html
have the same problem?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to