开发者

How can you specify where Maven puts the dependent JARs?

开发者 https://www.devze.com 2023-03-22 01:54 出处:网络
I have configured my P开发者_如何学GoOM to include the Maven-Surefire plugin, as well as a dependency to a repository with some Selenium stuff.

I have configured my P开发者_如何学GoOM to include the Maven-Surefire plugin, as well as a dependency to a repository with some Selenium stuff.

After running mvn eclipse:eclipse, my project now has 100 jars, including the Jetty, Spring, and Selenium jars, all at the root of the project.

The project builds and runs fine, but how can I put the jars into a directory so it doesn't look so bad? Is this something I can configure in the POM?


Instead of using the maven eclipse plugin ("mvn eclipse:eclipse"), you could use maven eclipse integration plugin (m2eclipse), all your jars will stay in the local repository.

0

精彩评论

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