-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpom.xml
130 lines (119 loc) · 5.31 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
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.agrest.docs</groupId>
<artifactId>agrest-docs</artifactId>
<version>5.0</version>
<name>agrest-docs: Agrest.io AsciiDoc documentation</name>
<packaging>pom</packaging>
<modules>
<module>agrest-docs-get-started-cayenne-sb</module>
<module>agrest-docs-protocol</module>
<module>agrest-docs-framework</module>
</modules>
<properties>
<maven.compiler.release>17</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<asciidoctorj.version>2.5.12</asciidoctorj.version>
<asciidoctor.maven.plugin.version>2.2.6</asciidoctor.maven.plugin.version>
<asciidoctorj.pdf.version>2.1.4</asciidoctorj.pdf.version>
<jsoup.version>1.14.3</jsoup.version>
<agrest.version>5.0.M19</agrest.version>
<jersey3.version>3.0.11</jersey3.version>
</properties>
<repositories>
<repository>
<id>agrest-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj</artifactId>
<version>${asciidoctorj.version}</version>
</dependency>
<dependency>
<!-- jsoup HTML parser library @ https://jsoup.org/ -->
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>${jsoup.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</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</artifactId>
<version>${asciidoctorj.version}</version>
</dependency>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj-pdf</artifactId>
<version>${asciidoctorj.pdf.version}</version>
</dependency>
<dependency>
<groupId>io.bootique.tools</groupId>
<artifactId>hugo-asciidoctorj-extension</artifactId>
<version>1.0-M2</version>
</dependency>
</dependencies>
<configuration>
<sourceDirectory>src/docs/asciidoc</sourceDirectory>
<doctype>book</doctype>
<backend>html5</backend>
<headerFooter>false</headerFooter> <!-- do not generate header and footer -->
<outputDirectory>${project.build.directory}/site/</outputDirectory>
<preserveDirectories>true</preserveDirectories>
<!-- Attributes common to all output formats -->
<attributes>
<basedir>${project.basedir}</basedir>
<sourcedir>${project.build.sourceDirectory}</sourcedir>
<imagesdir>..</imagesdir>
<icons>font</icons>
<sectanchors>true</sectanchors>
<idprefix /> <!-- set the idprefix to blank -->
<idseparator>-</idseparator>
<sectnums />
<icons>font</icons>
<toc>auto</toc>
<project-version>${project.version}</project-version>
<docs-version>5.x</docs-version>
<hugo-header>_chapters/header.html</hugo-header>
</attributes>
<extensions>
<extension>
<className>io.bootique.tools.asciidoctorj.HugoExtension</className>
</extension>
</extensions>
</configuration>
</plugin>
</plugins>
</build>
</project>