Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] m2e lifecycleMapping | Plugin execution not covered by lifecycle configuration

Yes wrong  place.
See the first pom snippet here 
http://wiki.eclipse.org/M2E_plugin_execution_not_covered

The best way to not make mistake is to use the eclipse quick-fix and just modify the action section in the added stuff.


On Thu, Mar 14, 2013 at 6:54 PM, King Holger (CI/AFP2) <Holger.King@xxxxxxxxxxxx> wrote:
Dear m2e community,
 
when reading:
 
I thought, I could map a plugin like “axis2-wsdl2code-maven-plugin” to a Maven lifecycle – here “generate-sources” to achieve getting a valid POM without the following exception:
Plugin execution not covered by lifecycle configuration: org.apache.axis2:axis2-wsdl2code-maven-plugin:1.6.2:wsdl2code (execution: default, phase: generate-sources)
 
Am I wrong using the below configuration?
 
                        <plugin>
                                <groupId>org.apache.axis2</groupId>
                                <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
                                <version>1.6.2</version>
                                <executions>
                                        <execution>
                                                <phase>generate-sources</phase>
                                                <goals>
                                                        <goal>wsdl2code</goal>
                                                </goals>
                                        </execution>
                                </executions>
                                <configuration>
                                        <lifecycleMappingMetadata>
                                                <pluginExecutions>
                                                        <pluginExecution>
                                                                <pluginExecutionFilter>
                                                                        <groupId>org.apache.axis2</groupId>
                                                                        <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
                                                                        <versionRange>[1.0.0,)</versionRange>
                                                                        <goals>
                                                                                <goal></goal>
                                                                        </goals>
                                                                </pluginExecutionFilter>
                                                                <action>
                                                                        <execute>
                                                                                <runOnIncremental>false</runOnIncremental>
                                                                        </execute>
                                                                </action>
                                                        </pluginExecution>
                                                </pluginExecutions>
                                        </lifecycleMappingMetadata>
                                        ...
                                </configuration>
                        </plugin>
 
 

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users




--
Adrien Rivard

Back to the top