[
https://jira.codehaus.org/browse/DOXIASITETOOLS-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=296016#comment-296016
]
Dennis Lundberg commented on DOXIASITETOOLS-71:
-----------------------------------------------
Okay, I've looked a bit at the source now and here's what I think needs to be
done. In {{DefaultSiteRenderer#createVelocityContext()}} we do
{code:java}
context.put( "doxiaVersion", nnn );
{code}
where we need to inject @project.version@ into {{nnn}}.
What's the best way to do that? Should we directly filter that source file or
should we add a filtered properties file that contains the version number?
> Add the version of doxia-site-renderer that is used to the generated site
> -------------------------------------------------------------------------
>
> Key: DOXIASITETOOLS-71
> URL: https://jira.codehaus.org/browse/DOXIASITETOOLS-71
> Project: Maven Doxia Sitetools
> Issue Type: New Feature
> Components: Site renderer
> Affects Versions: 1.2
> Reporter: Dennis Lundberg
> Assignee: Dennis Lundberg
> Fix For: 1.3
>
>
> In a comment in the generated site documents we currently have this:
> {noformat}
> Generated by Apache Maven Doxia $currentDate
> {noformat}
> We should also add the version, like this:
> {noformat}
> Generated by Apache Maven Doxia $doxiaVersion at $currentDate
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira