stampo-maven-plugin

maven plugin for stampo, static website generator

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка
Группа

Группа

ch.digitalfondue.stampo
Идентификатор

Идентификатор

stampo-maven-plugin
Последняя версия

Последняя версия

1.2.2
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

stampo-maven-plugin
maven plugin for stampo, static website generator
Ссылка на сайт

Ссылка на сайт

https://github.com/digitalfondue/stampo-maven-plugin
Система контроля версий

Система контроля версий

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

Скачать stampo-maven-plugin

Как подключить последнюю версию

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 2.0
ch.digitalfondue.stampo : stampo jar 1.2.2

provided (1)

Идентификатор библиотеки Тип Версия
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.2

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
1.2.2
1.2.1
1.2
1.1
1.0