To use this Maven skin, include it in your site.xml site descriptor file:


The skin is provided on the works on my computer basis at the moment. I am using the newest versions of maven-site-plugin and other components and at the moment do not have any feedback on using the skin with Maven 2 site or other configurations.

POM dependencies

Add reflow-velocity-tools dependency to maven-site-plugin in the POM file:

        <!-- Reflow skin requires Velocity >= 1.7  -->

Reflow Velocity tools (reflow-velocity-tools) are required by the Reflow skin to read skin configuration and provides other functionality. The library must be available when generating Maven site.

Note that Velocity 1.7 is also required by the template.

The skin is configurable using the <custom> element in your site.xml file. The available options are described in the documentation. A sample configuration file is below:

        <name>My Project</name>
      <slogan>Super interesting project doing good things.</slogan>
      <titleTemplate>%2$s | %1$s</titleTemplate>
        This is a very good project doing interesting and valuable things.
        <index project="project-id">
            <carousel />
            <body />
            <sidebar />

Learn by example

This website itself is generated using Reflow Maven skin and is written in Markdown. The source code is available on GitHub.

Look for the site configuration and web page sources in /src/site of each module; and for plug-in configuration in respective POM files.

Back to top

Version: 1.1.1. Last Published: 2014-06-22.

Reflow Maven skin by Andrius Velykis.