Posted by kohsuke
on January 17, 2007 at 9:21 PM PST
Introducing the maven2 java.net skin project (http://maven-javanet-skin.dev.java.net/ ), which provides a java.net look&feel skin for maven site plugin, for those of you who use maven2 on java.net.
I'm increasingly relying more on Maven2 for managing my numerous smaller java.net 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 java.net at all.
So either you need to use the nonav URL feature of java.net, in which case you still have to redirect users from your project top page like http://dalma.dev.java.net/ to http://dalma.dev.java.net/nonav/maven/, or you let java.net 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 java.net look and feel. The project website is generated by using the skin itself, so you can see how it blends into the java.net 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 java.net's green-ish headers. The font is also bit different from the java.net standard. If anyone wants to join the efforts to make it better, just let me know. I'm always looking for more committers.