[
https://issues.apache.org/struts/browse/WW-2009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41281
]
Wendy Smoak commented on WW-2009:
---------------------------------
You can see an example of defining an arbitrary pom property (currentVersion)
here: http://svn.apache.org/repos/asf/maven/site/trunk/pom.xml
Then it can be used like this:
http://svn.apache.org/repos/asf/maven/site/trunk/src/site/apt/download.apt.vm
Note the ".apt.vm" file extension-- it would be .xml.vm here I suppose. That
tells the site plugin to first filter properties in, then transform it to html.
This requires maven-site-plugin 2.0-SNAPSHOT. Considering the trouble we've
had with the site plugin and xdoc, we'll probably want to wait for a release
before trying this.
> Website download button has wrong version number in the image
> -------------------------------------------------------------
>
> Key: WW-2009
> URL: https://issues.apache.org/struts/browse/WW-2009
> Project: Struts 2
> Issue Type: Bug
> Components: Documentation
> Environment: Struts main apache page
> Reporter: Keith Weinberg
> Assignee: Musachy Barroso
> Fix For: 2.0.8
>
>
> The download link image on the main Struts2 apache page shows the wrong
> current version of struts (2.0.6 when it should say 2.0.8). This incorrect
> version is embedded in the image and is misleading.
> It would be easier to maintain if the version number was removed from the
> graphic image altogether to prevent this problem in the future.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.