How to cancel Mark target launch as ignored in Eclipse in Eclipse settings?

I mistakenly clicked "Run the marker target as ignored in the Eclipse assembly in the Eclipse settings (experimental)":

enter image description here

Where / How do I cancel this?

+8
eclipse maven m2e
source share
2 answers

m2e uses the file YOUR_WORKSPACE/.metadata/.plugins/org2.eclipse.m2e.core/lifecycle-mapping-metadata.xml to store global life cycle mappings.

You can manually open this file and delete the corresponding entries. After that, you must reload the global lifecycle mappings using the 'reload workspace lifecycle mappings metadata' in window> settings> maven> lifecycle mappings. But you can also edit the file when Eclipse is not working. In this case, you do not need to reboot anything.

If you added only one ignore, you can completely delete the file (maybe back up somewhere to be safe). If you want to delete one, but leave the others, then choose everything between and of your choice.

Hope this helps a bit. :)

+18
source share

I know that I answer the question quite late, but I have a problem in the new version, and it will be useful for the developer. Since this plugin configuration is used to store only the Eclipse m2e settings. It does not affect the Maven design itself. Even if you want to delete the changes, a new plugin will be added to the plugin. with below groupID and artifact ID

 <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> 

With the aim of Maven, as shown below

 <goals> <goal>generate-application-xml</goal> </goals> 
0
source share

All Articles