Permanently mark goal … in pom.xml as ignored

和自甴很熟 提交于 2019-12-25 05:06:16

问题


I have a web project in eclipse using m2e. I had an error about a missing artifact in pom.xml and I clicked Permanently mark goal ... in pom.xml as ignored. What happened was it no longer copies the jar files from my repository. How do I undo this action. Don't know what configuration file or settings file was changed when I did that


回答1:


I am assuming you are using m2e v1.1. In this version, you can choose which pom in the hierarchy gets marked as having its lifecycle mapping ignored. If it's not in the pom of the current project, it will be a pom in one of the parent projects. Here is a good explanation of what is happening:

https://www.eclipse.org/m2e/documentation/m2e-execution-not-covered.html

So you can do a file search for the term pluginManagement in all your pom.xml files in your workspace and you will find what you are looking for.



来源:https://stackoverflow.com/questions/11354778/permanently-mark-goal-in-pom-xml-as-ignored

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