/
Building 1 2 3
Building 1 2 3
Marc Dumontier
Owned by Marc Dumontier
Here are some common ways to build from the command line
Command | Comments |
---|---|
mvn package | This is a basic build that will generate the WAR. It's pretty slow as all the tests will run, and you need a few things setup for that. |
mvn -Dcheckstyle.skip=true -Dmaven.test.skip=true package | Build a WAR as fast as possible. Skip checkstyle as well as tests |
mvn verify | This is what JENKINS will basically run. It will take even longer than package as it will compile the JSPs and the Javadocs. |
mvn checkstyle:checkstyle | Just run checkstyle. Check for common build problems |
mvn -Dtest=MyTest test | Run some unit test with the class name MyTest |
mvn test | Run all tests |
mvn sonar:sonar | Create a detailed code analysis report from Sonar. You have to install Sonar first. |
Related content
Tools you probably want
Tools you probably want
More like this
Getting Started with building the code
Getting Started with building the code
More like this
Building the code
Building the code
Read with this
Building Tips and Tricks 12.x
Building Tips and Tricks 12.x
Read with this
Testing the REST API
Testing the REST API
More like this