You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tim Pizey (JIRA)" <ji...@codehaus.org> on 2007/11/16 12:52:26 UTC
[jira] Commented: (MSITE-146) Version not printing in strapline
[ http://jira.codehaus.org/browse/MSITE-146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_114033 ]
Tim Pizey commented on MSITE-146:
---------------------------------
Dennis,
$version must be set, at least to "" for the publishDate macro to work.
However it looks like my patch to DOXI!-121 has been applied so this should resolved.
> Version not printing in strapline
> ---------------------------------
>
> Key: MSITE-146
> URL: http://jira.codehaus.org/browse/MSITE-146
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Affects Versions: 2.0-beta-4
> Environment: linux and XP
> Reporter: Tim Pizey
> Assignee: Dennis Lundberg
>
> The maven-site.vm has a missing #else, such that the publishDate macro fails to print the version.
> #if ( $version )
> #if ( $version.position )
> #set ( $versionPosition = $version.position )
> #else
> #set ( $versionPosition = "left" )
> #end
> #end
> could become:
> #if ( $version )
> #if ( $version.position )
> #set ( $versionPosition = $version.position )
> #else
> #set ( $versionPosition = "left" )
> #end
> #else
> #set ( $version = "unset version" )
> #set ( $versionPosition = "left" )
> #end
> which fixes for me.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira