Note that there are some explanatory texts on larger screens.

plurals
  1. POPlugin execution not covered by lifecycle configuration error in eclipse with pluginManagement in parent pom
    primarykey
    data
    text
    <p>I have jaxws-maven-plugin in parent pom.xml in the pluginManagement tag and I am referring to this plugin in the child pom. </p> <p>mvn clean install is running fine. But, eclipse is complaining that "Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:jaxws-maven-plugin:1.12:wsimport (execution: FirstWsdl, phase: generate-sources)". </p> <p>Could you suggest how to avoid this error in eclipse?</p> <p>parent pom</p> <pre><code>&lt;pluginManagement&gt; &lt;plugins&gt; ... &lt;plugin&gt; &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt; &lt;artifactId&gt;jaxws-maven-plugin&lt;/artifactId&gt; &lt;version&gt;1.12&lt;/version&gt; &lt;executions&gt; &lt;execution&gt; &lt;id&gt;FirstWsdl&lt;/id&gt; &lt;goals&gt; &lt;goal&gt;wsimport&lt;/goal&gt; &lt;/goals&gt; &lt;phase&gt;generate-sources&lt;/phase&gt; &lt;configuration&gt; &lt;wsdlLocation&gt;location/file.wsdl&lt;/wsdlLocation&gt; &lt;wsdlFiles&gt; &lt;wsdlFile&gt;file.wsdl&lt;/wsdlFile&gt; &lt;/wsdlFiles&gt; &lt;packageName&gt;com.xxx.package&lt;/packageName&gt; &lt;/configuration&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;configuration&gt; &lt;sourceDestDir&gt;${basedir}/generated&lt;/sourceDestDir&gt; &lt;verbose&gt;true&lt;/verbose&gt; &lt;extension&gt;true&lt;/extension&gt; &lt;keep&gt;true&lt;/keep&gt; &lt;vmArgs&gt; &lt;vmArg .../&gt; &lt;/vmArgs&gt; &lt;/configuration&gt; &lt;/plugin&gt; ... &lt;/plugins&gt; &lt;/pluginManagement&gt; </code></pre> <p>child pom</p> <pre><code>&lt;plugins&gt; &lt;plugin&gt; &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt; &lt;artifactId&gt;jaxws-maven-plugin&lt;/artifactId&gt; &lt;/plugin&gt; &lt;/plugins&gt; </code></pre> <p>I looked at this question and reply <a href="https://stackoverflow.com/questions/6352208/how-to-solve-plugin-execution-not-covered-by-lifecycle-configuration-for-sprin?rq=1">How to solve &quot;Plugin execution not covered by lifecycle configuration&quot; for Spring Data Maven Builds</a>, but, should I use pluginManagement both in parent and child pom to avoid this error?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload