Skip to main content

Introducing maven2 skin

Posted by kohsuke on January 17, 2007 at 9:21 PM PST

I'm increasingly relying more on Maven2 for managing my numerous smaller projects. Among countless pains in using Maven2, one pain was that the look and feel of the website generated by maven site plugin (like this) doesn't match the look and feel or at all.

So either you need to use the nonav URL feature of, in which case you still have to redirect users from your project top page like to, or you let apply its templating over Maven-generated site, in which case you end up with two sidebars and horrible layouts.

The maven-javanet-skin project fixes this problem by developing a skin for the maven site plugin that matches look and feel. The project website is generated by using the skin itself, so you can see how it blends into the templating. There's no need to rely on nonav hack anymore.

There are still some room for improvements — for example, there are some redundant margins in the side bar. The section headers like <h2> are still in its maven original theme and doesn't match's green-ish headers. The font is also bit different from the standard. If anyone wants to join the efforts to make it better, just let me know. I'm always looking for more committers.

Related Topics >>