For an internal use plugin, I would like my site to include download instructions that show the proper Maven command to get the current version of the plugin. Since the plugin's project.xml has the current version, it seems reasonable that I could have the plugin's index.xml have something like:

<source>
>maven plugin:download -Dversion=${pom.currentVersion} -DgroupId=prodinfo-plugin -DartifactId=prodinfo-plugin
</source>


However, this does not work.

I've also tried $pom.currentVersion as well as $!project.currentVersion since that mirrors the $!project.name that is found in the maven-xdoc-plugin template index.xml. All I end up with is the text ${pom.currentVersion}

What am I missing?

--
Erik Husby
Team Lead for Software Quality Automation
Broad Institute of MIT and Harvard Rm. 2192 320 Charles St
Cambridge, MA 02141-2023
mobile: 781.354.6669, office: 617.258.9227, [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to