aboutsummaryrefslogtreecommitdiff
path: root/jacoco-maven-plugin
diff options
context:
space:
mode:
authorMirko Friedenhagen <mfriedenhagen@gmail.com>2013-11-29 23:41:43 +0100
committerMirko Friedenhagen <mfriedenhagen@gmail.com>2013-11-29 23:41:47 +0100
commit29b5cdcbfbdbbe089a2f800527de72bd6928d051 (patch)
tree155c726da19deaf2a458e1c7a05451d57f6958a2 /jacoco-maven-plugin
parent464d355bd6acac059f5c5681646fbb7e5b4d2de2 (diff)
downloadjacoco-29b5cdcbfbdbbe089a2f800527de72bd6928d051.tar.gz
Update documentation of MergeMojo and explain the need for an implmentation hint with Maven-2.
Diffstat (limited to 'jacoco-maven-plugin')
-rw-r--r--jacoco-maven-plugin/src/org/jacoco/maven/MergeMojo.java16
1 files changed, 15 insertions, 1 deletions
diff --git a/jacoco-maven-plugin/src/org/jacoco/maven/MergeMojo.java b/jacoco-maven-plugin/src/org/jacoco/maven/MergeMojo.java
index 1071dffe..ae0adc47 100644
--- a/jacoco-maven-plugin/src/org/jacoco/maven/MergeMojo.java
+++ b/jacoco-maven-plugin/src/org/jacoco/maven/MergeMojo.java
@@ -44,7 +44,21 @@ public class MergeMojo extends AbstractJacocoMojo {
/**
* This mojo accepts any number of execution data file sets.
- *
+ *
+ * Note that you need an <tt>implmentation</tt> hint on
+ * <tt>fileset</tt> with Maven 2 (not needed with Maven 3):
+ *
+ * <pre>
+ * {@code
+ * <fileSets>
+ * <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
+ * <directory>${project.parent.build.directory}</directory>
+ * <includes>
+ * <include>*.exec</include>
+ * </includes>
+ * </fileSet>
+ * </fileSets>}
+ * </pre>
* @parameter expression="${jacoco.fileSets}"
* @required
*/