From 81fa242c32f90d7a70e96d021ae3259a44ebfed2 Mon Sep 17 00:00:00 2001 From: ltheussl Date: Tue, 20 Sep 2005 18:51:20 +0000 Subject: [PATCH] MPMULTIPROJECT-44: use jelly for overview page template git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@290526 13f79535-47bb-0310-9956-ffa450edef68 --- multiproject/plugin.jelly | 13 ++-- .../templates/projects-overview.jelly | 63 +++++++++++++++++++ .../templates/projects-overview.xml | 46 -------------- multiproject/xdocs/changes.xml | 3 +- 4 files changed, 71 insertions(+), 54 deletions(-) create mode 100644 multiproject/src/plugin-resources/templates/projects-overview.jelly delete mode 100644 multiproject/src/plugin-resources/templates/projects-overview.xml diff --git a/multiproject/plugin.jelly b/multiproject/plugin.jelly index 574a945f..24c05d23 100644 --- a/multiproject/plugin.jelly +++ b/multiproject/plugin.jelly @@ -186,13 +186,12 @@ Creating overview page - + diff --git a/multiproject/src/plugin-resources/templates/projects-overview.jelly b/multiproject/src/plugin-resources/templates/projects-overview.jelly new file mode 100644 index 00000000..be31fb3a --- /dev/null +++ b/multiproject/src/plugin-resources/templates/projects-overview.jelly @@ -0,0 +1,63 @@ + + + + + + + + + + ${overviewPageTitle} + + + +
+

+ + ${overviewPageText} + +

+ + + + + + + + + + + + + + + +
${project.name}${project.name}${project.shortDescription}
+ +
+ + +
+
diff --git a/multiproject/src/plugin-resources/templates/projects-overview.xml b/multiproject/src/plugin-resources/templates/projects-overview.xml deleted file mode 100644 index 4663dc59..00000000 --- a/multiproject/src/plugin-resources/templates/projects-overview.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - $overviewPageTitle - - -
-

- #if ($overviewPageText && $overviewPageText.length() > 0) - ${overviewPageText} -
- #end -

- - #foreach ($project in $multiprojects) - - #if ($navType == "aggregate") - - #else - - #end - - - #end -
${project.name}${project.name}${project.shortDescription}
-
- -
\ No newline at end of file diff --git a/multiproject/xdocs/changes.xml b/multiproject/xdocs/changes.xml index 1a8988ac..5800bd94 100644 --- a/multiproject/xdocs/changes.xml +++ b/multiproject/xdocs/changes.xml @@ -26,7 +26,8 @@ - Can not mix multiproject goals with other/custom goals + multiproject:site fails if sub-projects has a & on POM. + Can not mix multiproject goals with other/custom goals. Set version of the