Thursday, May 8, 2014

Java EE 103: Eclipse IDE and Maven

-----
Java EE 103: Eclipse IDE and Maven
This tutorial is based on http://www.youtube.com/watch?v=xgDm_fne3l8
STEPS
1) Download Maven.
2) Extract the zip content.
3) Create the System Variable for Maven Root Folder.
4) Add the Maven Bin Path to System Variables.
5) Test that you have done Step 3 and 4 correctly.
6) Install Maven to Eclipse.
7) Test installation.

STEPS

1) Download Maven.

Find the link to the binary zip file.

2) Extract the zip content.

Extract to C:\J2EETutorial\...

3) Create the System Variable for Maven Root Folder.

4) Add the Maven Bin Path to System Variables.

5) Test that you have done Step 3 and 4 correctly.

In command window, type mvn –version.

6) Install Maven to Eclipse

6.2) Install into Eclipse.
(If you experience a problem during Eclipse startup, try adding the path to JDK, refer below)

7) Test installation.

7.1) In the Project Explorer, right-click empty space and select New/Other…
7.2) Search for the keyword maven.
If the items below are shown, it means that Maven have been installed successfully.
7.3) Run File Explorer, browse the {username}\.m2\repository\…
-----

No comments:

Post a Comment