You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Antoine Contal <la...@users.sourceforge.net> on 2007/05/15 23:02:04 UTC

[m2.0.6] Customising the site footer

Hi all,

I am looking for a simple way to slightly customize the footer
generated by 'mvn site'.  In Maven 1.x, there used to be a <footer>
tag, but it seems m2 does not understand it anymore.

<-- My site.xml -->
<?xml version="1.0" encoding="ISO-8859-1"?>
<project>
...
    <body>
...
	<footer>
	  <logo img="http://jigsaw.w3.org/css-validator/images/vcss"
	      name="Valid CSS!"
	      href="http://jigsaw.w3.org/css-validator/check/referer"/>
	</footer>
	
    </body>
</project>

<-- Output of 'mvn site' -->
...
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [site:site]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error parsing site descriptor

Embedded error: Unrecognised tag: 'footer' (position: START_TAG seen
...</menu>\r\n\t\r\n\t<footer>... @66:10)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Tue May 15 22:58:04 CEST 2007
[INFO] Final Memory: 19M/46M
[INFO] ------------------------------------------------------------------------

Any help will be appreciated.

antoine

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org