Repository navigation
Expand file tree
/
Copy pathpom.xml
More file actions
310 lines (294 loc) · 11.1 KB
/
Copy pathpom.xml
File metadata and controls
310 lines (294 loc) · 11.1 KB
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
<?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.doctoolchain</groupId>
<artifactId>dtc-confluence</artifactId>
<version>0.1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>dtc-confluence</name>
<description>Confluence support for docs-as-code, extracted from docToolchain</description>
<url>https://github.com/docToolchain/dtc-confluence</url>
<inceptionYear>2025</inceptionYear>
<licenses>
<license>
<name>MIT License</name>
<url>https://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<!-- Maven Central refuses a POM without these; they are metadata, not configuration. -->
<developers>
<developer>
<id>ascheman</id>
<name>Gerd Aschemann</name>
<url>https://github.com/ascheman</url>
</developer>
</developers>
<scm>
<connection>scm:git:https://github.com/docToolchain/dtc-confluence.git</connection>
<developerConnection>scm:git:git@github.com:docToolchain/dtc-confluence.git</developerConnection>
<url>https://github.com/docToolchain/dtc-confluence</url>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/docToolchain/dtc-confluence/issues</url>
</issueManagement>
<modules>
<module>dtc-confluence-core</module>
<module>dtc-confluence-cli</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<sonar.organization>doctoolchain</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.projectKey>docToolchain_dtc-confluence</sonar.projectKey>
<!-- Built with JDK 25, released for Java 17. -->
<maven.compiler.release>17</maven.compiler.release>
<!-- Deliberately the versions docToolchain uses, so that the move stays a
move. Groovy and Spock are the exception: Groovy 3 cannot compile on
JDK 25, and Spock has no Groovy 5 build. -->
<groovy.version>4.0.33</groovy.version>
<jsoup.version>1.23.2</jsoup.version>
<httpclient5.version>5.6.5</httpclient5.version>
<guava.version>33.7.2-jre</guava.version>
<snakeyaml.version>2.7</snakeyaml.version>
<!-- Spock caps Groovy at 4.x: there is no Groovy 5 build of spock-core.
Groovy 5 fails the build outright, see .github/dependabot.yml. -->
<picocli.version>4.7.7</picocli.version>
<spock.version>2.4-M6-groovy-4.0</spock.version>
<junit.version>6.1.3</junit.version>
<archunit.version>1.5.1</archunit.version>
<!-- Spock needs these to mock Java classes. It does not need them for Groovy
classes, which is why they only became necessary once the port started. -->
<byte-buddy.version>1.18.15</byte-buddy.version>
<objenesis.version>3.6</objenesis.version>
<gmavenplus.version>5.1.0</gmavenplus.version>
<jacoco.version>0.8.15</jacoco.version>
<sonar-maven-plugin.version>5.8.0.7211</sonar-maven-plugin.version>
<maven-compiler-plugin.version>3.16.0</maven-compiler-plugin.version>
<maven-surefire-plugin.version>3.6.0</maven-surefire-plugin.version>
<maven-assembly-plugin.version>3.8.0</maven-assembly-plugin.version>
<!-- Release only; see the `release` profile and docs/releasing.adoc. -->
<maven-source-plugin.version>3.4.0</maven-source-plugin.version>
<maven-javadoc-plugin.version>3.12.0</maven-javadoc-plugin.version>
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
<jreleaser-maven-plugin.version>1.26.0</jreleaser-maven-plugin.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy</artifactId>
<version>${groovy.version}</version>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-json</artifactId>
<version>${groovy.version}</version>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>${jsoup.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
<version>${httpclient5.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>${snakeyaml.version}</version>
</dependency>
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
<version>${picocli.version}</version>
</dependency>
<dependency>
<groupId>org.doctoolchain</groupId>
<artifactId>dtc-confluence-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.spockframework</groupId>
<artifactId>spock-core</artifactId>
<version>${spock.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>${junit.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit-junit5</artifactId>
<version>${archunit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>${byte-buddy.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.objenesis</groupId>
<artifactId>objenesis</artifactId>
<version>${objenesis.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId>
<version>${gmavenplus.version}</version>
<!-- Tests only: the main sources are Java. Groovy remains a dependency, because the
configuration this reads is a Groovy DSL, and Spock is a Groovy framework. -->
<executions>
<execution>
<goals>
<goal>addTestSources</goal>
<goal>compileTests</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>verify</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>${sonar-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<!-- Spock specifications are named *Spec, not *Test. -->
<includes>
<include>**/*Spec.java</include>
<include>**/*Test.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<!--
Everything a release needs and a normal build does not: the sources and javadoc jars Maven
Central requires, the signatures it requires, and JReleaser.
Kept in a profile so that `mvn verify` stays what it is - javadoc on 59 files and a GPG
round trip are not worth paying for on every push, and signing would fail on any machine
without the key.
-->
<profile>
<id>release</id>
<properties>
<!--
Off unless a release is going to Maven Central, which is the only thing that requires a
signature. A GitHub-only release needs no key, and demanding one from a machine that has
none would fail the build for nothing. Turn it on with -Dgpg.skip=false.
-->
<gpg.skip>true</gpg.skip>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jreleaser</groupId>
<artifactId>jreleaser-maven-plugin</artifactId>
<version>${jreleaser-maven-plugin.version}</version>
<!-- Configuration lives in jreleaser.yml, which is readable. -->
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>