Description
I want a new goal like
"mvn dependency:get -DgroupId=... -DartifactId=... -Dversion=... -Dclassifier=..."
This goal is very helpful to have local dependencies managed by maven, especially for us in such an imperfect world that not every project has adopted maven.
By running the above command, the corresponding artifact would be downloaded into local maven repository.
groupId – required
artifactId – required
version – optional, download the latest release if omitted
classifier – optional, this should be artifact specific, some may require a classifier, some may not.
The idea is from the discussion in the maven users list, thread http://www.nabble.com/-M2--Manually-download-artifact--td19949345.html
Thanks Wendy for the idea