Nice, the decorator pattern. I think you should just incorporate this
into the site plugin as well. That would be nice.
On 6 Nov 07, at 6:10 AM 6 Nov 07, Milos Kleint wrote:
some time ago i've created a mojo for injecting google analytics
scripts
into a maven generated site. I've extended it later to allow
injection of
any snippet into the generated html files. Now using for ohloh icon/
link at
http://mevenide.codehaus.org/m2-site for example.
Probably not the approved and recommended way to go around things,
but works
fine for me.
check https://svn.codehaus.org/mevenide/trunk/mevenide2/site/pom.xml
for
plugin configuration.
Milos
On 11/6/07, Brett Porter <[EMAIL PROTECTED]> wrote:
On 07/11/2007, at 12:23 AM, James Carman wrote:
Is there some way that
we can have these two links added to the default site Maven
generates
for us? What's the best way to go about this? Should we write a
mojo
for this and have our projects include it as a reporting dependency?
You should create a skin:
http://maven.apache.org/plugins/maven-site-plugin/examples/
creatingskins.html
Note that we don't currently have an "ASF skin" - each project has
their own or uses the Maven defaults.
HTH,
Brett
--
Brett Porter - [EMAIL PROTECTED]
Blog: http://www.devzuz.org/blogs/bporter/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
jason at sonatype dot com
----------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]