Description

Allow to rasterize SVG files to PNG for site generation. The SVG files are pre-processed by velocity before to be rasterized.

For instance you can refer to the current version of the project by adding ${pom.currentVersion} somewhere in your svg file.

PNG fileSVG file
Corresponding SVG here
...
<text>${pom.currentVersion}</text>
...  

Use

To use the plugin with the site plugin, just add the following to your maven.xml file.

<postGoal name="xdoc:jelly-transform">
    <attainGoal name="svg:rasterize"/>
</postGoal>