I'm working on a look and feel for Swing (http://seaglasslookandfeel.com) and 
wanted to include images from the look and feel in my documentation. So I wrote 
a plugin

        org.kathrynhuxtable.maven.plugins:imagegenerator-maven-plugin:1.0

that I've deployed to Central. The docs are at

        http://www.kathrynhuxtable.org/projects/site/imagegenerator-maven-plugin

It takes an XML file describing the classes to be instantiated and their 
constructor arguments, along with any client properties, and some sizing 
information. It draws them on a JPanel, which you can specify the size of and 
then writes a PNG image file.

It saves the XML file at the end so that it only generates images which have 
changed or been added since the previous run.

By default it generates the images to 
${project.build.directory}/generated-site/resources/images so that they will 
end up in the images directory of your site, but all of this is configurable.

I thought it might be of some use to others, so I'm letting you all know.

-K
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to