maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From schu...@apache.org
Subject svn commit: r1749579 - in /maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr: JxrReport.java JxrTestReport.java
Date Tue, 21 Jun 2016 17:59:34 GMT
Author: schulte
Date: Tue Jun 21 17:59:34 2016
New Revision: 1749579

URL: http://svn.apache.org/viewvc?rev=1749579&view=rev
Log:
[JXR-131] Reports 'jxr' and 'test-jxr' do not contain generated sources.


Modified:
    maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/JxrReport.java
    maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/JxrTestReport.java

Modified: maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/JxrReport.java
URL: http://svn.apache.org/viewvc/maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/JxrReport.java?rev=1749579&r1=1749578&r2=1749579&view=diff
==============================================================================
--- maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/JxrReport.java
(original)
+++ maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/JxrReport.java
Tue Jun 21 17:59:34 2016
@@ -19,16 +19,18 @@ package org.apache.maven.plugin.jxr;
  * under the License.
  */
 
-import org.apache.maven.plugins.annotations.Mojo;
-import org.apache.maven.plugins.annotations.Parameter;
-import org.apache.maven.project.MavenProject;
-
 import java.io.File;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.List;
 import java.util.Locale;
 
+import org.apache.maven.plugins.annotations.Execute;
+import org.apache.maven.plugins.annotations.LifecyclePhase;
+import org.apache.maven.plugins.annotations.Mojo;
+import org.apache.maven.plugins.annotations.Parameter;
+import org.apache.maven.project.MavenProject;
+
 /**
  * Creates an html-based, cross referenced version of Java source code
  * for a project.
@@ -37,6 +39,7 @@ import java.util.Locale;
  * @version $Id$
  */
 @Mojo( name = "jxr" )
+@Execute( phase = LifecyclePhase.GENERATE_SOURCES )
 public class JxrReport
     extends AbstractJxrReport
 {

Modified: maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/JxrTestReport.java
URL: http://svn.apache.org/viewvc/maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/JxrTestReport.java?rev=1749579&r1=1749578&r2=1749579&view=diff
==============================================================================
--- maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/JxrTestReport.java
(original)
+++ maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/JxrTestReport.java
Tue Jun 21 17:59:34 2016
@@ -19,15 +19,17 @@ package org.apache.maven.plugin.jxr;
  * under the License.
  */
 
-import org.apache.maven.plugins.annotations.Mojo;
-import org.apache.maven.plugins.annotations.Parameter;
-import org.apache.maven.project.MavenProject;
-
 import java.io.File;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.Locale;
 
+import org.apache.maven.plugins.annotations.Execute;
+import org.apache.maven.plugins.annotations.LifecyclePhase;
+import org.apache.maven.plugins.annotations.Mojo;
+import org.apache.maven.plugins.annotations.Parameter;
+import org.apache.maven.project.MavenProject;
+
 /**
  * Creates an html-based, cross referenced version of Java source code
  * for a project's test sources.
@@ -37,6 +39,7 @@ import java.util.Locale;
  * @version $Id$
  */
 @Mojo( name = "test-jxr" )
+@Execute( phase = LifecyclePhase.GENERATE_TEST_SOURCES )
 public class JxrTestReport
     extends AbstractJxrReport
 {



Mime
View raw message