[jbosstools-commits] JBoss Tools SVN: r39419 - trunk/build/parent.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Mar 9 18:46:19 EST 2012


Author: fbricon
Date: 2012-03-09 18:46:18 -0500 (Fri, 09 Mar 2012)
New Revision: 39419

Modified:
   trunk/build/parent/pom.xml
Log:
ignore jacoco-maven-plugin execution in m2e

Modified: trunk/build/parent/pom.xml
===================================================================
--- trunk/build/parent/pom.xml	2012-03-09 23:15:01 UTC (rev 39418)
+++ trunk/build/parent/pom.xml	2012-03-09 23:46:18 UTC (rev 39419)
@@ -267,6 +267,42 @@
 				</executions>
 			</plugin>
 		</plugins>
+        
+		<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.jacoco</groupId>
+										<artifactId>jacoco-maven-plugin</artifactId>
+										<versionRange>[0.5,)
+										</versionRange>
+										<goals>
+											<goal>prepare-agent</goal>
+										</goals>
+									</pluginExecutionFilter>
+									<action>
+                                        <!-- m2e doesn't know what to do with jacoco, 
+                                            let's ignore it or annoying error markers appear
+                                            see http://wiki.eclipse.org/M2E_plugin_execution_not_covered   
+                                         -->
+										<ignore></ignore>
+									</action>
+								</pluginExecution>
+							</pluginExecutions>
+						</lifecycleMappingMetadata>
+					</configuration>
+				</plugin>
+			</plugins>
+		</pluginManagement>        
 	</build>
 
 	<scm>



More information about the jbosstools-commits mailing list