Reality-Loop

Useful maven commands

May 28, 2008 | 0 Minute Read
This post was originally posted on my old blog.

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'.