开发者

How to compile pom.xml without generating project in Maven?

开发者 https://www.devze.com 2023-04-13 05:32 出处:网络
I have pom.xml file that contains dependencies a开发者_开发知识库nd files to checkout from svn so there is no no need to generate project. I just need these libraries and those files, so is there any

I have pom.xml file that contains dependencies a开发者_开发知识库nd files to checkout from svn so there is no no need to generate project. I just need these libraries and those files, so is there any way to get them without generating a project with maven directory structure?


I'm not sure from your question what do you want. If you have pom.xml file and you want to download all dependencies defined in it, you can call

mvn dependency:copy-dependencies

For more options look maven copy-dependencies task page

If you are asking how to create pom that will contain no code, but only dependencies, you can do that by specifying pom packaging.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号