Created
November 3, 2016 07:16
-
-
Save rose-m/1d2ae2e27ae5aacd764fe05bbb089188 to your computer and use it in GitHub Desktop.
Handy Tools
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### DOWNLOADING JAR WITH DEPENDENCIES FROM MAVEN ##### | |
# 1. Download the latest ivy jar (currently it's v.2.4.0) | |
curl -L -O http://search.maven.org/remotecontent?filepath=org/apache/ivy/ivy/2.4.0/ivy-2.4.0.jar | |
# 2. Run ivy.jar to retrieve all dependencies | |
java -jar ivy-2.4.0.jar -dependency XX_DEPENDENCY_XX -retrieve "lib/[artifact]-[revision](-[classifier]).[ext]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment