Maven option is not found in Eclipse

2019-02-11 18:03发布

I am in Eclipse Indigo and I have installed m2eclipse plugin. I saw in Eclipse Helios there is an option Maven in the right click menu, when I clicked on a Project, but this option is not present now.

I have installed Maven from both of the marketplace and also from adding site in Install new software option in Eclipse(Help->Install New Software).

What I am doing wrong.

This question was asked before in SO, but I tried the solution provided there.

Is this option is really not present? What I want is to enable Maven Dependency Management of a Dynamic Web Project of Eclipse.

6条回答
Juvenile、少年°
2楼-- · 2019-02-11 18:27

One way is to import the project as Maven project.

查看更多
祖国的老花朵
3楼-- · 2019-02-11 18:29

If you are trying to install in Eclipse older versions, use YOXOS Marketplace - by EclipseSource. Search for "Maven" in marketplace. You will get Maven Integration for Eclipse provided by Sonatype. Use that to install.

查看更多
唯我独甜
4楼-- · 2019-02-11 18:40

You have to do a right click on the project, then choose ConfigureConvert to Maven project

查看更多
▲ chillily
5楼-- · 2019-02-11 18:45

this happened to me because I imported a parent folder as a project. so all my projects where sub directories of this parent folder and not a project them selves. after deleting them (only) from the workspace and re importing them as separate projects, maven worked fine.

查看更多
我想做一个坏孩纸
6楼-- · 2019-02-11 18:46

Right Click on the Project --> Configure --> Convert to Maven Project.

It will show Maven Related Options.

查看更多
ら.Afraid
7楼-- · 2019-02-11 18:49

After installing m2eclipse plugin, go to Window -> Preferences. Check "Maven" is enlisted at the left panel list

查看更多
登录 后发表回答