Dashboard > DHIS Documentation > ... > Tools > Maven
  DHIS Documentation Log In | Sign Up   View a printable version of the current page.  
  Maven
Added by trygvela, last edited by Knut Staring on Jul 17, 2008  (view change)
Labels: 
(None)

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

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.6 Build:#812 Aug 06, 2007) - Bug/feature request - Contact Administrators