In eclipse:
To correct "Plugin execution not covered by lifecycle configuration..." problem, I choose to create my lifecycle-mapping-metadata.xml
instead of pollute my pom with IDE concerns.
I manage to write this file with example, but I can't find a xsd or DTD for lifecycle-mapping-metadata.xml
. Where is it?
A typical lifecycle-mapping-metadata.xml
file in the eclipse/m2e-core
repo comes without an xsd reference.
But in that same m2e repo, you also have a org.eclipse.m2e.core/mdo/lifecycle-mapping-metadata-model.xml
which helps to validate that xml file. It is used as a model in the main pom.xml
, when used by the modello-maven-plugin
.