From bb7609f89c963751d8ed677d6e7fae069b313c80 Mon Sep 17 00:00:00 2001 From: aheritier Date: Sun, 4 Sep 2005 00:41:06 +0000 Subject: [PATCH] MPXDOC-163 : Dependencies comment (MPXDOC-129) feature disappeared. Tests are re-enabled. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@267528 13f79535-47bb-0310-9956-ffa450edef68 --- .../templates/dependencies.xml | 9 +++++++ .../templates/templates.properties | 1 + .../templates/templates_de.properties | 1 + .../templates/templates_fr.properties | 1 + .../testDependenciesComment/maven.xml | 24 ++++++------------- xdoc/xdocs/changes.xml | 3 ++- 6 files changed, 21 insertions(+), 18 deletions(-) diff --git a/xdoc/src/plugin-resources/templates/dependencies.xml b/xdoc/src/plugin-resources/templates/dependencies.xml index 1bd81389..84c7cedf 100644 --- a/xdoc/src/plugin-resources/templates/dependencies.xml +++ b/xdoc/src/plugin-resources/templates/dependencies.xml @@ -60,6 +60,10 @@ + + + @@ -73,6 +77,11 @@ ${dep.Url} #end + + #if(${dep.comment}) + ${dep.comment} + #end + #end diff --git a/xdoc/src/plugin-resources/templates/templates.properties b/xdoc/src/plugin-resources/templates/templates.properties index f4091195..44d7d8be 100644 --- a/xdoc/src/plugin-resources/templates/templates.properties +++ b/xdoc/src/plugin-resources/templates/templates.properties @@ -61,6 +61,7 @@ template.dependencies.section.artifactID=Artifact ID template.dependencies.section.type=Type template.dependencies.section.version=Version template.dependencies.section.url=URL +template.dependencies.section.comment=Comment # For issue-tracking.xml template.issue_tracking.title=Issue Tracking diff --git a/xdoc/src/plugin-resources/templates/templates_de.properties b/xdoc/src/plugin-resources/templates/templates_de.properties index 2c9862c5..7ad898f6 100644 --- a/xdoc/src/plugin-resources/templates/templates_de.properties +++ b/xdoc/src/plugin-resources/templates/templates_de.properties @@ -63,6 +63,7 @@ template.dependencies.section.artifactID = Artifact ID template.dependencies.section.type = Typ template.dependencies.section.version = Version template.dependencies.section.url = URL +template.dependencies.section.comment=Kommentar # For issue-tracking.xml template.issue_tracking.title = Fehlerbehandlung diff --git a/xdoc/src/plugin-resources/templates/templates_fr.properties b/xdoc/src/plugin-resources/templates/templates_fr.properties index 2bbae80b..4c8d4e0a 100644 --- a/xdoc/src/plugin-resources/templates/templates_fr.properties +++ b/xdoc/src/plugin-resources/templates/templates_fr.properties @@ -63,6 +63,7 @@ template.dependencies.section.artifactID=Artefact ID template.dependencies.section.type=Type template.dependencies.section.version=Version template.dependencies.section.url=URL +template.dependencies.section.comment=Commentaire # For issue-tracking.xml template.issue_tracking.title=Suivi des incidents diff --git a/xdoc/src/plugin-test/testDependenciesComment/maven.xml b/xdoc/src/plugin-test/testDependenciesComment/maven.xml index 089677e1..4d1afb58 100644 --- a/xdoc/src/plugin-test/testDependenciesComment/maven.xml +++ b/xdoc/src/plugin-test/testDependenciesComment/maven.xml @@ -15,40 +15,30 @@ * limitations under the License. */ --> - - + - - - diff --git a/xdoc/xdocs/changes.xml b/xdoc/xdocs/changes.xml index 96d53bac..4d19bfc9 100644 --- a/xdoc/xdocs/changes.xml +++ b/xdoc/xdocs/changes.xml @@ -26,6 +26,7 @@ + Dependencies comment (MPXDOC-129) feature disappeared. Special characters in menu ids aren't escaped. Add documentation about "external links" and "new windows". Xdoc plugin >= 1.9 not compatible with older customised site.jsl. @@ -39,7 +40,7 @@ Allow i18n links. i18n : html code removed from bundles. i18n : doc title wasn't printed in breadcrumbs. - breadcrumbs : add a link to the site on the project name. + breadcrumbs : add a link to the site on the project name. Don't override the Maven library. This makes the plugin compatible with both Maven 1.0.2 and Maven 1.1