PR: MPFAQ-20

Use the var parameter in the x:forEach jelly tag to make it work with upgraded dependencies for Maven-1.1-beta-3.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@425162 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ltheussl
2006-07-24 19:49:53 +00:00
parent b90fe92c17
commit 955ef31fd0
3 changed files with 7 additions and 4 deletions

View File

@@ -22,7 +22,7 @@
<pomVersion>3</pomVersion>
<id>maven-faq-plugin</id>
<name>Maven FAQ Plugin</name>
<currentVersion>1.6</currentVersion>
<currentVersion>1.6.1-SNAPSHOT</currentVersion>
<gumpRepositoryId>jakarta</gumpRepositoryId>
<description>Creates XDoc documentation from an FAQ XML document.</description>
<shortDescription>FAQ Plugin</shortDescription>

View File

@@ -41,12 +41,12 @@
<strong><x:expr select="title"/></strong>
</p>
<ol>
<x:forEach select="faq">
<x:forEach var="entry" select="faq">
<li>
<j:set var="_id"><x:expr select="@id"/></j:set>
<j:set var="_id"><x:expr select="$entry/@id"/></j:set>
<j:set var="_id">#<doc:escapeNameToken value="${_id}"/></j:set>
<a href="${_id}">
<x:copyOf select="question/node()"/>
<x:copyOf select="$entry/question/node()"/>
</a>
</li>
</x:forEach>

View File

@@ -23,6 +23,9 @@
<author email="dion@apache.org">dIon Gillard</author>
</properties>
<body>
<release version="1.6.1-SNAPSHOT" date="in SVN">
<action dev="ltheussl" type="fix" issue="MPFAQ-20">Make it work with upgraded dependencies for Maven-1.1-beta-3.</action>
</release>
<release version="1.6" date="2006-01-07">
<action dev="ltheussl" type="update">Remove maven-xdoc-plugin v1.9.2 requirement.</action>
<action dev="ltheussl" type="update">Deprecated