How do I download a Maven artifact at the command line without using dependency:get or maven-download-plugin?

前端 未结 5 1585
温柔的废话
温柔的废话 2020-12-24 06:18

I\'d like to download an artifact and its dependencies at the command line. I.e.

mvn [some plugin]:[goal] -DartifactId=[artifactId] -DgroupId=[groupId] -Dver         


        
5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-24 06:42

    The simplest solution would be to create a simple pom with the appropriate dependencies and do mvn clean package on that mini project...

提交回复
热议问题