How to Skip the Maven ‘test’ Phase

Set the following variable:


Your output from running ‘mvn package’ should resemble something like:

[INFO] resources:testResources
[INFO] Using default encoding to copy filtered resources.
[INFO] compiler:testCompile
[INFO] Not compiling test sources
[INFO] surefire:test
[INFO] Tests are skipped.
[INFO] war:war
[INFO] Exploding webapp...

It's only fair to share...
Share on FacebookGoogle+Tweet about this on TwitterShare on LinkedIn

1 thought on “How to Skip the Maven ‘test’ Phase

  1. Pingback: Deploy to JBoss using Cargo | i-Proving –

Leave a Reply