Login | Register
My pages Projects Community openCollabNet

argouml
Wiki: Using Maven

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

 

Maven is a tools that uses an xml configuration file to configure the compiling, running of tests, running the application and all static checks. The ArgoUML project is set up to allow developers to use Maven. This quickens the downloads and builds in that each part can be developed separately against prebuilt and automatically downloaded files.

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

  1. Make sure Maven is configured to know where to find the argouml files. See Setting up Maven.

  2. Check out the source of the module that is to be worked on. Only the module to be worked on is required.
  3. Do your work.
  4. Compile with mvn compile.

  5. Run tests with mvn test.

  6. Run ArgoUML application with mvn exec:java.

  7. Commit 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 maven is started.

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.

Using Maven (last edited 2012-05-18 15:48:46 -0800 by linus)