back to listing index

Download an artifact from using Maven (Example)

[web search]
Original source (
Tags: java jvm dependencies maven jitpack mvn
Clipped on: 2016-12-16

Last Updated: October 11, 2016
· jitpack
Image (Asset 1/1) alt=

Download an artifact from using Maven

If you want download a single artifact from the command line use Maven's dependency plug-in:

mvn dependency:get 

It will download the .jar file to the directory specified in -Ddest

Written by

Say Thanks
Update Notifications Off

1 Response
Add your response

October 11, 2016 23:43

This is awesome! For my case to download just the war from our project:

mvn dependency:get -DremoteRepositories= -Dartifact=com.github.inodb.cbioportal:cbioportal:v1.3.0-test-jitpack:war -Ddest=.
about 2 months ago ·