------ Maven 2 Surefire Plugin ------ Johnny R. Ruiz III ------ September 20, 2005 How to Use These example shows how to include and exclude unit test files in your testing.. ------------------- ... ... org.apache.maven.plugins maven-surefire-plugin **/*.java **/*Point*.java ... ... ------------------- These example shows how to skip test when using m2. ------------------- ... ... org.apache.maven.plugins maven-surefire-plugin true ... ... ------------------- Alternatively, you can use "m2 -Dmaven.test.skip=true install" to skip test. To add a System property, you can try this one. ------------------- ... ... org.apache.maven.plugins maven-surefire-plugin propertyName propertyValue ... ... ------------------- There are other parameters that you can configure like testFailureIgnore, reportsDirectory, test , etc. For full documentation, click {{{index.html}here}}.