Quantcast
Channel: Programmer's lounge » eclipse plugin
Viewing all articles
Browse latest Browse all 2

Maven 3 Eclipse plugin setup

$
0
0

In this tutorial we are going to setup maven 3 eclipse plugin quickly and smoothly. The whole process goes well under Eclipse Indigo IDE.

1. Maven plugin installation

• Start Eclipse
• Navigate to http://www.eclipse.org/m2e/download
• Grab Eclipse installation button icon and drag it into your workspace area to the console view
• Click Next and then accept the license agreement. Wait for the process to end.
• Restart Eclipse

2. Setting up maven plugin

Now we are going to set up maven 3 eclipse plugin to use external maven installation. This way you will share the same artifact repository while building project from Eclipse IDE and straight from the console as well. If you want to find out how to install maven 3 on your machine visit our ealier tutorial here.

• Navigate to Window->Preferences->Maven->Installations
• Click Add
• Point the external maven installation folder
• Click Apply

3. Testing configuration

We are going to create a sample web app project to test if the maven 3 eclipse plugin has been set up correctly.

• In the Project Explorer window right click and select New->Other
• Select Maven Project and click Next
• In the filter field enter webapp
• Pick maven-archetype-webapp
• Click Next
• Enter Group Id and Artifact Id values
• Click Next. An empty webapp project has been created.

The post Maven 3 Eclipse plugin setup appeared first on Programmer's lounge.


Viewing all articles
Browse latest Browse all 2

Trending Articles