[ http://jira.codehaus.org/browse/MSITE-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated MSITE-146: ---------------------------------- Attachment: MSITE-146.zip Here is a minimal project that in fact proves that it *does* work. It also proves that MSITE-147 works. > 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 > Attachments: MSITE-146.zip > > > 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