[gatein-issues] [JBoss JIRA] (GTNPORTAL-2470) Fix "Plugin execution not covered by lifecycle configuration" error marker in Eclipse

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Tue Jun 12 06:33:04 EDT 2012


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

RH Bugzilla Integration updated GTNPORTAL-2470:
-----------------------------------------------

    Git Pull Request: https://github.com/gatein/gatein-portal/pull/50  (was: https://github.com/gatein/gatein-portal/pull/50)
     Bugzilla Update: Perform

    
> Fix "Plugin execution not covered by lifecycle configuration" error marker in Eclipse
> -------------------------------------------------------------------------------------
>
>                 Key: GTNPORTAL-2470
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-2470
>             Project: GateIn Portal
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>         Environment: Eclipse 3.7.1, m2e 1.0.200
>            Reporter: Peter Palaga
>            Assignee: Peter Palaga
>            Priority: Trivial
>
> Eclipse's Maven plugin m2e is showing several "Plugin execution not covered by lifecycle configuration" error markers in its Problems View after a fresh checkout of gatein-portal project. See: http://wiki.eclipse.org/M2E_plugin_execution_not_covered
> It can be fixed by inserting the following xml code under pluginManagement/plugins in pom.xml of gatein-portal:
> {code:xml} 
>            <!--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.4,)</versionRange>
>            						<goals>
>            							<goal>run</goal>
>            						</goals>
>            					</pluginExecutionFilter>
>            					<action>
>            						<ignore></ignore>
>            					</action>
>            				</pluginExecution>
>            				<pluginExecution>
>            					<pluginExecutionFilter>
>            						<groupId>
>            							org.jboss.maven.plugins
>            						</groupId>
>            						<artifactId>
>            							maven-jdocbook-plugin
>            						</artifactId>
>            						<versionRange>[2.3.4,)</versionRange>
>            						<goals>
>            							<goal>generate</goal>
>            							<goal>resources</goal>
>            						</goals>
>            					</pluginExecutionFilter>
>            					<action>
>            						<ignore></ignore>
>            					</action>
>            				</pluginExecution>
>            				<pluginExecution>
>            					<pluginExecutionFilter>
>            						<groupId>org.jibx</groupId>
>            						<artifactId>
>            							maven-jibx-plugin
>            						</artifactId>
>            						<versionRange>[1.2.2,)</versionRange>
>            						<goals>
>            							<goal>bind</goal>
>            						</goals>
>            					</pluginExecutionFilter>
>            					<action>
>            						<ignore></ignore>
>            					</action>
>            				</pluginExecution>
>            				<pluginExecution>
> 	                        <pluginExecutionFilter>
> 	                            <groupId>org.apache.maven.plugins</groupId>
> 	                            <artifactId>maven-dependency-plugin</artifactId>
> 	                            <versionRange>[1.0.0,)</versionRange>
> 	                            <goals>
> 	                                <goal>copy-dependencies</goal>
> 	                                <goal>unpack</goal>
> 	                            </goals>
> 	                        </pluginExecutionFilter>
> 	                        <action>
> 	                            <ignore />
> 	                        </action>
> 		                </pluginExecution>
>            			</pluginExecutions>
>            		</lifecycleMappingMetadata>
>            	</configuration>
>            </plugin>
> {code}
> It is worth discussing if gatein-parent/pom.xml is a better place for the above code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list