Skip to content

Instantly share code, notes, and snippets.

@navjeetc
Created June 5, 2009 14:04
Show Gist options
  • Save navjeetc/124294 to your computer and use it in GitHub Desktop.
Save navjeetc/124294 to your computer and use it in GitHub Desktop.
# Maven command to test a single class, also specifying a proxy server for remote communications
mvn -Dhttp.proxyHost=proxy_server -Dhttp.proxyPort=8900 test -Dtest=ServiceTest
# Maven command to print test report
mvn surefire-report:report-only
# maven goals to create a war without running tests
mvn -o clean compile war:war -Dmaven.test.skip=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment