useful mvn commands

Posted by Anandhan Subbiah on May 27, 2008 in Java, Programming ConceptsNo comments

Here are some useful mvn commands

mvn eclipse:eclipse -DdownloadSources=true

This will set up the eclipse environment and also download the source for the jar files.

mvn clean install war:inplace

This will create a open war inside the target directory. This is very useful to modify non-java resources.

mvn clean install  -Dmaven.test.skip=true

This will skip the unit tests . It helps to speed up the install but it is a bad practice.

  • Share/Bookmark
Tags: , ,

Leave a comment