Landslide Maven plugin

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Категории

Категории

IDE Инструменты разработки Maven Компиляция и сборка
Группа

Группа

com.github.rmannibucau
Идентификатор

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

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

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

0.2
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

Landslide Maven plugin
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Система контроля версий

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

https://github.com/rmannibucau/landslide-maven-plugin

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

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

<plugin>
    <groupId>com.github.rmannibucau</groupId>
    <artifactId>landslide-maven-plugin</artifactId>
    <version>0.2</version>
</plugin>

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 3.0.5
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.1
org.python : jython-standalone jar 2.7-b1
commons-io : commons-io jar 2.4

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11

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

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

Landslide Maven Plugin

Usage:

  <plugin>
    <groupId>com.github.rmannibucau</groupId>
    <artifactId>landslide-maven-plugin</artifactId>
    <version>0.1-SNAPSHOT</version>
    <configuration>
      <source>${project.basedir}/src/slides/</source>
      <destination>${project.build.directory}/landslide/presentation.html</destination>
      <theme>${project.basedir}/src/slides/theme</theme> <!-- nothing means default theme -->
      <extensions>tables</extensions> <!-- markdown extensions -->
      <embed>true</embed> <!-- include js, css, images -->
    </configuration>
  </plugin>

Notes for developers

  • The build integrates python dependencies automatically in the jar.
  • mainmojo.py is mainly main.py from landslide with the following changes:
    • remove sys.exit calls
    • use args as parameter instead of relying on sys.argv
    • this file needs to be synchronized with main.py when upgrading landslide
  • runner.py the wrapper called from java

Common usage

To invoke the plugin just invoke:

mvn landslide:landslide

And in write mode it is quite easy to use:

mvn landslide:landslide -Dlandslide.watch=1

It will poll the sources to auto-update the destination.

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

Версия
0.2
0.1