Reflow Velocity tools
Reflow skin provides custom tools for Apache Velocity to be used in Maven site template. These objects are contributed to Velocity context and can be used within the template. Refer to Javadoc for each tool for more information.
-
SkinConfigTool
(key lt.velykis.maven.skins.reflow.SkinConfigTool@58690f5e)Provides a uniform access to Maven site custom configuration options. Supports global and per-page configuration. See info on per-page configuration in Reflow skin for an example of features it brings.
-
HtmlTool
(key lt.velykis.maven.skins.reflow.HtmlTool@4b9d2cee)Provides methods to modify and query HTML text using jsoup library.
-
URITool
(key lt.velykis.maven.skins.reflow.URITool@1a390b8c)Provides URI utilities that expose URIs to the template.
To enable these tools, add reflow-velocity-tools
dependency to maven-site-plugin
in the POM file:
<build>
<plugins>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.10</version>
<dependencies>
...
<dependency>
<groupId>io.github.olamy.maven.skins</groupId>
<artifactId>reflow-velocity-tools</artifactId>
<version>2.0.0</version>
</dependency>
...
</dependencies>
...
</plugin>
...
</plugins>
</build>