blob: f6c2e4c9937aa35bf1ca7431fedd1175d16d16ed [file] [log] [blame]
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +01001<?xml version="1.0" encoding="UTF-8"?>
Matthias Andreas Benkardb5d657a2022-02-03 21:14:30 +01002
3<!--
4SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
5
6SPDX-License-Identifier: LGPL-3.0-or-later
7-->
8
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +01009<project
10 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
11 xmlns="http://maven.apache.org/POM/4.0.0"
12 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
13
14 <modelVersion>4.0.0</modelVersion>
15
Matthias Andreas Benkard15310a22024-07-22 06:34:17 +020016 <version>0.1.10</version>
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +010017
18 <groupId>eu.mulk.jgvariant</groupId>
19 <artifactId>jgvariant-parent</artifactId>
20 <packaging>pom</packaging>
21
22 <name>JGVariant Parent</name>
23 <url>https://gerrit.benkard.de/plugins/gitiles/jgvariant</url>
24
25 <description>
26 Parent POM of the JGVariant library.
27 </description>
28
29 <licenses>
30 <license>
31 <name>GNU Lesser General Public License v3.0 or later</name>
32 <url>https://www.gnu.org/licenses/lgpl-3.0.html</url>
33 </license>
34 </licenses>
35
36 <developers>
37 <developer>
38 <name>Matthias Benkard</name>
39 <email>code@mulk.eu</email>
40 <organization>Matthias Benkard</organization>
41 <organizationUrl>https://matthias.benkard.de</organizationUrl>
42 </developer>
43 </developers>
44
45 <scm>
46 <connection>scm:git:https://gerrit.benkard.de/jgvariant</connection>
47 <developerConnection>scm:git:ssh://gerrit.benkard.de:29418/jgvariant</developerConnection>
48 <url>https://gerrit.benkard.de/plugins/gitiles/jgvariant</url>
49 </scm>
50
51 <properties>
52 <maven.compiler.parameters>true</maven.compiler.parameters>
53 <maven.compiler.release>17</maven.compiler.release>
54
55 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
56 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
57
Renovate Bot03c27252024-03-18 19:03:14 +000058 <compiler-plugin.version>3.13.0</compiler-plugin.version>
Renovate Botec351d32024-10-22 08:04:29 +000059 <exec-plugin.version>3.5.0</exec-plugin.version>
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +010060 <failsafe-plugin.version>${surefire-plugin.version}</failsafe-plugin.version>
Renovate Botfe1ec7b2024-01-14 12:02:50 +000061 <flatten-plugin.version>1.6.0</flatten-plugin.version>
Renovate Bot96aadaf2024-07-07 21:05:16 +000062 <jar-plugin.version>3.4.2</jar-plugin.version>
Matthias Andreas Benkarda1e84432023-12-05 21:12:16 +010063 <jpackage-plugin.version>0.1.5</jpackage-plugin.version>
Renovate Bot469edb52024-04-14 10:04:01 +000064 <maven-scm-plugin.version>2.1.0</maven-scm-plugin.version>
Renovate Bot2ef1c2b2024-09-27 15:02:58 +000065 <maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version>
Renovate Bot61bf67e2024-11-02 21:04:43 +000066 <maven-javadoc-plugin.version>3.11.1</maven-javadoc-plugin.version>
Renovate Bot60812282024-04-04 20:04:01 +000067 <maven-source-plugin.version>3.3.1</maven-source-plugin.version>
Renovate Bot03fc18b2024-09-10 11:02:43 +000068 <native-plugin.version>0.10.3</native-plugin.version>
Renovate Botccff0432024-05-27 18:02:28 +000069 <nexus-staging-plugin.version>1.7.0</nexus-staging-plugin.version>
Renovate Bot01fa4732024-01-23 08:03:07 +000070 <spotless-plugin.version>2.43.0</spotless-plugin.version>
Renovate Bot61bf67e2024-11-02 21:04:43 +000071 <surefire-plugin.version>3.5.2</surefire-plugin.version>
Renovate Botd64d8a32024-11-13 21:02:02 +000072 <versions-plugin.version>2.18.0</versions-plugin.version>
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +010073
74 <apiguardian.version>1.1.2</apiguardian.version>
Renovate Bot532b9de2024-10-25 16:04:49 +000075 <errorprone.version>2.35.1</errorprone.version>
Renovate Botd2293da2024-08-07 23:02:57 +000076 <inject-resources.version>0.3.5</inject-resources.version>
Renovate Bot5744ba42024-11-19 01:02:51 +000077 <jetbrains-annotations.version>26.0.1</jetbrains-annotations.version>
Renovate Bot48cb3f42024-09-30 09:03:14 +000078 <jqwik.version>1.9.1</jqwik.version>
Matthias Andreas Benkard15456c82024-07-20 10:52:54 +020079 <jspecify.version>1.0.0</jspecify.version>
Renovate Bot8d0929b2024-10-21 14:04:58 +000080 <junit-jupiter.version>5.11.3</junit-jupiter.version>
Renovate Botf00e0512024-10-30 19:33:00 +000081 <nullaway.version>0.12.1</nullaway.version>
Renovate Botd2293da2024-08-07 23:02:57 +000082 <parsson.version>1.1.7</parsson.version>
Renovate Bote378e7a2024-05-07 23:04:01 +000083 <picocli.version>4.7.6</picocli.version>
Renovate Botd2293da2024-08-07 23:02:57 +000084 <yasson.version>3.0.4</yasson.version>
85 <xz.version>1.10</xz.version>
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +010086 </properties>
87
88 <distributionManagement>
89 <snapshotRepository>
90 <id>ossrh</id>
91 <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
92 </snapshotRepository>
93 </distributionManagement>
94
95 <dependencyManagement>
96 <dependencies>
97 <!-- Annotations -->
98 <dependency>
99 <groupId>com.google.errorprone</groupId>
100 <artifactId>error_prone_annotations</artifactId>
101 <version>${errorprone.version}</version>
102 </dependency>
103 <dependency>
104 <groupId>org.jetbrains</groupId>
105 <artifactId>annotations</artifactId>
106 <version>${jetbrains-annotations.version}</version>
107 </dependency>
108 <dependency>
Matthias Andreas Benkard15456c82024-07-20 10:52:54 +0200109 <groupId>org.jspecify</groupId>
110 <artifactId>jspecify</artifactId>
111 <version>${jspecify.version}</version>
112 </dependency>
113 <dependency>
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +0100114 <groupId>org.apiguardian</groupId>
115 <artifactId>apiguardian-api</artifactId>
116 <version>${apiguardian.version}</version>
117 </dependency>
118
Matthias Andreas Benkard50a626d2021-12-30 19:13:49 +0100119 <!-- OSTree compression support -->
120 <dependency>
121 <groupId>org.tukaani</groupId>
122 <artifactId>xz</artifactId>
Matthias Andreas Benkarde236b4d2022-03-01 13:51:01 +0100123 <version>${xz.version}</version>
Matthias Andreas Benkard50a626d2021-12-30 19:13:49 +0100124 </dependency>
125
Matthias Andreas Benkarda1e84432023-12-05 21:12:16 +0100126 <!-- Command line tooling -->
127 <dependency>
128 <groupId>info.picocli</groupId>
129 <artifactId>picocli</artifactId>
130 <version>${picocli.version}</version>
131 </dependency>
132
133 <!-- JSON -->
134 <dependency>
135 <groupId>org.eclipse</groupId>
136 <artifactId>yasson</artifactId>
137 <version>${yasson.version}</version>
138 </dependency>
Matthias Andreas Benkard7ab11892023-12-13 18:22:18 +0100139 <dependency>
140 <groupId>org.eclipse.parsson</groupId>
141 <artifactId>parsson</artifactId>
142 <version>${parsson.version}</version>
143 </dependency>
Matthias Andreas Benkarda1e84432023-12-05 21:12:16 +0100144
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +0100145 <!-- Testing -->
146 <dependency>
147 <groupId>org.junit.jupiter</groupId>
148 <artifactId>junit-jupiter-engine</artifactId>
149 <version>${junit-jupiter.version}</version>
150 <scope>test</scope>
151 </dependency>
152 <dependency>
153 <groupId>org.junit.jupiter</groupId>
154 <artifactId>junit-jupiter-api</artifactId>
155 <version>${junit-jupiter.version}</version>
156 <scope>test</scope>
157 </dependency>
Matthias Andreas Benkard4e8423d2021-12-19 22:56:09 +0100158 <dependency>
159 <groupId>io.hosuaby</groupId>
160 <artifactId>inject-resources-junit-jupiter</artifactId>
161 <version>${inject-resources.version}</version>
162 <scope>test</scope>
163 </dependency>
Matthias Andreas Benkarddf853ef2023-12-10 20:29:35 +0100164 <dependency>
165 <groupId>net.jqwik</groupId>
166 <artifactId>jqwik</artifactId>
167 <version>${jqwik.version}</version>
168 <scope>test</scope>
169 </dependency>
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +0100170 </dependencies>
171 </dependencyManagement>
172
173 <build>
174
175 <pluginManagement>
176
177 <plugins>
178
179 <plugin>
180 <artifactId>maven-surefire-plugin</artifactId>
181 <version>${surefire-plugin.version}</version>
182 <configuration>
183 <argLine>
184 --add-opens eu.mulk.jgvariant.core/eu.mulk.jgvariant.core=ALL-UNNAMED
Matthias Andreas Benkarda7e9d522021-12-28 01:37:47 +0100185 --add-opens eu.mulk.jgvariant.ostree/eu.mulk.jgvariant.ostree=ALL-UNNAMED
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +0100186 </argLine>
187 </configuration>
188 </plugin>
189
190 <plugin>
191 <artifactId>maven-failsafe-plugin</artifactId>
192 <version>${failsafe-plugin.version}</version>
193 <configuration>
194 <argLine>
195 --add-opens eu.mulk.jgvariant.core/eu.mulk.jgvariant.core=ALL-UNNAMED
Matthias Andreas Benkarda7e9d522021-12-28 01:37:47 +0100196 --add-opens eu.mulk.jgvariant.ostree/eu.mulk.jgvariant.ostree=ALL-UNNAMED
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +0100197 </argLine>
198 </configuration>
199 </plugin>
200
201 <plugin>
202 <artifactId>maven-compiler-plugin</artifactId>
203 <version>${compiler-plugin.version}</version>
204 <configuration>
205 <fork>true</fork>
Matthias Andreas Benkardce8df372023-12-07 19:36:08 +0100206 <parameters>true</parameters>
Matthias Andreas Benkard91dbd742022-10-17 19:38:56 +0200207 <showWarnings>true</showWarnings>
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +0100208 <compilerArgs>
209 <arg>-XDcompilePolicy=simple</arg>
Matthias Benkardd0d05c32023-01-12 18:54:04 +0000210 <arg>-Xplugin:ErrorProne -Xep:InvalidParam:OFF -XepOpt:NullAway:AnnotatedPackages=eu.mulk</arg>
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +0100211 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
Matthias Andreas Benkard9006e702022-03-01 13:43:50 +0100212 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +0100213 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
214 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg>
215 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg>
216 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg>
217 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
218 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg>
219 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
220 <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
221 <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
222 </compilerArgs>
223 <annotationProcessorPaths>
224 <path>
225 <groupId>com.google.errorprone</groupId>
226 <artifactId>error_prone_core</artifactId>
227 <version>${errorprone.version}</version>
228 </path>
Matthias Andreas Benkard9006e702022-03-01 13:43:50 +0100229 <path>
Matthias Andreas Benkard91dbd742022-10-17 19:38:56 +0200230 <groupId>com.uber.nullaway</groupId>
231 <artifactId>nullaway</artifactId>
232 <version>${nullaway.version}</version>
Matthias Andreas Benkard9006e702022-03-01 13:43:50 +0100233 </path>
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +0100234 </annotationProcessorPaths>
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +0100235 </configuration>
236 </plugin>
237
238 <plugin>
239 <artifactId>maven-jar-plugin</artifactId>
240 <version>${jar-plugin.version}</version>
241 </plugin>
242
243 <plugin>
244 <groupId>org.codehaus.mojo</groupId>
245 <artifactId>versions-maven-plugin</artifactId>
246 <version>${versions-plugin.version}</version>
247 </plugin>
248
249 <plugin>
250 <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-scm-plugin</artifactId>
252 <version>${maven-scm-plugin.version}</version>
253 <configuration>
254 <tag>v${project.version}</tag>
255 <connectionType>developerConnection</connectionType>
256 </configuration>
257 </plugin>
258
Matthias Andreas Benkard143a64b2022-03-01 14:24:12 +0100259 <plugin>
260 <groupId>org.codehaus.mojo</groupId>
261 <artifactId>flatten-maven-plugin</artifactId>
262 <version>${flatten-plugin.version}</version>
263 <executions>
264 <execution>
265 <id>flatten</id>
266 <phase>process-resources</phase>
267 <goals>
268 <goal>flatten</goal>
269 </goals>
270 </execution>
271 <execution>
272 <id>flatten.clean</id>
273 <phase>clean</phase>
274 <goals>
275 <goal>clean</goal>
276 </goals>
277 </execution>
278 </executions>
279 </plugin>
280
Matthias Andreas Benkarda1e84432023-12-05 21:12:16 +0100281 <plugin>
Matthias Andreas Benkard40bd44a2023-12-05 21:48:46 +0100282 <groupId>org.codehaus.mojo</groupId>
283 <artifactId>exec-maven-plugin</artifactId>
284 <version>${exec-plugin.version}</version>
285 </plugin>
286
287 <plugin>
Matthias Andreas Benkarda1e84432023-12-05 21:12:16 +0100288 <groupId>org.graalvm.buildtools</groupId>
289 <artifactId>native-maven-plugin</artifactId>
290 <version>${native-plugin.version}</version>
291 </plugin>
292
293 <plugin>
294 <groupId>com.github.akman</groupId>
295 <artifactId>jpackage-maven-plugin</artifactId>
296 <version>${jpackage-plugin.version}</version>
297 </plugin>
298
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +0100299 </plugins>
300
301 </pluginManagement>
302
303 <plugins>
304
305 <plugin>
306 <groupId>com.diffplug.spotless</groupId>
307 <artifactId>spotless-maven-plugin</artifactId>
308 <version>${spotless-plugin.version}</version>
309 <configuration>
310 <java>
311 <removeUnusedImports/>
312 <importOrder>
313 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
314 </importOrder>
315 <googleJavaFormat>
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +0100316 <style>GOOGLE</style>
317 </googleJavaFormat>
318 </java>
319 </configuration>
320 </plugin>
321
322 <plugin>
323 <groupId>org.sonatype.plugins</groupId>
324 <artifactId>nexus-staging-maven-plugin</artifactId>
325 <version>${nexus-staging-plugin.version}</version>
326 <extensions>true</extensions>
327 <configuration>
328 <serverId>ossrh</serverId>
329 <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
330 <autoReleaseAfterClose>true</autoReleaseAfterClose>
331 </configuration>
332 </plugin>
333
Matthias Andreas Benkard143a64b2022-03-01 14:24:12 +0100334 <plugin>
335 <groupId>org.codehaus.mojo</groupId>
336 <artifactId>flatten-maven-plugin</artifactId>
337 <configuration>
338 <flattenMode>oss</flattenMode>
339 <flattenDependencyMode>all</flattenDependencyMode>
340 <pomElements>
341 <distributionManagement>flatten</distributionManagement>
342 </pomElements>
343 </configuration>
344 </plugin>
345
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +0100346 </plugins>
347 </build>
348
349 <profiles>
350
351 <profile>
352 <id>release</id>
353
354 <build>
355 <plugins>
356
357 <plugin>
358 <groupId>org.apache.maven.plugins</groupId>
359 <artifactId>maven-source-plugin</artifactId>
360 <version>${maven-source-plugin.version}</version>
361 <executions>
362 <execution>
363 <id>attach-sources</id>
364 <goals>
365 <goal>jar-no-fork</goal>
366 </goals>
367 </execution>
368 </executions>
369 </plugin>
370
371 <plugin>
372 <groupId>org.apache.maven.plugins</groupId>
373 <artifactId>maven-javadoc-plugin</artifactId>
374 <version>${maven-javadoc-plugin.version}</version>
375 <executions>
376 <execution>
377 <id>attach-javadocs</id>
378 <goals>
379 <goal>jar</goal>
380 </goals>
381 </execution>
382 </executions>
383 </plugin>
384
385 <plugin>
386 <groupId>org.apache.maven.plugins</groupId>
387 <artifactId>maven-gpg-plugin</artifactId>
388 <version>${maven-gpg-plugin.version}</version>
389 <configuration>
Matthias Andreas Benkard3887e3f2023-12-12 19:13:11 +0100390 <keyname>44DD0CEE515E547A0ABAB1D24F2E30DF0A270EFB</keyname>
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +0100391 </configuration>
392 <executions>
393 <execution>
394 <id>sign-artifacts</id>
395 <phase>verify</phase>
396 <goals>
397 <goal>sign</goal>
398 </goals>
399 </execution>
400 </executions>
401 </plugin>
402
403 </plugins>
404 </build>
405 </profile>
406
407 </profiles>
408
409</project>