Maven

Posted by Olga on May 7, 2010 in Uncategorized | Subscribe

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

  1. Download last version of maven from the maven repository.
  2. Extract the distribution archive, <maven> folder
  3. Add the M2_HOME environment variable pointing to <maven> folder, and the M2 variable pointing to %M2_HOME%\bin.
  4. Add M2 to the PATH variable
  5. Run mvn –version to verify that it is correctly installed.

Eclipse Plugin

To install m2eclipse in the Eclipse IDE:

  1. Select Help > Install New Software. This should display the “Install” dialog.
  2. Search the site http://m2eclipse.sonatype.org/sites/m2e.
  3. Choose the component listed under m2eclipse: “Maven Integration for Eclipse (Required)”.

Netbeans plugin

Maven is integrated with Netbeans 6.7+.

References

Apache Maven Project Site.

Wikipedia: Apache Maven.

m2eclipse.

Tags: , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Copyright © 2006-2012 Too weak to give in All rights reserved.
Shades v1.5.1 theme from BuyNowShop.com.