commit | bad5dd50438e15f3b61adb7c00ffdfe61377f139 | [log] [tgz] |
---|---|---|
author | Christian Schulte <schulte@apache.org> | Tue Jun 21 18:00:39 2016 +0000 |
committer | Christian Schulte <schulte@apache.org> | Tue Jun 21 18:00:39 2016 +0000 |
tree | 0983ff03a0460a70722f0d28d04992a1d2aeac77 | |
parent | f11fd6f244cccd082c986758e248d125536ff622 [diff] |
[JXR-132] Aggregator reports should not require modules to be installed/deployed. git-svn-id: https://svn.apache.org/repos/asf/maven/jxr/trunk@1749581 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AggregatorJxrReport.java b/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AggregatorJxrReport.java index e043ca1..dbad03a 100644 --- a/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AggregatorJxrReport.java +++ b/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AggregatorJxrReport.java
@@ -19,14 +19,17 @@ * under the License. */ +import org.apache.maven.plugins.annotations.Execute; +import org.apache.maven.plugins.annotations.LifecyclePhase; import org.apache.maven.plugins.annotations.Mojo; /** * Generates a combined JXR report in an aggregating project. - * + * * @since 2.3 */ @Mojo( name = "aggregate", aggregator = true ) +@Execute( phase = LifecyclePhase.COMPILE ) public class AggregatorJxrReport extends JxrReport {
diff --git a/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AggregatorJxrTestReport.java b/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AggregatorJxrTestReport.java index 60533aa..791ce52 100644 --- a/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AggregatorJxrTestReport.java +++ b/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AggregatorJxrTestReport.java
@@ -19,14 +19,17 @@ * under the License. */ +import org.apache.maven.plugins.annotations.Execute; +import org.apache.maven.plugins.annotations.LifecyclePhase; import org.apache.maven.plugins.annotations.Mojo; /** * Generates a combined JXR report for test code in an aggregating project. - * + * * @since 2.3 */ @Mojo( name = "test-aggregate", aggregator = true ) +@Execute( phase = LifecyclePhase.TEST_COMPILE ) public class AggregatorJxrTestReport extends JxrTestReport {