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

Elliotte Rusty Harold closed MDEP-570.
--------------------------------------

> Extending the copy-deps feature a little
> ----------------------------------------
>
>                 Key: MDEP-570
>                 URL: https://issues.apache.org/jira/browse/MDEP-570
>             Project: Maven Dependency Plugin
>          Issue Type: Improvement
>          Components: copy-dependencies
>            Reporter: Paul Hammant
>            Priority: Minor
>
> There's a three command sequence to download an Maven artifact and all its 
> transitive deps to a directory:
> {code}
> mvn dependency:get 
> -Dartifact=org.eclipse.jetty:jetty-servlets:9.4.5.v20170502 -Dtransitive=true
> mvn dependency:copy-dependencies -f 
> ~/.m2/repository/org/eclipse/jetty/jetty-servlets/9.4.5.v20170502/jetty-servlets-9.4.5.v20170502.pom
>  -DoutputDirectory=$(pwd)/foo/ -DincludeScope=compile
> cp 
> ~/.m2/repository/org/eclipse/jetty/jetty-servlet/9.4.5.v20170502/jetty-servlet-9.4.5.v20170502.jar
>  foo/
> {code}
> It would be great if there were a single maven-dependency goal to do the 
> above in one operation :) 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to