aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2015-03-29 23:15:25 +0200
committerEvgeny Mandrikov <mandrikov@gmail.com>2015-03-29 23:16:09 +0200
commit6b72d5a96182af30dc8d109d3ed691cedaee3061 (patch)
tree96f6d891b11ea33a44825efcd965d4b5f0026bf0
parent6a96fadce30f44b92bef1142cd96fbc92ed2b002 (diff)
downloadjacoco-6b72d5a96182af30dc8d109d3ed691cedaee3061.tar.gz
GitHub #203: Add lifecycle-mapping-metadata.xml for M2E
-rw-r--r--jacoco-maven-plugin/META-INF/m2e/lifecycle-mapping-metadata.xml32
-rw-r--r--jacoco-maven-plugin/pom.xml6
-rw-r--r--org.jacoco.doc/docroot/doc/changes.html6
3 files changed, 44 insertions, 0 deletions
diff --git a/jacoco-maven-plugin/META-INF/m2e/lifecycle-mapping-metadata.xml b/jacoco-maven-plugin/META-INF/m2e/lifecycle-mapping-metadata.xml
new file mode 100644
index 00000000..976000b0
--- /dev/null
+++ b/jacoco-maven-plugin/META-INF/m2e/lifecycle-mapping-metadata.xml
@@ -0,0 +1,32 @@
+<!--
+ Copyright (c) 2009, 2015 Mountainminds GmbH & Co. KG and Contributors
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Evgeny Mandrikov - initial API and implementation
+-->
+<lifecycleMappingMetadata>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <goals>
+ <goal>prepare-agent</goal>
+ <goal>prepare-agent-integration</goal>
+ <goal>merge</goal>
+ <goal>report</goal>
+ <goal>report-integration</goal>
+ <goal>check</goal>
+ <goal>dump</goal>
+ <goal>instrument</goal>
+ <goal>restore-instrumented-classes</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore />
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+</lifecycleMappingMetadata>
diff --git a/jacoco-maven-plugin/pom.xml b/jacoco-maven-plugin/pom.xml
index 38b52e0f..4b5126c8 100644
--- a/jacoco-maven-plugin/pom.xml
+++ b/jacoco-maven-plugin/pom.xml
@@ -80,6 +80,12 @@
<build>
<sourceDirectory>src</sourceDirectory>
+ <resources>
+ <resource>
+ <directory>META-INF</directory>
+ <targetPath>META-INF</targetPath>
+ </resource>
+ </resources>
<plugins>
<plugin>
diff --git a/org.jacoco.doc/docroot/doc/changes.html b/org.jacoco.doc/docroot/doc/changes.html
index a99a3903..004b9966 100644
--- a/org.jacoco.doc/docroot/doc/changes.html
+++ b/org.jacoco.doc/docroot/doc/changes.html
@@ -20,6 +20,12 @@
<h2>Snapshot Build @qualified.bundle.version@ (@build.date@)</h2>
+<h3>New Features</h3>
+<ul>
+ <li>Added lifecycle-mapping-metadata.xml for M2E
+ (GitHub <a href="https://github.com/jacoco/jacoco/issues/203">#203</a>).</li>
+</ul>
+
<h2>Release 0.7.4 (2015/02/26)</h2>
<h3>Fixed Bugs</h3>