PR: MPJAVADOC-65
Added maven.javadoc.warningsreport and maven.javadoc.javadocreport properties. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@357072 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
8902a56770
commit
daacdb1e02
4 files changed
+36
-12
No files matched your search
+19
-12
@@ -210,18 +210,21 @@ internal_javadoc_working_dir = [${internal_javadoc_working_dir}]
|
||||
target="_blank"
|
||||
description="JavaDoc API documentation."
|
||||
/>
|
||||
<doc:registerReport
|
||||
name="JavaDoc Report"
|
||||
pluginName=""
|
||||
link="javadoc"
|
||||
description="Report on the generation of JavaDoc."
|
||||
/>
|
||||
<doc:registerReport
|
||||
name="JavaDoc Warnings Report"
|
||||
pluginName=""
|
||||
link="javadoc-warnings-report"
|
||||
description="Formatted report of JavaDoc warnings."
|
||||
/>
|
||||
<j:if test="${maven.javadoc.javadocreport}">
|
||||
<doc:registerReport
|
||||
name="JavaDoc Report"
|
||||
pluginName=""
|
||||
link="javadoc"
|
||||
description="Report on the generation of JavaDoc."
|
||||
/>
|
||||
</j:if>
|
||||
<j:if test="${maven.javadoc.warningsreport}">
|
||||
<doc:registerReport
|
||||
name="JavaDoc Warnings Report"
|
||||
pluginName=""
|
||||
link="javadoc-warnings-report"
|
||||
description="Formatted report of JavaDoc warnings."/>
|
||||
</j:if>
|
||||
</j:if>
|
||||
</goal>
|
||||
|
||||
@@ -544,12 +547,15 @@ internal_javadoc_working_dir = [${internal_javadoc_working_dir}]
|
||||
<j:arg type="java.lang.String" value="" />
|
||||
</j:invokeStatic>
|
||||
|
||||
<j:if test="${maven.javadoc.javadocreport}">
|
||||
<doc:text-xdoc
|
||||
title="Javadoc Report"
|
||||
section="Javadoc Report"
|
||||
inputText="${inputText}"
|
||||
output="${genDocs}/javadoc.xml"/>
|
||||
</j:if>
|
||||
|
||||
<j:if test="${maven.javadoc.warningsreport}">
|
||||
<javadoc:javadocwarnings
|
||||
verbose="${maven.javadoc.debug}"
|
||||
inputFileName="${internal_javadoc_working_dir}/report.txt"
|
||||
@@ -564,6 +570,7 @@ internal_javadoc_working_dir = [${internal_javadoc_working_dir}]
|
||||
outputMode="xml"
|
||||
prettyPrint="true"
|
||||
/>
|
||||
</j:if>
|
||||
|
||||
<ant:delete dir="${internal_javadoc_src_tmp}"/>
|
||||
|
||||
|
||||
@@ -55,3 +55,5 @@ maven.javadoc.useexternalfile = yes
|
||||
maven.javadoc.version = true
|
||||
maven.javadoc.windowtitle = ${pom.name} ${pom.currentVersion} API
|
||||
maven.javadoc.failonerror = false
|
||||
maven.javadoc.warningsreport = true
|
||||
maven.javadoc.javadocreport = true
|
||||
@@ -27,6 +27,7 @@
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.8-SNAPSHOT" date="In SVN">
|
||||
<action dev="ltheussl" type="add" issue="MPJAVADOC-65">Added maven.javadoc.warningsreport and maven.javadoc.javadocreport properties.</action>
|
||||
<action dev="ltheussl" type="update" issue="MPJAVADOC-66">The maxmemory property is set to 512m by default.</action>
|
||||
<action dev="ltheussl" type="fix" issue="MPJAVADOC-61">StringIndexOutOfBoundsException on parsing the files.</action>
|
||||
<action dev="aheritier" type="fix" issue="MPJAVADOC-59">Files package.html and overview.html are not copied when source modifications are used.</action>
|
||||
|
||||
@@ -141,6 +141,20 @@
|
||||
than 0. Default value : false.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.javadoc.javadocreport</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Include the javadoc report. Default value: true.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.javadoc.warningsreport</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Include the javadoc warnings report. Default value: true.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</section>
|
||||
<section name="Standard Doclet Settings">
|
||||
|
||||
Reference in new issue
Block a user