Using Maven to just download JARs

后端 未结 3 1508
春和景丽
春和景丽 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:48

    You can try this command:

    mvn dependency:resolve
    

    Or just invoke the "install" life cycle as follows:

    mvn install
    

提交回复
热议问题