Maven
Apache Maven is a software project management tool that provides a standard way to build the project. It bases on project object model (POM) to describe how the project is build, order and dependencies with other modules. It also specify some development guidelines as keeping your testing and source code in a separate structure.
Maven dynamically downloads Java libraries and Maven plug-ins from one or more repositories and allows you to uploas arrtifcats to a specific repository.
Installing
- Download last version of maven from the maven repository.
- Extract the distribution archive, <maven> folder
- Add the M2_HOME environment variable pointing to <maven> folder, and the M2 variable pointing to %M2_HOME%\bin.
- Add M2 to the PATH variable
- Run mvn –version to verify that it is correctly installed.
Eclipse Plugin
To install m2eclipse in the Eclipse IDE:
- Select Help > Install New Software. This should display the “Install” dialog.
- Search the site http://m2eclipse.sonatype.org/sites/m2e.
- Choose the component listed under m2eclipse: “Maven Integration for Eclipse (Required)”.
Netbeans plugin
Maven is integrated with Netbeans 6.7+.