-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
123 lines (115 loc) · 4.47 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?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>com.github.daggerok</groupId>
<version>0.0.1</version>
<artifactId>kumuluzee-examples</artifactId>
<packaging>pom</packaging>
<properties>
<java.version>1.8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<encoding>UTF-8</encoding>
<project.build.sourceEncoding>${encoding}</project.build.sourceEncoding>
<project.reporting.sourceEncoding>${encoding}</project.reporting.sourceEncoding>
<asciidoctorj-pdf.version>1.5.0-beta.2</asciidoctorj-pdf.version>
<asciidoctorj-diagram.version>1.5.18</asciidoctorj-diagram.version>
<asciidoctor-maven-plugin.version>2.0.0-RC.1</asciidoctor-maven-plugin.version>
</properties>
<modules>
<module>maven-assembly</module>
</modules>
<build>
<defaultGoal>clean process-resources</defaultGoal>
<plugins>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>${asciidoctor-maven-plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj-pdf</artifactId>
<version>${asciidoctorj-pdf.version}</version>
</dependency>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj-diagram</artifactId>
<version>${asciidoctorj-diagram.version}</version>
</dependency>
</dependencies>
<configuration>
<outputDirectory>target/generated-docs</outputDirectory>
<sourceDirectory>docs</sourceDirectory>
<relativeBaseDir>true</relativeBaseDir>
<headerFooter>true</headerFooter>
<imagesDir>.</imagesDir><!-- Don't know why, but yes - use base sources dir... -->
<attributes>
<headerFooter>true</headerFooter>
<toc>left</toc>
<linkcss>false</linkcss>
<doctype>book</doctype>
<ruby>erubis</ruby>
<encoding>${project.build.sourceEncoding}</encoding>
<linkattrs>true</linkattrs>
<numbered>true</numbered>
<sectanchors>true</sectanchors>
<sectlink>true</sectlink>
<idprefix/>
<docinfo1/>
<icons>font</icons>
<idseparator>-</idseparator>
<setanchors>true</setanchors>
<toc-title>Table of Contents</toc-title>
<project-name>${project.artifactId}</project-name>
<root-project-name>${project.artifactId}</root-project-name>
<project-version>${project.version}</project-version>
<github-url>https://github.com/daggerok/${project.artifactId}</github-url>
</attributes>
</configuration>
<executions>
<execution>
<id>output-html</id>
<phase>generate-resources</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<backend>html</backend>
<sourceHighlighter>highlightjs</sourceHighlighter>
</configuration>
</execution>
<execution>
<id>output-docbook</id>
<phase>generate-resources</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<backend>docbook</backend>
</configuration>
</execution>
<execution>
<id>output-pdf-doc</id>
<phase>generate-resources</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<backend>pdf</backend>
<sourceHighlighter>coderay</sourceHighlighter>
<requires>
<require>asciidoctor-diagram</require>
<require>coderay</require>
</requires>
<attributes>
<icons>font</icons>
<pagenums/>
</attributes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>