blob: a2c6842f254197e019d8b31956c7e7d7d80f10ec [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.eclipse.openk.domain.dynamic-topology</groupId>
<artifactId>dynamic-topology-documentation</artifactId>
<version>2.20.0</version>
<packaging>pom</packaging>
<name>dynamic-topology-documentation</name>
<description>POM for the dynamic-topology-documentation.</description>
<properties>
<skip.asciidoc>false</skip.asciidoc>
<asciidoctor.maven.plugin.version>1.5.6</asciidoctor.maven.plugin.version>
<asciidoctorj.pdf.version>1.5.0-alpha.16</asciidoctorj.pdf.version>
<asciidoctorj.version>1.5.6</asciidoctorj.version>
<asciidoctorj-diagram.version>1.5.4.1</asciidoctorj-diagram.version>
<jruby.version>1.7.26</jruby.version>
<asciidoc.source.directory>src/main/</asciidoc.source.directory>
<asciidoc.test.directory>src/test/</asciidoc.test.directory>
</properties>
<parent>
<groupId>org.eclipse.openk.build.build-parentpom</groupId>
<artifactId>build-parentpom-aggregator-base</artifactId>
<version>2.20.0</version>
<relativePath></relativePath>
</parent>
<build>
<pluginManagement>
<plugins>
<!-- asciidoc -->
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>${asciidoctor.maven.plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- asciidoc -->
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj-pdf</artifactId>
<version>${asciidoctorj.pdf.version}</version>
</dependency>
<dependency>
<groupId>org.jruby</groupId>
<artifactId>jruby-complete</artifactId>
<version>${jruby.version}</version>
</dependency>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj</artifactId>
<version>${asciidoctorj.version}</version>
</dependency>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj-diagram</artifactId>
<version>${asciidoctorj-diagram.version}</version>
</dependency>
</dependencies>
<configuration>
<requires>
<require>asciidoctor-diagram</require>
</requires>
<attributes>
</attributes>
<configuration>
<imagesDir>images</imagesDir>
</configuration>
</configuration>
<executions>
<execution>
<id>asciidoc-docs-to-html</id>
<phase>generate-resources</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<sourceDirectory>${asciidoc.source.directory}/doc</sourceDirectory>
<outputDirectory>${project.build.directory}/generated-docs/html/doc</outputDirectory>
<skip>${skip.asciidoc}</skip>
<preserveDirectories>true</preserveDirectories>
<sourceHighlighter>coderay</sourceHighlighter>
<backend>html5</backend>
<requires>
<require>asciidoctor-diagram</require>
</requires>
<attributes>
<imagesDir>./images</imagesDir>
<toc>left</toc>
<icons>font</icons>
<sectanchors>true</sectanchors>
<!-- set the idprefix to blank -->
<idprefix />
<idseparator>-</idseparator>
<docinfo1>true</docinfo1>
</attributes>
</configuration>
</execution>
<execution>
<id>asciidoc-documentation-to-pdf</id>
<phase>generate-resources</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<sourceDirectory>${asciidoc.source.directory}/doc</sourceDirectory>
<outputDirectory>${project.build.directory}/generated-docs/main/doc</outputDirectory>
<skip>${skip.asciidoc}</skip>
<preserveDirectories>true</preserveDirectories>
<sourceHighlighter>coderay</sourceHighlighter>
<backend>pdf</backend>
<requires>
<require>asciidoctor-diagram</require>
</requires>
<attributes>
<imagesDir>./images</imagesDir>
<icons>font</icons>
<pagenums />
<toc />
<idprefix />
<idseparator>-</idseparator>
</attributes>
</configuration>
</execution>
<execution>
<id>asciidoc-test-documentation-to-pdf</id>
<phase>generate-resources</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<sourceDirectory>${asciidoc.test.directory}/doc</sourceDirectory>
<outputDirectory>${project.build.directory}/generated-docs/test/doc</outputDirectory>
<skip>${skip.asciidoc}</skip>
<preserveDirectories>true</preserveDirectories>
<sourceHighlighter>coderay</sourceHighlighter>
<backend>pdf</backend>
<requires>
<require>asciidoctor-diagram</require>
</requires>
<attributes>
<imagesDir>./images</imagesDir>
<icons>font</icons>
<pagenums />
<toc />
<idprefix />
<idseparator>-</idseparator>
</attributes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>