You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2008/03/15 10:26:04 UTC
svn commit: r637376 -
/maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AbstractJxrReport.java
Author: bentmann
Date: Sat Mar 15 02:26:03 2008
New Revision: 637376
URL: http://svn.apache.org/viewvc?rev=637376&view=rev
Log:
[JXR-57] Change type of outputDirectory parameter to java.io.File
Modified:
maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AbstractJxrReport.java
Modified: maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AbstractJxrReport.java
URL: http://svn.apache.org/viewvc/maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AbstractJxrReport.java?rev=637376&r1=637375&r2=637376&view=diff
==============================================================================
--- maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AbstractJxrReport.java (original)
+++ maven/jxr/trunk/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AbstractJxrReport.java Sat Mar 15 02:26:03 2008
@@ -65,12 +65,14 @@
private Renderer siteRenderer;
/**
- * Output folder where the main page of the report will be generated.
+ * Output folder where the main page of the report will be generated. Note that this parameter is only relevant if
+ * the goal is run directly from the command line or from the default lifecycle. If the goal is run indirectly as
+ * part of a site generation, the output directory configured in the Maven Site Plugin will be used instead.
*
* @parameter expression="${project.reporting.outputDirectory}"
* @required
*/
- private String outputDirectory;
+ private File outputDirectory;
/**
* File input encoding.
@@ -360,7 +362,7 @@
*/
protected String getOutputDirectory()
{
- return outputDirectory;
+ return outputDirectory.getAbsolutePath();
}
/**