The Source for Java Technology Collaboration
User: Password:



Kohsuke Kawaguchi

Kohsuke Kawaguchi's Blog

Maven java.net plugin

Posted by kohsuke on September 18, 2005 at 05:57 PM | Comments (7)

I have a lot of projects on java.net, so I needed a way to simplify the project management. That's why I came up with maven java.net plugin. The idea is simple. Maven provides an excellent framework for managing a large number of small projects. So I wrote a plugin to perform java.net specific tasks.

One of them is the javanet:site task, which takes the result of maven site and bring them to java.net like this. This is tedious to do manually, because java.net requiers all the web contents to be in CVS.

The other goal currently available is the javanet:dist task, which takes the result of maven dist and put them into the documents & files section of your project. Doing this manually requires a lot of mouse clicking, but this plugin fully automates this process.

This plugin is built on top of the java.net tasks library, which performs the underlying web scraping and provides a nice object model of the java.net.

The net result is that you can spend more time doing useful work. If you have ideas about useful goals, please drop me a note.


Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • One dream that I have is to provide java.net-wide Maven repository so that artifacts from all the java.net projects can be downloaded from one location.

    Posted by: kohsuke on September 18, 2005 at 05:59 PM

  • A java.net Maven repository would be just great. We could certainly sync that over to ibiblio automatically was well if it were to be setup.

    Posted by: brettporter on September 19, 2005 at 12:30 AM

  • is it possible to replace the default java.net aspect with tath maven generated web site ? how to ?

    by the way: in my project I have a maven script which generates the documentation in docbook.

    generated docbook like this one: https://www.dev.java.net/files/documents/2638/12311/reference.pdf

    script available at: https://cejug-classifieds.dev.java.net/source/browse/cejug-classifieds/docs/

    best regards,

    Felipe Gaúcho

    Posted by: felipegaucho on September 19, 2005 at 05:22 AM

  • ops, bad formating :)

    here it goes:
    generated document
    maven build files and example source
    best regards,

    Felipe Gaucho
    cejug-classifieds owner

    Posted by: felipegaucho on September 19, 2005 at 05:42 AM

  • It's not actually possible to completely replace http://yourproject.dev.java.net/ with Maven generated site. I use JavaScript to redirect users to a different URL.

    Posted by: kohsuke on September 19, 2005 at 02:58 PM

  • Great work Koshuke! This has been on my whish list for ages. Thanks!

    Wilfred Springer
    wilfred.springer@sun.com
    http://blogs.sun.com/wilfred/

    Posted by: wilfred on September 20, 2005 at 12:47 AM

  • Excellent Kohsuke, we Romans (https://rome.dev.java.net/) would have loved that when we started last year. We moved out from using maven doc and site capabilities because of java.net limitations, and use the wiki instead. I don't think we'll go back though: wiki is great for docs.

    A java.net maven repo would be a good start.

    I hope you'll also push one idea that I tried to push internally while I was still at Sun, which is http://maven.sun.com, a repository for sun jars that developers who got a certificate proving that they agree with the license can use to get all Sun jars from maven.

    Posted by: chanezon on September 20, 2005 at 06:58 AM





Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds