From c7819a19fce3c57fff1e4b9bf606b4b1e7b95a7f Mon Sep 17 00:00:00 2001 From: epugh Date: Mon, 24 Nov 2003 19:38:46 +0000 Subject: [PATCH] Prevent FAQ plugin from crashing if there is no /xdocs directory. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114399 13f79535-47bb-0310-9956-ffa450edef68 --- faq/plugin.jelly | 169 +++++++++++++++++++++--------------------- faq/project.xml | 9 +++ faq/xdocs/changes.xml | 3 + 3 files changed, 97 insertions(+), 84 deletions(-) diff --git a/faq/plugin.jelly b/faq/plugin.jelly index 45a46fe1..bedd4a13 100644 --- a/faq/plugin.jelly +++ b/faq/plugin.jelly @@ -19,104 +19,105 @@ --> + + + + + - - - - + + + + + + + - - - - - - - + + + + + - - - - - + + + + + + + + - - - - - - - - + - + + + + + + + - - - - - - - + + + - - - + Generating ${outFile} from ${faqFile} - Generating ${outFile} from ${faqFile} + + + - - - + + + - - - - - - <x:expr select="$root/title"/> - - -
- -

- -

-
    - -
  1. - - # - - -
  2. -
    -
-
-
- - - - - - -
-
+ + <x:expr select="$root/title"/> + + +
+ +

+ +

+
    + +
  1. - + # -
-
- -
-
+ +
+
- - - -
-
-
+ + + + + + + +
+
+ + + + +
+
+ +
+
+
+
+
+ + + +
+
diff --git a/faq/project.xml b/faq/project.xml index 30d26c68..87960c6a 100644 --- a/faq/project.xml +++ b/faq/project.xml @@ -36,6 +36,15 @@ Developer + + Eric Pugh + epugh + epugh@upstate.com + Upstate + + Java Developer + + diff --git a/faq/xdocs/changes.xml b/faq/xdocs/changes.xml index 78f52540..9b4c9595 100644 --- a/faq/xdocs/changes.xml +++ b/faq/xdocs/changes.xml @@ -7,6 +7,9 @@ + + Only run when an xdocs directory exists. + Fix MAVEN-973. xdocs source hardcoded.