Stephen McConnell <mcconnell@apache.org> writes:

The following patch corrects a number of bugs in the maven-report.xml.
The bugs include not checking for the existance of the tasks.xml and
changes.xml which results in links being added to the report summary
page that don't refer to anything.
Cheers, Steve.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112965 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
kschrader
2003-02-21 16:08:33 +00:00
parent 47bcefd504
commit 293ea5e04e

View File

@@ -26,6 +26,7 @@
</tr>
#end
#else
#if ($files.file("$maven-docs-dest/changes.html").exists())
<tr><td><a href="changes.html">Changes</a></td>
<td>
This document provides a history of the changes made to the
@@ -33,6 +34,7 @@
xdocs/changes.xml file.
</td>
</tr>
#end
#if ($project.repository)
<tr><td><a href="changelog-report.html">Change Log</a></td>
<td>
@@ -54,18 +56,20 @@
</td>
</tr>
#end
<tr><td><a href="tasks.html">Tasks</a></td>
#if ($files.file("$maven-docs-dest/task.html").exists())
<tr><td><a href="task.html">Tasks</a></td>
<td>
This document provides a list of tasks that need to
be completed for the project, generated from the
xdocs/tasks.xml file.
</td>
</tr>
#end
<tr><td><a href="task-list.html">Task List</a></td>
<td>
This document provides a list of tasks that need to
be completed for the project, generated from the
@task javadoc tag in java source code.
@todo javadoc tag in java source code.
</td>
</tr>
#if ($files.file($project.build.unitTestSourceDirectory).exists())