title: Eclipse m2e connector for JAX-WS org.codehaus.mojo
body: <p>I am trying to consume a webservice using <code>wsimport</code> goal declared at maven build. But I am facing the problem with <code>m2e connectors</code>. There is an error in my POM which says</p>
  
  <pre><code>Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:jaxws-maven-
            plugin:1.10:wsimport (execution: default, phase: generate-sources)
  </code></pre>
  
  <p>I have been trying to install m2e connectors but not getting them even in marketplace. There are other m2e connectors but not for JAX-WS which i need.</p>
  
  <p>I have followed and tried almost each solution mentioned <a href="https://stackoverflow.com/questions/6352208/how-to-solve-plugin-execution-not-covered-by-lifecycle-configuration-for-sprin">here</a> but all in vain.</p>
  
  <p>Although there is no problem in generating the resources. The resources are generated at build time successfully but this POM error <strong>is not allowing</strong> my project to get sync with my tomcat and each time I have to deploy the war manually to test even the little changes i make.</p>
  
  <p>All this is really annoying and I need to figure out a solution to this. I am using eclipse juno in this.
  Below is the POM file I am using</p>
  
  <pre><code>&lt;build&gt;
      &lt;finalName&gt;home&lt;/finalName&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.10&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;phase&gt;post-clean&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;wsimport&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
              &lt;!-- --&gt;
              &lt;configuration&gt;
                  &lt;wsdlUrls&gt;
                      &lt;wsdlUrl&gt;http://localhost:8080/email-service/services/EmailService?wsdl&lt;/wsdlUrl&gt;
                  &lt;/wsdlUrls&gt;
                  &lt;sourceDestDir&gt;${project.build.directory}/generated&lt;/sourceDestDir&gt;
                  &lt;verbose&gt;true&lt;/verbose&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.3.2&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;source&gt;1.6&lt;/source&gt;
                  &lt;target&gt;1.6&lt;/target&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.3.1&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;source&gt;1.6&lt;/source&gt;
                  &lt;target&gt;1.6&lt;/target&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-resources-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.6&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;additional-resources&lt;/id&gt;
                      &lt;phase&gt;process-resources&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;copy-resources&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;outputDirectory&gt;${project.build.directory}/home/WEB-INF/classes&lt;/outputDirectory&gt;
                          &lt;resources&gt;
                              &lt;resource&gt;
                                  &lt;directory&gt;${project.basedir}/src/main/webapp/resources/props&lt;/directory&gt;
                              &lt;/resource&gt;
                          &lt;/resources&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>