to the Jelly context within the vdoclet velocity templates. Thus, as a result, support of the maven.tasklist.taskTag was dropped and the tasklist plugin was hardcoded to use "@todo" because there was no way to get the value from the Jelly context. - VDocletBean can now be passed a JellyContext which gets wrapped in the same JellyContextAdapter that I wrote from the Velocity taglib. To access the context from a vdoclet template, use '$jellyContext'. - Updated the taglib and tag defined in plugin.jelly to automatically include the current context. - Updated the POM to include the jelly deps. On a side note, also had to update the POM of the xdoc plugin as it had a dependency on the velocity taglib as well, and it was being loaded before the jar specified in this POM. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113032 13f79535-47bb-0310-9956-ffa450edef68
26 lines
613 B
XML
26 lines
613 B
XML
<project
|
|
xmlns:j="jelly:core"
|
|
xmlns:define="jelly:define"
|
|
xmlns:vdoclet="vdoclet">
|
|
|
|
<define:taglib uri="vdoclet">
|
|
<define:jellybean
|
|
name="vdocletBean"
|
|
className="org.apache.maven.vdoclet.VDocletBean"
|
|
method="execute">
|
|
</define:jellybean>
|
|
|
|
<define:tag name="vdoclet">
|
|
<vdoclet:vdocletBean
|
|
srcDir="${srcDir}"
|
|
destDir="${destDir}"
|
|
template="${template}"
|
|
outputFile="${outputFile}"
|
|
encoding="${encoding}"
|
|
jellyContext="${context}"
|
|
/>
|
|
</define:tag>
|
|
</define:taglib>
|
|
|
|
</project>
|