Allow the FAQ plugin to show up in reports

Submitted by:	Willie Vu


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113325 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
bwalding
2003-04-12 04:52:37 +00:00
parent 298248bd4c
commit 3f68c4fe08

View File

@@ -1,10 +1,32 @@
<?xml version="1.0"?>
<project
xmlns:ant="jelly:ant"
xmlns:j="jelly:core"
xmlns:util="jelly:util"
xmlns:x="jelly:xml">
xmlns:x="jelly:xml"
xmlns:ant="jelly:ant"
xmlns:doc="doc">
<goal name="maven-faq-plugin:register">
<j:if test="${sourcesPresent}">
<doc:registerReport
name="FAQs"
pluginName="faq"
description="Frequently Asked Questions."
link="faq"/>
</j:if>
</goal>
<goal name="maven-faq-plugin:deregister">
<j:if test="${sourcesPresent}">
<doc:deregisterReport name="FAQs"/>
</j:if>
</goal>
<goal name="faq:report"
description="Generate FAQs">
<attainGoal name="faq"/>
</goal>
<goal name="faq"
description="Generates an FAQ xdoc file from an FAQ XML document">