Hi Burtonator,
The "resolve" goal that you mention "works" for me. I put quotes around "works" because your requirements aren't quite clear to me. But "resolve" gives me a list of dependencies (not transitive ones, since you specified "-DexcludeTransitive=true"). So perhaps you could elaborate on what "doesn't work" means for you. After your first e-mail I thought you wanted to download the artifacts, rather than list them, and thought you'd be a candidate for "dependency:copy-dependencies" instead. Not sure what you're trying to do here precisely. But we all have CI environments, so perhaps I can learn from your (attempted) approach! Best regards, Sander Verhagen [ [email protected] ] NOTICE: my e-mail address has changed. Please remove [email protected] now and start using [email protected] from now on. Please update your address book. Thank you! > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Kevin Burton > Sent: Wednesday, July 22, 2015 20:27 > To: Maven Users List > Subject: Re: Fetch all remote dependencies NOT in my pom? > > I tried the following.. but that doesn’t work. hm… stumped on this one. > > mvn -DexcludeGroupIds=com.spinn3r.artemis -DexcludeTransitive=true > dependency:resolve mvn -DexcludeArtifactIds=artemis - > DexcludeTransitive=true dependency:resolve > > On Wed, Jul 22, 2015 at 8:13 PM, Kevin Burton <[email protected]> > wrote: > > > I need a way to fetch all external dependencies that aren’t just a > > submodule in my current project. > > > > So things like junit, mockito, log4j, jetty, etc. I want to pull down > > all that stuff. > > > > However, I do NOT want it to include dependencies from the project. > > Those aren’t built yet so they’re not in any repo. > > > > This is important for our continuous integration system. I want to > > pre-cache these so that they’re local. It will shave 2-5 minutes off > > our build time. We have about 200 external dependencies that we pull > > in so this init process takes a long time (and wastes resources). > > > > -- > > > > Founder/CEO Spinn3r.com > > Location: *San Francisco, CA* > > blog: http://burtonator.wordpress.com > > … or check out my Google+ profile > > <https://plus.google.com/102718274791889610666/posts> > > > > > > > -- > > Founder/CEO Spinn3r.com > Location: *San Francisco, CA* > blog: http://burtonator.wordpress.com > … or check out my Google+ profile > <https://plus.google.com/102718274791889610666/posts> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
