This plugin has been written to be able to apply a new skin on deployed sites of Maven Projects.
Before you begin be sure that the current project already uses the new skin.
When you execute siteskinner:skin the following steps are taken:
This plugin supports locales and multi-module projects (the checkout will only be done on the root of the project).
The skinner plugin has only a few options:
/path/to/maven-version/bin/mvn siteskinner:skin mvn siteskinner:skin -DmavenHome=/path/to/maven-version/bin/mvn
Normally when deploying a site, the current date will be used as the publish date. When deploying with the siteskinner, the original publish date will automatically be used. The following table shows which version of a skin supports the publish date adjustment.
Most skins only provide css-files, whereas the templating is done by Doxia sitetools. For these skins it's not possible to specify a version, it depends on the version of Doxia-sitetools, a dependency of the maven-site-plugin.
Apache Maven Skins | Support since |
---|---|
Maven Application Skin | Doxia Sitetools 1.3, included since maven-site-plugin-3.1 |
Maven Classic Skin | Doxia Sitetools 1.3, included since maven-site-plugin-3.1 |
Maven Default Skin | Doxia Sitetools 1.3, included since maven-site-plugin-3.1 |
Maven Stylus Skin | 1.4 |
Maven Fluido Skin | 1.1 |