I can install an artifact by install:install-file, but how can I download an artifact?
install:install-file
For example:
mvn download:download-file -Dgroup
To copy artifact in specified location use copy instead of get.
copy
mvn org.apache.maven.plugins:maven-dependency-plugin:3.1.2:copy \ -DrepoUrl=someRepositoryUrl \ -Dartifact="com.acme:foo:RELEASE:jar" -Dmdep.stripVersion -DoutputDirectory=/tmp/