mvn dependency:get -Ddest parameter in Linux

Viewed 4753

I´m using the mvn dependency:get to download some specific *.jar (latest Release Version) files on Linux Ubuntu.

I am using the following command:

mvn dependency:get -Dartifact=org.apache.httpcomponents:httpmime:RELEASE:jar -DrepoUrl=https://repo1.maven.org/maven2 -Ddest=/home/dev/workspace/"

The artifact is downloaded as expected, but only to the local maven repository and not to copied to the specified Location. I have also tried using

-Ddest=home/dev/workspace/
-Ddest=/home/dev/workspace

But there is no difference in the Result.

I know there is the possibility to use dependency:copy, but therefore i would need a pom.xml (which i don´t want to create only for the copy command).

Thanks for your help

1 Answers
Related