Re: If anyone ever wanted to download a bunch of deps specified in a Maven POM for an Ant build

2017-06-11 Thread Paul Hammant
Copy/pasta - https://issues.apache.org/jira/browse/MDEP-570: There's a three command sequence to download an Maven artifact and all its transitive deps to a directory: mvn dependency:get -Dartifact=org.eclipse.jetty:jetty-servlets:9.4.5.v20170502 -Dtransitive=true mvn dependency:copy-dependencies

Re: If anyone ever wanted to download a bunch of deps specified in a Maven POM for an Ant build

2017-06-11 Thread Thomas Broyer
Wouldn't have dependency:copy-dependencies helped here rather than sed/grep/wget? (maybe not, devil is in the details and I just skimmed through your script) https://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html Le dim. 11 juin 2017 20:53, Paul Hammant a écrit : >

If anyone ever wanted to download a bunch of deps specified in a Maven POM for an Ant build

2017-06-11 Thread Paul Hammant
If your 'current directory' is a Maven checkout, I have a Python script that will download the dependencies into a libs/ folder. Well, libs/compile/ libs/test/ etc - one subfolder per scope. See here: https://github.com/paul-hammant/spring-jetty-integrationtest-ant-example/blob/master/mavdl.py I