[jbossws-issues] [JBoss JIRA] (JBWS-3666) Eclipse import of existing maven projects - remove errors "Plugin execution not covered by lifecycle configuration"

Alessio Soldano (JIRA) jira-events at lists.jboss.org
Mon Aug 12 13:05:26 EDT 2013


     [ https://issues.jboss.org/browse/JBWS-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated JBWS-3666:
----------------------------------

    Fix Version/s: jbossws-cxf-4.2.1
                       (was: jbossws-cxf-4.3)

    
> Eclipse import of existing maven projects - remove errors "Plugin execution not covered by lifecycle configuration"
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBWS-3666
>                 URL: https://issues.jboss.org/browse/JBWS-3666
>             Project: JBoss Web Services
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-cxf
>    Affects Versions: jbossws-cxf-4.2
>            Reporter: Petr Sakař
>            Priority: Minor
>             Fix For: jbossws-cxf-4.2.1
>
>
> add to the pom.xml maven profile which prevents errors "Plugin execution not covered by lifecycle configuration" during import of existing maven projects into eclipse with m2e
> {code:xml}
>     <profile>
>       <id>eclipse-m2e</id>
>       <activation>
>         <property>
>           <name>!eclipse-m2e</name>
>         </property>
>       </activation>
>       <build>
>         <pluginManagement>
>           <plugins>
>             <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. -->
>             <plugin>
>               <groupId>org.eclipse.m2e</groupId>
>               <artifactId>lifecycle-mapping</artifactId>
>               <version>1.0.0</version>
>               <configuration>
>                 <lifecycleMappingMetadata>
>                 <pluginExecutions>
>                   <pluginExecution>
>                     <pluginExecutionFilter>
>                       <groupId>org.apache.maven.plugins</groupId>
>                       <artifactId>maven-antrun-plugin</artifactId>
>                       <versionRange>[1.7,)</versionRange>
>                       <goals>
>                         <goal>run</goal>
>                       </goals>
>                     </pluginExecutionFilter>
>                     <action>
>                       <ignore />
>                     </action>
>                   </pluginExecution>
>                   <pluginExecution>
>                     <pluginExecutionFilter>
>                       <groupId>org.apache.maven.plugins</groupId>
>                       <artifactId>maven-dependency-plugin</artifactId>
>                       <versionRange>[2.4,)</versionRange>
>                       <goals>
>                         <goal>sources</goal>
>                         <goal>copy</goal>
>                       </goals>
>                     </pluginExecutionFilter>
>                     <action>
>                       <ignore />
>                     </action>
>                   </pluginExecution>
>                   <pluginExecution>
>                     <pluginExecutionFilter>
>                       <groupId>org.apache.maven.plugins</groupId>
>                       <artifactId>maven-enforcer-plugin</artifactId>
>                       <versionRange>[1.0.1,)</versionRange>
>                       <goals>
>                         <goal>enforce</goal>
>                       </goals>
>                     </pluginExecutionFilter>
>                     <action>
>                       <ignore />
>                     </action>
>                   </pluginExecution>
>                 </pluginExecutions>
>                 </lifecycleMappingMetadata>
>               </configuration>
>             </plugin>
>           </plugins>
>         </pluginManagement>
>       </build>
>     </profile>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbossws-issues mailing list