You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sc...@apache.org on 2016/06/21 18:00:39 UTC
svn commit: r1749581 - in
/maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr:
AggregatorJxrReport.java AggregatorJxrTestReport.java
Author: schulte
Date: Tue Jun 21 18:00:39 2016
New Revision: 1749581
URL: http://svn.apache.org/viewvc?rev=1749581&view=rev
Log:
[JXR-132] Aggregator reports should not require modules to be installed/deployed.
Modified:
maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AggregatorJxrReport.java
maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AggregatorJxrTestReport.java
Modified: maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AggregatorJxrReport.java
URL: http://svn.apache.org/viewvc/maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AggregatorJxrReport.java?rev=1749581&r1=1749580&r2=1749581&view=diff
==============================================================================
--- maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AggregatorJxrReport.java (original)
+++ maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AggregatorJxrReport.java Tue Jun 21 18:00:39 2016
@@ -19,14 +19,17 @@ package org.apache.maven.plugin.jxr;
* 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
{
Modified: maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AggregatorJxrTestReport.java
URL: http://svn.apache.org/viewvc/maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AggregatorJxrTestReport.java?rev=1749581&r1=1749580&r2=1749581&view=diff
==============================================================================
--- maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AggregatorJxrTestReport.java (original)
+++ maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AggregatorJxrTestReport.java Tue Jun 21 18:00:39 2016
@@ -19,14 +19,17 @@ package org.apache.maven.plugin.jxr;
* 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
{