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 pages
Building the code
Building the code
Read with this
Tools you probably want
Tools you probably want
Read with this
Building Tips and Tricks 12.x
Building Tips and Tricks 12.x
Read with this
OSCAR Development on Eclipse
OSCAR Development on Eclipse
Read with this
Branching Strategy
Branching Strategy
Read with this
Getting Started with building the code
Getting Started with building the code
Read with this