Maven Plugin
dionysus-maven-plugin
Automate Maven project site generation for Github Pages.
Requirements
- Java 7+ (version 10 is NOT supported)
- Apache Maven 3.1+
Goals
Goals available for this plugin:
Goal | Description |
---|---|
dionysus:build | Build site content. |
dionysus:generate-data | Generate Hugo site data from Maven models. |
dionysus:help | Display help information on dionysus-maven-plugin. Call mvn dionysus:help -Ddetail=true
-Dgoal=<goal-name> to display parameter details. |
dionysus:prepare-branch | Prepare Github pages branch for publishing. |
dionysus:publish | Publish site content for use with Github pages. Requires site to
have been previously built with dionysus:build . |
Usage
Specify the version in project plugin configuration:
<project>
<build>
<!-- plugin management -->
<pluginMangement>
<plugins>
<plugin>
<groupId>org.sonatype.goodies.dionysus</groupId>
<artifactId>dionysus-maven-plugin</artifactId>
<version>1.0.3</version>
</plugin>
</plugins>
</pluginMangement>
<!-- plugin execution -->
<plugins>
<plugin>
<groupId>org.sonatype.goodies.dionysus</groupId>
<artifactId>dionysus-maven-plugin</artifactId>
<version>1.0.3</version>
</plugin>
</plugins>
</build>
</project>
Features
Development - Project development information | |
dionysus:build | |
dionysus:generate-data | |
dionysus:help | |
dionysus:prepare-branch | |
dionysus:publish |