Maven in Eclipse Setup

42 downloads 589 Views 403KB Size Report
bin to the path. • Add JAVA_HOME is set to the location of your JDK. • Run "mvn - -version" to verify that it is correctly installed. Setting m2e: Step 1: Open Eclipse ...
Maven in Eclipse Setup

www.himainc.com

Table of Contents Requirements..................................................................................................................................... 3 Installing maven………………………………………………………………………………………………………………………………………3 Installing M2E in Eclipse ...................................................................................................................... 4 Selecting Options................................................................................................................................ 6

www.himainc.com

Requirements: Software

Version

Eclipse IDE Java SDK

3.5 or later 1.5 or later

www.himainc.com

Installing Maven: Download apache maven.     

Unpack the archive where you would like to store the binaries, Add the bin directory to your PATH System Properties->Advanved->Environment Variables->click path and add the maven bin to the path. Add JAVA_HOME is set to the location of your JDK Run "mvn --version" to verify that it is correctly installed.

Setting m2e: Step 1: Open Eclipse IDE Step2: Goto Help->Install New Software

www.himainc.com

Step 3: Add the following link at work with tab http://download.eclipse.org/technology/m2e/releases

www.himainc.com

Step 4: Check the box m2e –Integration of eclipse and then install it.

www.himainc.com

www.himainc.com

Step 5: Restart the Eclipse

www.himainc.com

Note: If you get any errors, update the eclipse you are using and then reinstall m2e (m2e is tested only in 3.6 &3.7 Eclipses)

www.himainc.com