-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
149 lines (140 loc) · 6.38 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<?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">
<packaging>pom</packaging>
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.daggerok</groupId>
<artifactId>css-examples</artifactId>
<version>0.0.2</version>
<properties>
<java.version>1.8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven-clean-plugin.version>3.1.0</maven-clean-plugin.version>
<asciidoctorj-diagram.version>1.5.18</asciidoctorj-diagram.version>
<asciidoctorj-pdf.version>1.5.0-beta.8</asciidoctorj-pdf.version>
<asciidoctor-maven-plugin.version>2.0.0-RC.1</asciidoctor-maven-plugin.version>
</properties>
<build>
<defaultGoal>clean process-resources</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven-clean-plugin.version}</version>
<configuration>
<failOnError>false</failOnError>
<filesets>
<fileset><directory>${project.basedir}/json-server-forever/.idea</directory></fileset>
<fileset><directory>${project.basedir}/json-server-forever/dist</directory></fileset>
<fileset><directory>${project.basedir}/json-server-forever/node_modules</directory></fileset>
<fileset><directory>${project.basedir}/random-tachyons-button-styling/.idea</directory></fileset>
<fileset><directory>${project.basedir}/random-tachyons-button-styling/dist</directory></fileset>
<fileset><directory>${project.basedir}/random-tachyons-button-styling/node_modules</directory></fileset>
<fileset><directory>${project.basedir}/css-grid-display/.idea</directory></fileset>
<fileset><directory>${project.basedir}/css-grid-display/dist</directory></fileset>
<fileset><directory>${project.basedir}/css-grid-display/node_modules</directory></fileset>
<fileset><directory>${project.basedir}/parcel-starter/.idea</directory></fileset>
<fileset><directory>${project.basedir}/parcel-starter/dist</directory></fileset>
<fileset><directory>${project.basedir}/parcel-starter/node_modules</directory></fileset>
<fileset><directory>${project.basedir}/simple-starter/.idea</directory></fileset>
<fileset><directory>${project.basedir}/simple-starter/dist</directory></fileset>
<fileset><directory>${project.basedir}/simple-starter/node_modules</directory></fileset>
<fileset><directory>${project.basedir}/css-grid-starter/.idea</directory></fileset>
<fileset><directory>${project.basedir}/css-grid-starter/dist</directory></fileset>
<fileset><directory>${project.basedir}/css-grid-starter/node_modules</directory></fileset>
</filesets>
</configuration>
</plugin>
<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... -->
<sourceHighlighter>highlightjs</sourceHighlighter>
<attributes>
<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>
</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>