Wednesday, May 28, 2008

Useful maven commands

To skip tests, you can set the property maven.test.skip=true, i.e:
mvn -Dmaven.test.skip=true package

To list all the dependencies of your project, you can use the dependency plugin, i.e:
mvn dependency:tree

To build a web-site with a lot of information about your project, you can use the site plugin, i.e:
mvn site

This generates a directory 'site' inside your 'target'.


Related Posts Plugin for WordPress, Blogger...