In a recent project, we were using the “xmlbeans-maven-plugin” for XML parsing with the “xmlbeans” goal configured on the plugin. However we get this annoying error message about lifecycle configuration on Eclipse “Plugin execution not covered by lifecycle configuration”!
To fix this, one solution consists of adding an ignore configuration to the pom.xml file that says to eclipse to ignore that goal on validation. I personally don’t like this solution because It pollutes the project pom.xml file with IDE specific stuff; and this solution is specific to the project, i.e. you could have this problem on other projects and you just want to fix once for all.
The other solution, that I personally advise, is to add that same configuration to the lifecycle mappings file of the m2e eclipse plugin:
- Open the Eclipse preferences window and open the maven preferences page:
Read full article from Solving the “Plugin execution not covered by lifecycle configuration” error in Eclipse | M. ICHIR's Java blog
No comments:
Post a Comment