diff --git a/xdoc/plugin.jelly b/xdoc/plugin.jelly index d84c0f15..0403d87b 100644 --- a/xdoc/plugin.jelly +++ b/xdoc/plugin.jelly @@ -74,6 +74,7 @@ ${report.put('pluginName', pluginName)} ${report.put('description', description)} ${report.put('link', link)} + ${report.put('externalLink', externalLink)} ${report.put('target', target)} ${reports.add(report)} diff --git a/xdoc/src/plugin-resources/navigation.jelly b/xdoc/src/plugin-resources/navigation.jelly index 327c9cd9..a162aeab 100644 --- a/xdoc/src/plugin-resources/navigation.jelly +++ b/xdoc/src/plugin-resources/navigation.jelly @@ -53,9 +53,13 @@ + + + + @@ -76,4 +80,4 @@ - \ No newline at end of file + diff --git a/xdoc/src/plugin-resources/templates/maven-reports.xml b/xdoc/src/plugin-resources/templates/maven-reports.xml index 48e38764..5a1c6dd0 100644 --- a/xdoc/src/plugin-resources/templates/maven-reports.xml +++ b/xdoc/src/plugin-resources/templates/maven-reports.xml @@ -47,6 +47,16 @@ $report.description #end + #if ($report.externalLink && $report.externalLink.length() != 0) + + #if($report.target && $report.target.length() != 0) + $report.name + #else + $report.name + #end + $report.description + + #end #end diff --git a/xdoc/xdocs/changes.xml b/xdoc/xdocs/changes.xml index c87b1e65..7869dbe8 100644 --- a/xdoc/xdocs/changes.xml +++ b/xdoc/xdocs/changes.xml @@ -26,6 +26,7 @@ + Add an externalLink attribute to a report to use if link is not present Added a link to the release notes in the download report. Note that this link is only created if the project has a xdocs/changes.xml