stampo-maven-plugin

maven plugin for stampo, static website generator

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

ch.digitalfondue.stampo
ArtifactId

ArtifactId

stampo-maven-plugin
Last Version

Last Version

1.2.2
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

stampo-maven-plugin
maven plugin for stampo, static website generator
Project URL

Project URL

https://github.com/digitalfondue/stampo-maven-plugin
Source Code Management

Source Code Management

https://github.com/digitalfondue/stampo-maven-plugin.git

Download stampo-maven-plugin

How to add to project

<plugin>
    <groupId>ch.digitalfondue.stampo</groupId>
    <artifactId>stampo-maven-plugin</artifactId>
    <version>1.2.2</version>
</plugin>

Dependencies

compile (2)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 2.0
ch.digitalfondue.stampo : stampo jar 1.2.2

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.2

Project Modules

There are no modules declared in this project.

stampo-maven-plugin

maven plugin for Stampo, static website generator

Goals

mvn stampo:build

build the website and publish it to the output directory

mvn stampo:check

check that there are no errors in the source files

mvn stampo:serve

build the website and make it available on a given local address

mvn stampo:new [-Darchetype=basic|site|blog|doc]

generate a basic template of the chosen archetype in srcDir

Configuration parameters

srcDir (default={basedir}/src/main/stampo)

location of the source stampo project

outputDir (default=${project.build.directory}/stampo)

location where to publish the generated stampo project

archetype (default=basic)

define which template to use when generating a basic stampo project.

Allowed values:

  • basic: a simple index page
  • site: a multilanguage site with paginated news
  • blog: a multilanguage blog with pagination and tags support
  • doc: a documentation website with table of contents and a choice of both multipage and single page layout.
hostame (default=localhost)

hostname for the serve goal

port (default=8080)

port for the serve goal

disableAutoReload (default=false)

disable auto reload of the source project

disableRebuildOnChange (default=false)

disable rebuild the source project when there are changes

hideDraft (default=false)

hide or show content marked with "draft: true" metadata

Maven central repository

<groupId>ch.digitalfondue.stampo</groupId>
<artifactId>stampo-maven-plugin</artifactId>
<version>1.2.2</version>

Example pom.xml

<plugin>
  <groupId>ch.digitalfondue.stampo</groupId>
  <artifactId>stampo-maven-plugin</artifactId>
  <version>1.2.2</version>
  <executions>
  <execution>
	  <phase>compile</phase>
	  <goals>
		  <goal>build</goal>
	  </goals>
  </execution>
  </executions>
  <configuration>
    <srcDir>${basedir}/src/main/stampo</srcDir>
    <outputDir>${project.build.directory}/stampo</outputDir>
    <port>45001</port>
  </configuration>
</plugin>
ch.digitalfondue.stampo

Versions

Version
1.2.2
1.2.1
1.2
1.1
1.0