changeset 599:7cdd2c84ef35

Ignore lifecycle mapping which m2eclipse doesn't know. It's just an Eclipse setting. Gets rid of error markers :) Reviewed-by: neugens Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2012-September/003130.html
author Severin Gehwolf <sgehwolf@redhat.com>
date Tue, 11 Sep 2012 12:41:35 +0200
parents 34c478d54c36
children 6bb30e80f53a
files pom.xml
diffstat 1 files changed, 30 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pom.xml	Mon Sep 10 19:15:38 2012 +0200
+++ b/pom.xml	Tue Sep 11 12:41:35 2012 +0200
@@ -65,7 +65,7 @@
     <mockito.version>1.9.0</mockito.version>
     <fest.version>1.2.1</fest.version>
     <powermock.version>1.4.11</powermock.version>
-	<easymock.version>3.1</easymock.version>
+    <easymock.version>3.1</easymock.version>
 
     <jdktools.version>1.7.0</jdktools.version>
     <jfreechart.version>1.0.14</jfreechart.version>
@@ -163,6 +163,35 @@
           <artifactId>maven-bundle-plugin</artifactId>
           <version>1.4.0</version>
         </plugin>
+        <!--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.10.201208310627,)
+                    </versionRange>
+                    <goals>
+                      <goal>prepare-agent</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore></ignore>
+                  </action>
+                </pluginExecution>
+              </pluginExecutions>
+            </lifecycleMappingMetadata>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>