summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorMykola Nikishov2012-03-03 10:45:09 (EST)
committer Mykola Nikishov2012-03-03 10:57:23 (EST)
commit9796912c0ea7ac0c719b3bb26e0c9b375140147f (patch)
tree0b951edab8bbbcb45a334ce5423909338e5992b7
parent91bf230276bc3e926ecfbef10b3933ae04a30b45 (diff)
downloadorg.eclipse.recommenders-9796912c0ea7ac0c719b3bb26e0c9b375140147f.zip
org.eclipse.recommenders-9796912c0ea7ac0c719b3bb26e0c9b375140147f.tar.gz
org.eclipse.recommenders-9796912c0ea7ac0c719b3bb26e0c9b375140147f.tar.bz2
Disable JaCoCo Maven plugin for M2Erefs/changes/38/5238/1
M2E has no clue how to deal with JaCoCo Maven plugin and generates a lot of build errors in almost all projects. As there is no native support for M2E in JaCoCo Maven plugin right now and it seems not going to happen [1], just disable JaCoCo Maven plugin when building project in Eclipse with M2E. [1] http://sourceforge.net/apps/trac/eclemma/ticket/158 Change-Id: I1f9047562988f2fe8767c1ca098505edcf7023d9 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
-rw-r--r--pom.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 4f86ed1..37e772c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -233,6 +233,35 @@
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</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.4.201111111111,)
+ </versionRange>
+ <goals>
+ <goal>prepare-agent</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore></ignore>
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
</build>