Login | Register
My pages Projects Community openCollabNet

argouml
Wiki: Using Maven

Revision 1 as of 2012-03-12 22:08:33 -0700

Edit this page | Links to this page | Page information | Attachments | Refresh page

 

Maven is a tools that uses an xml configuration file to allows compiling, running tests, running the application and all static checks. The ArgoUML project is set up to allow developers to use Maven to handle the builds. This simplifies the downloads and builds after Setting up Maven in that each part can be developed separately.

To develop code or tests using the Maven set up the developer shall:

  1. Make sure Maven is configured. See Setting up Maven.

  2. Check out the source of the module that is to be worked on.
  3. Work with the code.
  4. Compile with mvn compile

  5. Run tests with mvn test

  6. Check in the changes.

There is no need to download or build the core project. The Continuous Integration server builds all parts of the projects and updates are downloaded automatically when compiling, testing and running.

If Maven is used within Eclipse using the m2eclipse plug-in, Eclipse will even download the source of the core project if needed when single-stepping in the debugger.