diff --git a/faq/.cvsignore b/faq/.cvsignore new file mode 100644 index 00000000..7552965c --- /dev/null +++ b/faq/.cvsignore @@ -0,0 +1,3 @@ +target +*.log + diff --git a/faq/plugin.jelly b/faq/plugin.jelly new file mode 100644 index 00000000..e1bdb148 --- /dev/null +++ b/faq/plugin.jelly @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <x:expr select="$root/title"/> + + +
+ +

+ +

+
    + +
  1. + + # + + +
  2. +
    +
+
+
+ + + + + + + +
+
+ + + + +
+
+ +
+
+
+
+
+ +
+
+
+ +
diff --git a/faq/project.xml b/faq/project.xml new file mode 100644 index 00000000..2bb86ae3 --- /dev/null +++ b/faq/project.xml @@ -0,0 +1,64 @@ + + + + ${basedir}/../project.xml + 3 + maven-faq-plugin + Maven FAQ Plug-in + 1.0 + + + jakarta + Creates XDoc documentation from an FAQ XML document. + + http://jakarta.apache.org/turbine/maven/reference/plugins/faq/ + + /www/jakarta.apache.org/turbine/maven/reference/plugins/faq/ + + + scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:jakarta-turbine-maven/src/plugins-build/faq/ + http://cvs.apache.org/viewcvs/jakarta-turbine-maven/src/plugins-build/faq/ + + + + + James Strachan + jstrachan + jstrachan@apache.org + SpiritSoft, Inc. + + Java Developer + + + + + + + commons-jelly + commons-jelly-tags-xml + 20030211.142705 + http://jakarta.apache.org/commons/jelly/tags/xml/ + + root.maven + + + + + + dom4j + 1.4-dev-8 + http://www.dom4j.org/ + + + xml-apis + 1.0.b2 + http://xml.apache.org/xerces2-j/ + + + xerces + 2.2.1 + http://xml.apache.org/xerces2-j/ + + + + \ No newline at end of file diff --git a/faq/xdocs/.cvsignore b/faq/xdocs/.cvsignore new file mode 100644 index 00000000..cb6131bb --- /dev/null +++ b/faq/xdocs/.cvsignore @@ -0,0 +1 @@ +stylesheets diff --git a/faq/xdocs/goals.xml b/faq/xdocs/goals.xml new file mode 100644 index 00000000..4b771f06 --- /dev/null +++ b/faq/xdocs/goals.xml @@ -0,0 +1,25 @@ + + + + + FAQ Plugin Goals + James Strachan + + + +
+ + + + + + + + +
GoalDescription
faq + The default goal. This goal generates an xdoc document + from an XML FAQ document. +
+
+ +
diff --git a/faq/xdocs/index.xml b/faq/xdocs/index.xml new file mode 100644 index 00000000..1c7f2ea8 --- /dev/null +++ b/faq/xdocs/index.xml @@ -0,0 +1,28 @@ + + + + + Maven FAQ Plug-in + James Strachan + + + +
+

+ This plugin generates xdoc documentation from an XML FAQ document. +

+

+ The properties that allow you to customize the execution + are documented here. +

+

+ To enable FAQ generation add the following to your maven.xml +

+ + <preGoal name="xdoc:jelly-transform"> + <attainGoal name="faq"/> + </preGoal> + +
+ + diff --git a/faq/xdocs/navigation.xml b/faq/xdocs/navigation.xml new file mode 100644 index 00000000..9c6282c7 --- /dev/null +++ b/faq/xdocs/navigation.xml @@ -0,0 +1,16 @@ + + + + Maven FAQ Plugin + + + + + + + + + + + + diff --git a/faq/xdocs/properties.xml b/faq/xdocs/properties.xml new file mode 100644 index 00000000..a0850dc7 --- /dev/null +++ b/faq/xdocs/properties.xml @@ -0,0 +1,30 @@ + + + + + FAQ Properties + James Strachan + + + +
+ + + + + + + + + + + + +
PropertyOptional?Description
maven.faq.src.fileYes (default=xdoc/faq.fml) + Specifies the source FAQ document in XML format to be used to generate the FAQ +
maven.faq.dest.fileYes (default=target/generated-xdocs/faq.xml) + Specifies the destination of the generated FAQ document +
+
+ +