dionysus:publish
Publish site content for use with Github pages. Requires site to
have been previously built with dionysus:build
.
- Full name
- org.sonatype.goodies.dionysus:dionysus-maven-plugin:1.0.3:publish
- Since
- 1.0.0
- Requires Project
- true
- Requires Online
- false
- Requires Direct Invocation
- true
- Thread-safe
- false
Parameters
7 parameters
Name |
Type |
Since |
Description |
checkoutDir |
java.io.File |
|
Directory where a checkout of configured branch to perform changes
will be done. |
dryRun |
boolean |
|
Set to avoid push of final changes. |
gitBranch |
java.lang.String |
|
The branch where content will be published. All content on this
branch will be replaced by what is generated. |
gitExecutable |
java.lang.String |
|
GIT executable to use. |
hugoPublicDir |
java.io.File |
|
Hugo-generated content directory. This needs to match the value
configured in Hugo configuration publishdir parameter. |
mavenSitePrefix |
java.lang.String |
|
Prefix for where Maven-generated will be stored. |
siteDir |
java.io.File |
|
Maven-generated content directory. |
checkoutDir
Directory where a checkout of configured branch to perform changes
will be done.
- Type
- java.io.File
- Required
- true
- Default Value
- ${project.build.directory}/publish-checkout
- User Property
- ${dionysus.checkoutDir}
dryRun
Set to avoid push of final changes.
- Type
- boolean
- Required
- false
- Default Value
- false
- User Property
- ${dionysus.dryRun}
gitBranch
The branch where content will be published. All content on this
branch will be replaced by what is generated.
- Type
- java.lang.String
- Required
- true
- Default Value
- gh-pages
- User Property
- ${dionysus.gitBranch}
gitExecutable
GIT executable to use.
- Type
- java.lang.String
- Required
- true
- Default Value
- git
- User Property
- ${dionysus.gitExecutable}
hugoPublicDir
Hugo-generated content directory. This needs to match the value
configured in Hugo configuration publishdir
parameter.
- Type
- java.io.File
- Required
- true
- Default Value
- ${project.build.directory}/hugo-public
- User Property
- ${dionysus.hugoPublicDir}
mavenSitePrefix
Prefix for where Maven-generated will be stored.
- Type
- java.lang.String
- Required
- false
- Default Value
- maven
- User Property
- ${dionysus.mavenSitePrefix}
siteDir
Maven-generated content directory.
- Type
- java.io.File
- Required
- false
- Default Value
- ${project.build.directory}/site
- User Property
- ${dionysus.siteDir}