Restore maven plugin for a project on eclipse

孤者浪人 提交于 2019-12-21 06:48:27

问题


I've disabled m2eclipse plugin for a project by clicking on "Disable Maven Nature" as shown in the Figure below. Then the Maven entry disappeared from the menu and I'm unable to restore it.

How do I restore/reset/re-enable so that the entry appears again?

PS 1: I'd like to do that without re-importing the project.

PS 2: I've looked in ${WORKSPACE}/.metadata\.plugins\org.eclipse.m2e.core.ui and ${WORKSPACE}/.metadata\.plugins\org.eclipse.m2e.core but nothing seems related.


回答1:


Solution:

Go to the project menu (right click on Package Explorer) > Configure > Convert to Maven Project

This should restore the entry in the project menu.



来源:https://stackoverflow.com/questions/9823350/restore-maven-plugin-for-a-project-on-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!