Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Matthias Andreas Benkard | b5d657a | 2022-02-03 21:14:30 +0100 | [diff] [blame] | 2 | |
| 3 | <!-- |
| 4 | SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard <code@mail.matthias.benkard.de> |
| 5 | |
| 6 | SPDX-License-Identifier: LGPL-3.0-or-later |
| 7 | --> |
| 8 | |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 9 | <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 Benkard | eac6ed7 | 2022-10-09 19:40:50 +0200 | [diff] [blame] | 16 | <version>0.1.8-SNAPSHOT</version> |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 17 | |
| 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 Bot | 32fc95b | 2023-03-06 06:01:26 +0000 | [diff] [blame] | 58 | <compiler-plugin.version>3.11.0</compiler-plugin.version> |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 59 | <failsafe-plugin.version>${surefire-plugin.version}</failsafe-plugin.version> |
Renovate Bot | 0106bc0 | 2023-05-09 21:01:17 +0000 | [diff] [blame] | 60 | <flatten-plugin.version>1.5.0</flatten-plugin.version> |
renovate[bot] | a378e61 | 2022-12-17 09:26:01 +0100 | [diff] [blame] | 61 | <jar-plugin.version>3.3.0</jar-plugin.version> |
Matthias Andreas Benkard | a1e8443 | 2023-12-05 21:12:16 +0100 | [diff] [blame^] | 62 | <jpackage-plugin.version>0.1.5</jpackage-plugin.version> |
Renovate Bot | 20de522 | 2023-05-18 16:01:20 +0000 | [diff] [blame] | 63 | <maven-scm-plugin.version>2.0.1</maven-scm-plugin.version> |
Renovate Bot | bed2d5e | 2023-05-08 11:02:39 +0000 | [diff] [blame] | 64 | <maven-gpg-plugin.version>3.1.0</maven-gpg-plugin.version> |
Renovate Bot | fc17e89 | 2023-12-03 20:02:55 +0000 | [diff] [blame] | 65 | <maven-javadoc-plugin.version>3.6.3</maven-javadoc-plugin.version> |
Renovate Bot | 44b0a68 | 2023-05-21 09:01:36 +0000 | [diff] [blame] | 66 | <maven-source-plugin.version>3.3.0</maven-source-plugin.version> |
Matthias Andreas Benkard | a1e8443 | 2023-12-05 21:12:16 +0100 | [diff] [blame^] | 67 | <native-plugin.version>0.9.23</native-plugin.version> |
renovate[bot] | a378e61 | 2022-12-17 09:26:01 +0100 | [diff] [blame] | 68 | <nexus-staging-plugin.version>1.6.13</nexus-staging-plugin.version> |
Renovate Bot | fe42f32 | 2023-12-04 05:03:09 +0000 | [diff] [blame] | 69 | <spotless-plugin.version>2.41.1</spotless-plugin.version> |
Renovate Bot | f59652b | 2023-11-06 22:01:57 +0000 | [diff] [blame] | 70 | <surefire-plugin.version>3.2.2</surefire-plugin.version> |
Renovate Bot | 3df0c0c | 2023-11-17 01:02:13 +0000 | [diff] [blame] | 71 | <versions-plugin.version>2.16.2</versions-plugin.version> |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 72 | |
| 73 | <apiguardian.version>1.1.2</apiguardian.version> |
Renovate Bot | 60bc1f2 | 2023-10-18 19:01:50 +0000 | [diff] [blame] | 74 | <errorprone.version>2.23.0</errorprone.version> |
Matthias Andreas Benkard | 12a2493 | 2022-04-15 20:43:32 +0200 | [diff] [blame] | 75 | <google-java-format.version>1.15.0</google-java-format.version> |
Matthias Andreas Benkard | a1e8443 | 2023-12-05 21:12:16 +0100 | [diff] [blame^] | 76 | <guava.version>32.1.3-jre</guava.version> |
Renovate Bot | 126844b | 2023-05-28 13:01:36 +0000 | [diff] [blame] | 77 | <inject-resources.version>0.3.3</inject-resources.version> |
Renovate Bot | 11fe66b | 2023-11-15 12:02:19 +0000 | [diff] [blame] | 78 | <jetbrains-annotations.version>24.1.0</jetbrains-annotations.version> |
Renovate Bot | 9376aaa | 2023-11-05 18:02:05 +0000 | [diff] [blame] | 79 | <junit-jupiter.version>5.10.1</junit-jupiter.version> |
Renovate Bot | e9ab00b | 2023-11-30 21:03:27 +0000 | [diff] [blame] | 80 | <nullaway.version>0.10.18</nullaway.version> |
Matthias Andreas Benkard | a1e8443 | 2023-12-05 21:12:16 +0100 | [diff] [blame^] | 81 | <picocli.version>4.7.4</picocli.version> |
| 82 | <yasson.version>3.0.2</yasson.version> |
Matthias Andreas Benkard | 50a626d | 2021-12-30 19:13:49 +0100 | [diff] [blame] | 83 | <xz.version>1.9</xz.version> |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 84 | </properties> |
| 85 | |
| 86 | <distributionManagement> |
| 87 | <snapshotRepository> |
| 88 | <id>ossrh</id> |
| 89 | <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 90 | </snapshotRepository> |
| 91 | </distributionManagement> |
| 92 | |
| 93 | <dependencyManagement> |
| 94 | <dependencies> |
| 95 | <!-- Annotations --> |
| 96 | <dependency> |
| 97 | <groupId>com.google.errorprone</groupId> |
| 98 | <artifactId>error_prone_annotations</artifactId> |
| 99 | <version>${errorprone.version}</version> |
| 100 | </dependency> |
| 101 | <dependency> |
| 102 | <groupId>org.jetbrains</groupId> |
| 103 | <artifactId>annotations</artifactId> |
| 104 | <version>${jetbrains-annotations.version}</version> |
| 105 | </dependency> |
| 106 | <dependency> |
| 107 | <groupId>org.apiguardian</groupId> |
| 108 | <artifactId>apiguardian-api</artifactId> |
| 109 | <version>${apiguardian.version}</version> |
| 110 | </dependency> |
| 111 | |
Matthias Andreas Benkard | 50a626d | 2021-12-30 19:13:49 +0100 | [diff] [blame] | 112 | <!-- OSTree compression support --> |
| 113 | <dependency> |
| 114 | <groupId>org.tukaani</groupId> |
| 115 | <artifactId>xz</artifactId> |
Matthias Andreas Benkard | e236b4d | 2022-03-01 13:51:01 +0100 | [diff] [blame] | 116 | <version>${xz.version}</version> |
Matthias Andreas Benkard | 50a626d | 2021-12-30 19:13:49 +0100 | [diff] [blame] | 117 | </dependency> |
| 118 | |
Matthias Andreas Benkard | a1e8443 | 2023-12-05 21:12:16 +0100 | [diff] [blame^] | 119 | <!-- Command line tooling --> |
| 120 | <dependency> |
| 121 | <groupId>info.picocli</groupId> |
| 122 | <artifactId>picocli</artifactId> |
| 123 | <version>${picocli.version}</version> |
| 124 | </dependency> |
| 125 | |
| 126 | <!-- JSON --> |
| 127 | <dependency> |
| 128 | <groupId>org.eclipse</groupId> |
| 129 | <artifactId>yasson</artifactId> |
| 130 | <version>${yasson.version}</version> |
| 131 | </dependency> |
| 132 | |
| 133 | <!-- Guava --> |
| 134 | <dependency> |
| 135 | <groupId>com.google.guava</groupId> |
| 136 | <artifactId>guava</artifactId> |
| 137 | <version>${guava.version}</version> |
| 138 | </dependency> |
| 139 | |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 140 | <!-- Testing --> |
| 141 | <dependency> |
| 142 | <groupId>org.junit.jupiter</groupId> |
| 143 | <artifactId>junit-jupiter-engine</artifactId> |
| 144 | <version>${junit-jupiter.version}</version> |
| 145 | <scope>test</scope> |
| 146 | </dependency> |
| 147 | <dependency> |
| 148 | <groupId>org.junit.jupiter</groupId> |
| 149 | <artifactId>junit-jupiter-api</artifactId> |
| 150 | <version>${junit-jupiter.version}</version> |
| 151 | <scope>test</scope> |
| 152 | </dependency> |
Matthias Andreas Benkard | 4e8423d | 2021-12-19 22:56:09 +0100 | [diff] [blame] | 153 | <dependency> |
| 154 | <groupId>io.hosuaby</groupId> |
| 155 | <artifactId>inject-resources-junit-jupiter</artifactId> |
| 156 | <version>${inject-resources.version}</version> |
| 157 | <scope>test</scope> |
| 158 | </dependency> |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 159 | </dependencies> |
| 160 | </dependencyManagement> |
| 161 | |
| 162 | <build> |
| 163 | |
| 164 | <pluginManagement> |
| 165 | |
| 166 | <plugins> |
| 167 | |
| 168 | <plugin> |
| 169 | <artifactId>maven-surefire-plugin</artifactId> |
| 170 | <version>${surefire-plugin.version}</version> |
| 171 | <configuration> |
| 172 | <argLine> |
| 173 | --add-opens eu.mulk.jgvariant.core/eu.mulk.jgvariant.core=ALL-UNNAMED |
Matthias Andreas Benkard | a7e9d52 | 2021-12-28 01:37:47 +0100 | [diff] [blame] | 174 | --add-opens eu.mulk.jgvariant.ostree/eu.mulk.jgvariant.ostree=ALL-UNNAMED |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 175 | </argLine> |
| 176 | </configuration> |
| 177 | </plugin> |
| 178 | |
| 179 | <plugin> |
| 180 | <artifactId>maven-failsafe-plugin</artifactId> |
| 181 | <version>${failsafe-plugin.version}</version> |
| 182 | <configuration> |
| 183 | <argLine> |
| 184 | --add-opens eu.mulk.jgvariant.core/eu.mulk.jgvariant.core=ALL-UNNAMED |
Matthias Andreas Benkard | a7e9d52 | 2021-12-28 01:37:47 +0100 | [diff] [blame] | 185 | --add-opens eu.mulk.jgvariant.ostree/eu.mulk.jgvariant.ostree=ALL-UNNAMED |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 186 | </argLine> |
| 187 | </configuration> |
| 188 | </plugin> |
| 189 | |
| 190 | <plugin> |
| 191 | <artifactId>maven-compiler-plugin</artifactId> |
| 192 | <version>${compiler-plugin.version}</version> |
| 193 | <configuration> |
| 194 | <fork>true</fork> |
Matthias Andreas Benkard | 91dbd74 | 2022-10-17 19:38:56 +0200 | [diff] [blame] | 195 | <showWarnings>true</showWarnings> |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 196 | <compilerArgs> |
| 197 | <arg>-XDcompilePolicy=simple</arg> |
Matthias Benkard | d0d05c3 | 2023-01-12 18:54:04 +0000 | [diff] [blame] | 198 | <arg>-Xplugin:ErrorProne -Xep:InvalidParam:OFF -XepOpt:NullAway:AnnotatedPackages=eu.mulk</arg> |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 199 | <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg> |
Matthias Andreas Benkard | 9006e70 | 2022-03-01 13:43:50 +0100 | [diff] [blame] | 200 | <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg> |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 201 | <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg> |
| 202 | <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg> |
| 203 | <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg> |
| 204 | <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg> |
| 205 | <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg> |
| 206 | <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg> |
| 207 | <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg> |
| 208 | <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg> |
| 209 | <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg> |
| 210 | </compilerArgs> |
| 211 | <annotationProcessorPaths> |
| 212 | <path> |
| 213 | <groupId>com.google.errorprone</groupId> |
| 214 | <artifactId>error_prone_core</artifactId> |
| 215 | <version>${errorprone.version}</version> |
| 216 | </path> |
Matthias Andreas Benkard | 9006e70 | 2022-03-01 13:43:50 +0100 | [diff] [blame] | 217 | <path> |
Matthias Andreas Benkard | 91dbd74 | 2022-10-17 19:38:56 +0200 | [diff] [blame] | 218 | <groupId>com.uber.nullaway</groupId> |
| 219 | <artifactId>nullaway</artifactId> |
| 220 | <version>${nullaway.version}</version> |
Matthias Andreas Benkard | 9006e70 | 2022-03-01 13:43:50 +0100 | [diff] [blame] | 221 | </path> |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 222 | </annotationProcessorPaths> |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 223 | </configuration> |
| 224 | </plugin> |
| 225 | |
| 226 | <plugin> |
| 227 | <artifactId>maven-jar-plugin</artifactId> |
| 228 | <version>${jar-plugin.version}</version> |
| 229 | </plugin> |
| 230 | |
| 231 | <plugin> |
| 232 | <groupId>org.codehaus.mojo</groupId> |
| 233 | <artifactId>versions-maven-plugin</artifactId> |
| 234 | <version>${versions-plugin.version}</version> |
| 235 | </plugin> |
| 236 | |
| 237 | <plugin> |
| 238 | <groupId>org.apache.maven.plugins</groupId> |
| 239 | <artifactId>maven-scm-plugin</artifactId> |
| 240 | <version>${maven-scm-plugin.version}</version> |
| 241 | <configuration> |
| 242 | <tag>v${project.version}</tag> |
| 243 | <connectionType>developerConnection</connectionType> |
| 244 | </configuration> |
| 245 | </plugin> |
| 246 | |
Matthias Andreas Benkard | 143a64b | 2022-03-01 14:24:12 +0100 | [diff] [blame] | 247 | <plugin> |
| 248 | <groupId>org.codehaus.mojo</groupId> |
| 249 | <artifactId>flatten-maven-plugin</artifactId> |
| 250 | <version>${flatten-plugin.version}</version> |
| 251 | <executions> |
| 252 | <execution> |
| 253 | <id>flatten</id> |
| 254 | <phase>process-resources</phase> |
| 255 | <goals> |
| 256 | <goal>flatten</goal> |
| 257 | </goals> |
| 258 | </execution> |
| 259 | <execution> |
| 260 | <id>flatten.clean</id> |
| 261 | <phase>clean</phase> |
| 262 | <goals> |
| 263 | <goal>clean</goal> |
| 264 | </goals> |
| 265 | </execution> |
| 266 | </executions> |
| 267 | </plugin> |
| 268 | |
Matthias Andreas Benkard | a1e8443 | 2023-12-05 21:12:16 +0100 | [diff] [blame^] | 269 | <plugin> |
| 270 | <groupId>org.graalvm.buildtools</groupId> |
| 271 | <artifactId>native-maven-plugin</artifactId> |
| 272 | <version>${native-plugin.version}</version> |
| 273 | </plugin> |
| 274 | |
| 275 | <plugin> |
| 276 | <groupId>com.github.akman</groupId> |
| 277 | <artifactId>jpackage-maven-plugin</artifactId> |
| 278 | <version>${jpackage-plugin.version}</version> |
| 279 | </plugin> |
| 280 | |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 281 | </plugins> |
| 282 | |
| 283 | </pluginManagement> |
| 284 | |
| 285 | <plugins> |
| 286 | |
| 287 | <plugin> |
| 288 | <groupId>com.diffplug.spotless</groupId> |
| 289 | <artifactId>spotless-maven-plugin</artifactId> |
| 290 | <version>${spotless-plugin.version}</version> |
| 291 | <configuration> |
| 292 | <java> |
| 293 | <removeUnusedImports/> |
| 294 | <importOrder> |
| 295 | <order>java,javax,org,com,de,io,dagger,eu.mulk,</order> |
| 296 | </importOrder> |
| 297 | <googleJavaFormat> |
| 298 | <version>${google-java-format.version}</version> |
| 299 | <style>GOOGLE</style> |
| 300 | </googleJavaFormat> |
| 301 | </java> |
| 302 | </configuration> |
| 303 | </plugin> |
| 304 | |
| 305 | <plugin> |
| 306 | <groupId>org.sonatype.plugins</groupId> |
| 307 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 308 | <version>${nexus-staging-plugin.version}</version> |
| 309 | <extensions>true</extensions> |
| 310 | <configuration> |
| 311 | <serverId>ossrh</serverId> |
| 312 | <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
| 313 | <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 314 | </configuration> |
| 315 | </plugin> |
| 316 | |
Matthias Andreas Benkard | 143a64b | 2022-03-01 14:24:12 +0100 | [diff] [blame] | 317 | <plugin> |
| 318 | <groupId>org.codehaus.mojo</groupId> |
| 319 | <artifactId>flatten-maven-plugin</artifactId> |
| 320 | <configuration> |
| 321 | <flattenMode>oss</flattenMode> |
| 322 | <flattenDependencyMode>all</flattenDependencyMode> |
| 323 | <pomElements> |
| 324 | <distributionManagement>flatten</distributionManagement> |
| 325 | </pomElements> |
| 326 | </configuration> |
| 327 | </plugin> |
| 328 | |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 329 | </plugins> |
| 330 | </build> |
| 331 | |
| 332 | <profiles> |
| 333 | |
| 334 | <profile> |
| 335 | <id>release</id> |
| 336 | |
| 337 | <build> |
| 338 | <plugins> |
| 339 | |
| 340 | <plugin> |
| 341 | <groupId>org.apache.maven.plugins</groupId> |
| 342 | <artifactId>maven-source-plugin</artifactId> |
| 343 | <version>${maven-source-plugin.version}</version> |
| 344 | <executions> |
| 345 | <execution> |
| 346 | <id>attach-sources</id> |
| 347 | <goals> |
| 348 | <goal>jar-no-fork</goal> |
| 349 | </goals> |
| 350 | </execution> |
| 351 | </executions> |
| 352 | </plugin> |
| 353 | |
| 354 | <plugin> |
| 355 | <groupId>org.apache.maven.plugins</groupId> |
| 356 | <artifactId>maven-javadoc-plugin</artifactId> |
| 357 | <version>${maven-javadoc-plugin.version}</version> |
| 358 | <executions> |
| 359 | <execution> |
| 360 | <id>attach-javadocs</id> |
| 361 | <goals> |
| 362 | <goal>jar</goal> |
| 363 | </goals> |
| 364 | </execution> |
| 365 | </executions> |
| 366 | </plugin> |
| 367 | |
| 368 | <plugin> |
| 369 | <groupId>org.apache.maven.plugins</groupId> |
| 370 | <artifactId>maven-gpg-plugin</artifactId> |
| 371 | <version>${maven-gpg-plugin.version}</version> |
| 372 | <configuration> |
| 373 | <keyname>code@mulk.eu</keyname> |
| 374 | </configuration> |
| 375 | <executions> |
| 376 | <execution> |
| 377 | <id>sign-artifacts</id> |
| 378 | <phase>verify</phase> |
| 379 | <goals> |
| 380 | <goal>sign</goal> |
| 381 | </goals> |
| 382 | </execution> |
| 383 | </executions> |
| 384 | </plugin> |
| 385 | |
| 386 | </plugins> |
| 387 | </build> |
| 388 | </profile> |
| 389 | |
| 390 | </profiles> |
| 391 | |
| 392 | </project> |