I want to automatically generate GIF files to be included in a web site
generated using the maven-2 site plugin.
Part of the "site" contains an ASCII data file from which I need to
[re]generate a number of GIF files using Perl and GNUPlot.
Site maintenance consists of updating the ASCII data file, regenerating the GIF
files, adding some comments to APT files and pushing it live.
Is it possible to get the "mvn site:site" to run my Perl script which generates
the GIF files and copies them to the site/resources/images directory so they
get pushed to the site automatically?
Despite several days of reading through Doxia Macros, Mylyn, Wagon, Maven and
ANT integration tips and various other plugins I am still clueless.
Can anyone provide any hints? I suspect I am missing something obvious, but I
confess to being a relative newbie with respect to maven.
I am happy to rewrite the Perl script in Java if this makes it easier.
Regards
- Geoff