As explained here , you can use the maven-dependency- plugin: get one for this.
For example, if you want to download org.apache.hive:hive-common:2.1.1 in your local folder, do the following:
mvn dependency:get -Ddest=./ -Dartifact=org.apache.hive:hive-common:2.1.1
If you want to download the latest version 3.0.0-SNAPSHOT:tar.gz version of com.orientechnologies:orientdb-community-gremlin from the snapshot repository https://oss.sonatype.org/content/repositories/snapshots , do the following:
mvn dependency:get -Ddest=./ -DremoteRepositories=sonatype-nexus-snapshots::::https://oss.sonatype.org/content/repositories/snapshots -Dartifact=com.orientechnologies:orientdb-community-gremlin:3.0.0-SNAPSHOT:tar.gz
Anthony O. Nov 24 '17 at 15:34 2017-11-24 15:34
source share