开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜