2

I'm using Eclipse Indigo, and I installed m2eclipse plugin. However, I can't see in Configure a Convert to Maven Project option. I think I've installed the m2e for a newer eclipse version..Is there a way to install m2e for Eclipse Indigo? (can't find it in the market)

SOLVED: Finally I uninstalled and installed again m2e and now it works..i guess i did something wrong while installing it the first time.

3
  • Take a look at the top answer here: stackoverflow.com/questions/2449461/… Commented Oct 25, 2013 at 13:37
  • There is also the Eclipse wiki wiki.eclipse.org/… Commented Oct 25, 2013 at 13:39
  • 1
    The problem is the Maven submenu isn't shown..I don't know if I did something wrong while installing it, I used Help -> Install New Software Commented Oct 25, 2013 at 13:41

2 Answers 2

5

Run "mvn eclipse:eclipse" command in your project directory for convert project to maven project:


mvn eclipse:eclipse

OR (for web project)

mvn eclipse:eclipse -Dwtpversion=2.0

Sign up to request clarification or add additional context in comments.

5 Comments

-1 The here suggested usage of the Maven eclipse plugin should not be mixed up with the m2e Maven Integration that is used by the questioner.
@Vinay This answer has nothing to do with the question (eclipse/m2e) plugin. Using the maven eclipse plugin as described here is completly different than using the m2e eclipse integration. You even will mess up your project if you use both approaches on the same project. Please tell my why do you think this answer is helpful?
No offence buddy. eventually m2e eclipse maven plugin to generate eclipse files. Even though the answers dont covers exact problem, it provide possible solution. I guess it is matter of opinion :)
Doesn't work: Goal requires a project to execute but there is no POM in this directory
You probably didn't install your maven type project correctly. You have to first generate POM file. Look here: stackoverflow.com/questions/6704813/maven-generating-pom-file/…
0

If you installed it through the Marketplace, try uninstalling it, and then reinstall it through "Install New Software" under Help. Enter this URL to get it from: http://download.eclipse.org/technology/m2e/releases

That worked for me. If that URL doesn't work (or if you want an older version), check this page.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.