Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Error: Plugin execution not covered by lifecyle configuration

Hello,

I'm using Eclipse 3.7 M5 with m2eclipse 0.12.1 from http://m2eclipse.sonatype.org/sites/m2e which works quite well. One of my projects uses axistools-m-p to have Maven automatically generate Java sources from a WSDL:

(...)
<plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>axistools-maven-plugin</artifactId>
        <version>1.4</version>
        <executions>
                <execution>
                        <id>create-java-sources</id>
                        <phase>generate-sources</phase>
                        <goals>
                                <goal>wsdl2java</goal>
                        </goals>
                        <configuration>
                                <wrapArrays>false</wrapArrays>
                                <typeMappingVersion>1.2</typeMappingVersion>
                        </configuration>
                </execution>
        </executions>
        <dependencies>
                <dependency>
                        <groupId>javax.mail</groupId>
                        <artifactId>mail</artifactId>
                        <version>1.4.1</version>
                </dependency>
                <dependency>
                        <groupId>javax.activation</groupId>
                        <artifactId>activation</artifactId>
                        <version>1.1</version>
                </dependency>
        </dependencies>
</plugin>
(...)

This works well both on the command line (Maven 3.0.3) and by using m2eclipse 0.12.1.

Today I decided to try out the newer m2eclipse plugin directly available via Eclipse's update manager and installed 0.13.0.201103151108. Unfortunately the same project doesn't compile anymore because of the following error:

"Plugin execution not covered by lifecyle configuration: org.codehaus.mojo:axistools-maven-plugin:1.4:wsdl2java (execution: create-java-sources, phase: generate-sources)"

When I select "Quick fix" a dialog box pops up and lets me choose between discovering new m2e connectors (pretty cool, but unfortunately there isn't one) and ignoring the wsdl2java goal.

What can (should) I do?


Regards

Thorsten

Back to the top