aboutsummaryrefslogtreecommitdiff
path: root/jacoco-maven-plugin
diff options
context:
space:
mode:
authorMarc R. Hoffmann <hoffmann@mountainminds.com>2015-01-07 20:54:06 +0100
committerMarc R. Hoffmann <hoffmann@mountainminds.com>2015-01-07 20:55:23 +0100
commit6ab169bf46e98d5d6bce822a56f2c588696fbd7a (patch)
tree9f623cb106a4b35d83aaf6b94250c542c586b46d /jacoco-maven-plugin
parentaa0ca31519770c6ba1d524d3ad2099bfc90834bc (diff)
downloadjacoco-6ab169bf46e98d5d6bce822a56f2c588696fbd7a.tar.gz
Remove redundancy from documentation (#243).
Diffstat (limited to 'jacoco-maven-plugin')
-rw-r--r--jacoco-maven-plugin/src/org/jacoco/maven/AgentITMojo.java12
-rw-r--r--jacoco-maven-plugin/src/org/jacoco/maven/ReportITMojo.java8
2 files changed, 10 insertions, 10 deletions
diff --git a/jacoco-maven-plugin/src/org/jacoco/maven/AgentITMojo.java b/jacoco-maven-plugin/src/org/jacoco/maven/AgentITMojo.java
index b0167358..e0590c87 100644
--- a/jacoco-maven-plugin/src/org/jacoco/maven/AgentITMojo.java
+++ b/jacoco-maven-plugin/src/org/jacoco/maven/AgentITMojo.java
@@ -15,16 +15,12 @@ package org.jacoco.maven;
import java.io.File;
/**
- * Prepares a property pointing to the JaCoCo runtime agent that can be passed
- * as a VM argument to the application under test for integration tests.
- * Depending on the project packaging type by default a property with the
- * following name is set:
+ * Same as <code>prepare-agent</code>, but provides default values suitable for
+ * integration-tests:
* <ul>
- * <li>tycho.testArgLine for packaging type eclipse-test-plugin and</li>
- * <li>argLine otherwise.</li>
+ * <li>bound to <code>pre-integration-test</code> phase</li>
+ * <li>different <code>destFile</code></li>
* </ul>
- * Resulting coverage information is collected during execution and by default
- * written to a file when the process terminates.
*
* @phase pre-integration-test
* @goal prepare-agent-integration
diff --git a/jacoco-maven-plugin/src/org/jacoco/maven/ReportITMojo.java b/jacoco-maven-plugin/src/org/jacoco/maven/ReportITMojo.java
index a1e6d720..e120e6cf 100644
--- a/jacoco-maven-plugin/src/org/jacoco/maven/ReportITMojo.java
+++ b/jacoco-maven-plugin/src/org/jacoco/maven/ReportITMojo.java
@@ -16,8 +16,12 @@ import java.io.File;
import java.util.Locale;
/**
- * Creates a code coverage report for integration tests of a single project in
- * multiple formats (HTML, XML, and CSV).
+ * Same as <code>report</code>, but provides default values suitable for
+ * integration-tests:
+ * <ul>
+ * <li>bound to <code>report-integration</code> phase</li>
+ * <li>different <code>dataFile</code></li>
+ * </ul>
*
* @phase verify
* @goal report-integration