Created
March 18, 2019 09:45
-
-
Save drm/dec692521154e0ef40d6a95b67d826cc to your computer and use it in GitHub Desktop.
Quickly download maven dependencies without using maven.
This file contains 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
cat > pom.xml <<-EOF | |
<project> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>temp</groupId> | |
<artifactId>temp</artifactId> | |
<version>master</version> | |
<dependencies> | |
<dependency> | |
<groupId>$1</groupId> | |
<artifactId>$2</artifactId> | |
<version>$3</version> | |
</dependency> | |
</dependencies> | |
</project> | |
EOF | |
mvn dependency:copy-dependencies |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment