diff --git a/xdoc/plugin.jelly b/xdoc/plugin.jelly
index cb6e0c48..d84c0f15 100644
--- a/xdoc/plugin.jelly
+++ b/xdoc/plugin.jelly
@@ -55,6 +55,7 @@
@pluginName the name of the plugin. @plugin:report goal must exist
@description text description of report
@link the nav-bar link for this report
+ @target the target for the new page (_self, _blank, ...)
-->
@@ -73,6 +74,7 @@
${report.put('pluginName', pluginName)}
${report.put('description', description)}
${report.put('link', link)}
+ ${report.put('target', target)}
${reports.add(report)}
@@ -182,13 +184,28 @@
@name
@img
@state - expanded / collapsed / none
+ @target
-->
-
+
+ ${pathTool.calculateLink(link,relativePath)}
+
+
+ newWindow
+ New Window
+
+
+ externalLink
+ External Link
+
+
+
+ ${target}
+
${name}
-
-
+
+
diff --git a/xdoc/src/plugin-resources/css/maven-classic.css b/xdoc/src/plugin-resources/css/maven-classic.css
index 77f5188b..31964ee5 100755
--- a/xdoc/src/plugin-resources/css/maven-classic.css
+++ b/xdoc/src/plugin-resources/css/maven-classic.css
@@ -96,6 +96,16 @@ a:link.selfref, a:visited.selfref {
color: @UI_HREF_LINK_SELFREF@ !important;
}
+a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover {
+ background: url(../images/external-classic.png) right center no-repeat;
+ padding-right: 15px;
+}
+
+a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover {
+ background: url(../images/newwindow-classic.png) right center no-repeat;
+ padding-right: 18px;
+}
+
h2, h3 {
margin-top: 1em;
margin-bottom: 0;
@@ -114,7 +124,7 @@ img.handle {
#navcolumn div div {
padding-left: 10px;
}
-/* $Id: maven-classic.css,v 1.1 2004/05/03 23:51:22 brett Exp $
+/* $Id: maven-classic.css,v 1.2 2004/05/10 22:25:05 aheritier Exp $
This file defines basic default formatting for HTML conforming to Tigris application style. To extend or override these rules for your instance, edit inst.css instead of this file. */
diff --git a/xdoc/src/plugin-resources/css/maven-theme.css b/xdoc/src/plugin-resources/css/maven-theme.css
index 6a378fb7..f5a14d1b 100644
--- a/xdoc/src/plugin-resources/css/maven-theme.css
+++ b/xdoc/src/plugin-resources/css/maven-theme.css
@@ -14,6 +14,14 @@ a:visited {
a:active, a:hover {
color:#69c;
}
+a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover {
+ background: url(../images/external.png) right center no-repeat;
+ padding-right: 15px;
+}
+a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover {
+ background: url(../images/newwindow.png) right center no-repeat;
+ padding-right: 18px;
+}
h2 {
padding: 4px 4px 4px 6px;
border: 1px solid #999;
@@ -45,9 +53,9 @@ p {
background-color: #eee;
}
#navcolumn h5 {
- font-size: smaller;
- border-bottom: 1px solid #aaaaaa;
- padding-top: 2px;
+ font-size: smaller;
+ border-bottom: 1px solid #aaaaaa;
+ padding-top: 2px;
}
table.bodyTable th {
diff --git a/xdoc/src/plugin-resources/images/external-classic.png b/xdoc/src/plugin-resources/images/external-classic.png
new file mode 100644
index 00000000..09a54252
Binary files /dev/null and b/xdoc/src/plugin-resources/images/external-classic.png differ
diff --git a/xdoc/src/plugin-resources/images/external.png b/xdoc/src/plugin-resources/images/external.png
new file mode 100644
index 00000000..3f999fc8
Binary files /dev/null and b/xdoc/src/plugin-resources/images/external.png differ
diff --git a/xdoc/src/plugin-resources/images/newwindow-classic.png b/xdoc/src/plugin-resources/images/newwindow-classic.png
new file mode 100644
index 00000000..5987117f
Binary files /dev/null and b/xdoc/src/plugin-resources/images/newwindow-classic.png differ
diff --git a/xdoc/src/plugin-resources/images/newwindow.png b/xdoc/src/plugin-resources/images/newwindow.png
new file mode 100644
index 00000000..6287f72b
Binary files /dev/null and b/xdoc/src/plugin-resources/images/newwindow.png differ
diff --git a/xdoc/src/plugin-resources/navigation.jelly b/xdoc/src/plugin-resources/navigation.jelly
index f2471998..327c9cd9 100644
--- a/xdoc/src/plugin-resources/navigation.jelly
+++ b/xdoc/src/plugin-resources/navigation.jelly
@@ -54,20 +54,10 @@
-
+
-
diff --git a/xdoc/src/plugin-resources/site.jsl b/xdoc/src/plugin-resources/site.jsl
index 5957abfb..ac0f1b69 100644
--- a/xdoc/src/plugin-resources/site.jsl
+++ b/xdoc/src/plugin-resources/site.jsl
@@ -253,6 +253,7 @@
+
@@ -262,10 +263,10 @@
-
+
-
+
@@ -279,15 +280,17 @@
+
+
${maven.xdoc.crumb.separator}
-
+
@@ -446,25 +449,47 @@
-
-
-
-
-
-
-
-
+
+
+
+
+ ${attr.value}
+
+
+
+
+
+
+ ${href}
+ externalLink
+ External Link
+
- ${attr.value}
+ ${href}
-
-
-
-
-
-
+
+
+ ${attr.value}
+
+ newWindow
+ New Window
+
+ ${target}
+
+
+
+
+
+
+
+ ${attr.value}
+
+
+
+
+
diff --git a/xdoc/src/plugin-resources/templates/maven-reports.xml b/xdoc/src/plugin-resources/templates/maven-reports.xml
index 751b75e2..ae491d0d 100644
--- a/xdoc/src/plugin-resources/templates/maven-reports.xml
+++ b/xdoc/src/plugin-resources/templates/maven-reports.xml
@@ -39,7 +39,7 @@
#foreach ($report in $reports)
#if ($report.link && $report.link.length() != 0)
- | $report.name |
+ $report.name |
$report.description |
#end