Using Maven to just download JARs

后端 未结 3 1501
春和景丽
春和景丽 2021-02-03 20:03

I would like to have Maven download the JARs listed in a pom.xml file. How do I do that? Currently, Maven wants to compile the project (and it fails). I don\'t care about com

3条回答
  •  别那么骄傲
    2021-02-03 20:45

    Try

    mvn install dependency:copy-dependencies
    

    You will see all the jars under 'target/dependency' folder

提交回复
热议问题