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

Thomas Broyer <[email protected]>
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <CAEayHEOKqJ+Yj7ZE6-JTjHfWC9e3bnrDe_c7MNaiTYHQ1zzkjw__21734.3577104204$1497239391$gmane$org@mail.gmail.com>
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 <[email protected]> a écrit :

> 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 asked a question on Stackoverflow then answered it myself when my bash
> skills fell short of a bash one-liner for the same: -
> https://stackoverflow.com/questions/44390253
>
> In the case of my demo project 'spring-jetty-integrationtest-ant-example' I
> checked all the jars into Git again, like it was still the early 2000's :)
>
> - Paul
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.