Sanket Tagalpallewar
Sanket Tagalpallewar

Reputation: 133

How to use existing maven project in eclipse?

I am new to java and eclipse environment. I have an existing maven project which i need to edit using eclipse IDE. I have not maven or m2eclipse plugin installed on my machine. Please can anyone tell me how to install maven and spring framework on my machine and link it to eclipse so that I can open existing maven project in eclipse. I would be grateful if anyone tells me If any Step by step tutorial is there.

Upvotes: 0

Views: 199

Answers (3)

hurricane
hurricane

Reputation: 6724

http://download.springsource.com/release/STS/3.6.0/dist/e4.4/spring-tool-suite-3.6.0.RELEASE-e4.4-win32.zip

Download this Eclipse Spring Tool. You can use every spring project with it.

Upvotes: 0

Pat
Pat

Reputation: 2258

You need to install a maven plugin in eclipse. m2e is one of such plugins, which can be downloaded from http://eclipse.org/m2e/download/ Once downloaded, you can import the maven project by following File -> Import -> Maven -> Existing Maven Projects. Provide the location of your project directory (where pom.xml is located) and eclipse should be able to get it setup in your workspace.

EDIT: you may have to restart eclipse once the plugin is installed.

Upvotes: 1

Khary Mendez
Khary Mendez

Reputation: 1848

Install the jboss tools package in eclipse. Help->Eclipse Marketplace... Search for "Jboss Tools" and install the one that matches your version of eclipse. This will allow you to import an existing maven project after you restart eclipse. File -> Import... -> Maven -> Existing Maven Project

Upvotes: 0

Related Questions