Alex Schwartz wrote:
>
> I would like to add some more "powered by" icons to the generated site.
> The maven 1.x site plugin supported multiple <powered-by> elements in the
> navigation.xml.
> Is there a similar feature for m2, or do I have to patch the templates?
>
>
> --Alex
>
Ok, I figured it out myself. I took a look in the doxia source ... and found
it in doxia-decorator-model.
There is a tag <poweredBy> which can be placed in the site.xml nested in the
top-level node.
A <poweredBy> element can contains at least one <logo> element.
Here is my site.xml using the poweredBy feature.
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <project name="jGABL">
>
> <bannerLeft>
> <name>jGABL2</name>
> <href>http://jgabl.sourceforge.net</href>
> <src>http://jgabl.sourceforge.net/images/logo_jgabl2.jpg</src>
> </bannerLeft>
>
> <skin>
> <groupId>org.apache.maven.skins</groupId>
> <artifactId>maven-stylus-skin</artifactId>
> <version>1.0</version>
> </skin>
>
> <publishDate position="bottom" format="yyyy-MM-dd HH:mm"/>
>
> <poweredBy>
> <logo
> name="Code Coverage by Clover"
> href="http://www.cenqua.com/clover/"
> img="http://www.cenqua.com/images/clovered1.gif"/>
> <logo
> name="Hosted on SourceForge.net"
> href="http://sourceforge.net"
>
> img="http://sflogo.sourceforge.net/sflogo.php?group_id=102411&type=2"/>
> <logo
> name="Build with Maven 2"
> href="http://maven.apache.org"
> img="images/logos/maven-feather.png"/>
> </poweredBy>
>
>
> <body>
> <head>
> <meta name="faq" content="jGABL2"/>
> </head>
>
> <breadcrumbs>
> <item name="sf.net" href="http://sourceforge.net"/>
> </breadcrumbs>
>
> <links>
> <item name="SourceForge project page"
> href="http://sourceforge.net/projects/jgabl/"/>
> </links>
>
> <menu name="Documentation">
> <item name="Overview" href="index.html"/>
> <item name="Downloads"
>
> href="http://sourceforge.net/project/showfiles.php?group_id=102411<package_id=186007"/>
> </menu>
> <menu ref="reports"/>
>
> </body>
>
> </project>
>
-- Alex
--
View this message in context:
http://www.nabble.com/-m2--Maven-site-and-powered-by-tf2117008.html#a5859878
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]