| <?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> |
| |
| <parent> |
| <artifactId>hop-user-manual</artifactId> |
| <groupId>org.hop.doc</groupId> |
| <version>1.0-SNAPSHOT</version> |
| <relativePath>../../pom.xml</relativePath> |
| </parent> |
| |
| <groupId>org.hop.doc</groupId> |
| <artifactId>hop-user-manual-asciidoctor</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| |
| <name>Hop User Manual</name> |
| <description></description> |
| <packaging>pom</packaging> |
| <url>https://hop.apache.org</url> |
| |
| <properties> |
| <output.filename>hop-user-manual</output.filename> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>hop-doc-resources</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <!--Use resources plugin to grab images from other module for PDF build--> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>3.1.0</version> |
| <executions> |
| <execution> |
| <id>copy-resource-one</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| |
| <configuration> |
| <outputDirectory>./target/assets/images</outputDirectory> |
| <resources> |
| <resource> |
| <directory>../ROOT/assets/images</directory> |
| <includes> |
| <include>**</include> |
| </includes> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-remote-resources-plugin</artifactId> |
| <version>1.6.0</version> |
| <configuration> |
| <resourceBundles> |
| <resourceBundle>org.hop.doc:hop-doc-resources:${project.version}</resourceBundle> |
| </resourceBundles> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>process</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctor-maven-plugin</artifactId> |
| <version>2.0.0-RC.1</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctor-maven-plugin</artifactId> |
| <version>${asciidoctor.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctorj-pdf</artifactId> |
| <version>${asciidoctorj.pdf.version}</version> |
| </dependency> |
| </dependencies> |
| <configuration> |
| <sourceDirectory>pages</sourceDirectory> |
| </configuration> |
| <executions> |
| <execution> |
| <id>output-html</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>process-asciidoc</goal> |
| </goals> |
| <configuration> |
| <backend>html</backend> |
| <doctype>book</doctype> |
| </configuration> |
| </execution> |
| <!--<execution> |
| <id>output-pdf-book</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>process-asciidoc</goal> |
| </goals> |
| <configuration> |
| <backend>pdf</backend> |
| <doctype>book</doctype> |
| <attributes> |
| <pdf-stylesdir>${project.basedir}/target/maven-shared-archive-resources/themes</pdf-stylesdir> |
| <pdf-style>hop</pdf-style> |
| </attributes> |
| </configuration> |
| </execution>--> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <appendAssemblyId>false</appendAssemblyId> |
| <descriptors> |
| <descriptor>assembly-jar.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |