Maven
Maven is a advanced build and project management tool from the Apache project. The DHIS2 uses Maven 2.0.
Maven for developers
Download Maven from http://maven.apache.org/maven2/download.html
.
Maven commands:
mvn clean - remove all compiled code
mvn install - builds the artifact and puts it in the repository for other projects/modules to use it
mvn test - runs the tests
mvn eclipse:eclipse - creates the .project and .classpath to needed by Eclipse, the resource folders are not included as source folders and must be added manually in Eclipse
mvn package - makes a WAR file
mvn jetty:run-war - runs the war file
Resources