From c802fc460b24276cc1191c16742c11c869953bc0 Mon Sep 17 00:00:00 2001 From: ltheussl Date: Sun, 30 Oct 2005 05:33:27 +0000 Subject: [PATCH] Replace maven.faq.toplinks property by toplink attribute in the fml file (m1 - m2 compatibility) git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@329522 13f79535-47bb-0310-9956-ffa450edef68 --- faq/maven.xml | 3 +++ faq/plugin.jelly | 3 +++ faq/plugin.properties | 3 --- faq/src/plugin-resources/faq.jsl | 11 ++++++----- faq/src/plugin-resources/xsd/faq.xsd | 1 + faq/xdocs/changes.xml | 1 + faq/xdocs/faq.fml | 4 ++-- faq/xdocs/index.xml | 2 +- faq/xdocs/properties.xml | 4 +--- 9 files changed, 18 insertions(+), 14 deletions(-) diff --git a/faq/maven.xml b/faq/maven.xml index 9d90bfed..f15d4ebe 100644 --- a/faq/maven.xml +++ b/faq/maven.xml @@ -22,6 +22,9 @@ + + + diff --git a/faq/plugin.jelly b/faq/plugin.jelly index dbc2e026..a616f3db 100644 --- a/faq/plugin.jelly +++ b/faq/plugin.jelly @@ -88,6 +88,9 @@ Generating ${outFile} from ${faqFile} + + WARNING: the property maven.faq.toplinks is depreated! Use the 'toplink' attribute in your fml file instead. + + ${title} @@ -81,11 +82,11 @@
- - - # - -
+ + + # + +
diff --git a/faq/src/plugin-resources/xsd/faq.xsd b/faq/src/plugin-resources/xsd/faq.xsd index 573058e0..7332a809 100644 --- a/faq/src/plugin-resources/xsd/faq.xsd +++ b/faq/src/plugin-resources/xsd/faq.xsd @@ -58,6 +58,7 @@ + diff --git a/faq/xdocs/changes.xml b/faq/xdocs/changes.xml index e06b9cb0..fea10df8 100644 --- a/faq/xdocs/changes.xml +++ b/faq/xdocs/changes.xml @@ -23,6 +23,7 @@
+ Deprecated maven.faq.toplinks property. Use the toplink attribute in the fml file instead. Update dependencies to match ones in maven 1.1 core and to unify them between plugins. The following dependencies are updated :
  • commons-jelly-tags-xml v1.0 -> v1.1
  • diff --git a/faq/xdocs/faq.fml b/faq/xdocs/faq.fml index a6d56b54..1fe36e9b 100644 --- a/faq/xdocs/faq.fml +++ b/faq/xdocs/faq.fml @@ -17,7 +17,7 @@ */ --> - + General @@ -57,4 +57,4 @@ - \ No newline at end of file + diff --git a/faq/xdocs/index.xml b/faq/xdocs/index.xml index c1f03f63..dd1b8943 100644 --- a/faq/xdocs/index.xml +++ b/faq/xdocs/index.xml @@ -38,7 +38,7 @@ here.

    - Please note that the the FAQ description has to be in a file with a + Note: the FAQ description has to be in a file with a .fml extension.

    diff --git a/faq/xdocs/properties.xml b/faq/xdocs/properties.xml index c943b68a..acd02b68 100644 --- a/faq/xdocs/properties.xml +++ b/faq/xdocs/properties.xml @@ -48,9 +48,7 @@ maven.faq.toplinks Yes - Specifies whether links to the top of the page should be - generated after each answer. - Defaults to true. + DEPRECATED: use the toplink attribute in the fml file instead.