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 | f84d947 | 2023-03-27 22:01:17 +0000 | [diff] [blame] | 60 | <flatten-plugin.version>1.4.1</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> |
Renovate Bot | bf9b807 | 2023-03-24 07:01:31 +0000 | [diff] [blame] | 62 | <maven-scm-plugin.version>2.0.0</maven-scm-plugin.version> |
renovate[bot] | 6616856 | 2022-12-17 09:20:41 +0100 | [diff] [blame] | 63 | <maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version> |
Renovate Bot | 8bd2e12 | 2023-02-15 12:01:15 +0000 | [diff] [blame] | 64 | <maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version> |
renovate[bot] | 617af7e | 2022-12-17 09:20:31 +0100 | [diff] [blame] | 65 | <maven-source-plugin.version>3.2.1</maven-source-plugin.version> |
renovate[bot] | a378e61 | 2022-12-17 09:26:01 +0100 | [diff] [blame] | 66 | <nexus-staging-plugin.version>1.6.13</nexus-staging-plugin.version> |
Renovate Bot | 246cb7b | 2023-04-06 04:01:26 +0000 | [diff] [blame] | 67 | <spotless-plugin.version>2.36.0</spotless-plugin.version> |
Renovate Bot | bf9b807 | 2023-03-24 07:01:31 +0000 | [diff] [blame] | 68 | <surefire-plugin.version>3.0.0</surefire-plugin.version> |
Renovate Bot | 7e681bb | 2023-02-22 00:01:17 +0000 | [diff] [blame] | 69 | <versions-plugin.version>2.15.0</versions-plugin.version> |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 70 | |
| 71 | <apiguardian.version>1.1.2</apiguardian.version> |
Renovate Bot | b03b3a1 | 2023-01-12 20:11:14 +0000 | [diff] [blame] | 72 | <errorprone.version>2.18.0</errorprone.version> |
Matthias Andreas Benkard | 12a2493 | 2022-04-15 20:43:32 +0200 | [diff] [blame] | 73 | <google-java-format.version>1.15.0</google-java-format.version> |
| 74 | <inject-resources.version>0.3.2</inject-resources.version> |
Renovate Bot | 32fc95b | 2023-03-06 06:01:26 +0000 | [diff] [blame] | 75 | <jetbrains-annotations.version>24.0.1</jetbrains-annotations.version> |
Renovate Bot | 623e839 | 2023-04-26 07:11:41 +0000 | [diff] [blame^] | 76 | <junit-jupiter.version>5.9.3</junit-jupiter.version> |
Renovate Bot | 95aab94 | 2023-03-08 19:01:17 +0000 | [diff] [blame] | 77 | <nullaway.version>0.10.10</nullaway.version> |
Matthias Andreas Benkard | 50a626d | 2021-12-30 19:13:49 +0100 | [diff] [blame] | 78 | <xz.version>1.9</xz.version> |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 79 | </properties> |
| 80 | |
| 81 | <distributionManagement> |
| 82 | <snapshotRepository> |
| 83 | <id>ossrh</id> |
| 84 | <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 85 | </snapshotRepository> |
| 86 | </distributionManagement> |
| 87 | |
| 88 | <dependencyManagement> |
| 89 | <dependencies> |
| 90 | <!-- Annotations --> |
| 91 | <dependency> |
| 92 | <groupId>com.google.errorprone</groupId> |
| 93 | <artifactId>error_prone_annotations</artifactId> |
| 94 | <version>${errorprone.version}</version> |
| 95 | </dependency> |
| 96 | <dependency> |
| 97 | <groupId>org.jetbrains</groupId> |
| 98 | <artifactId>annotations</artifactId> |
| 99 | <version>${jetbrains-annotations.version}</version> |
| 100 | </dependency> |
| 101 | <dependency> |
| 102 | <groupId>org.apiguardian</groupId> |
| 103 | <artifactId>apiguardian-api</artifactId> |
| 104 | <version>${apiguardian.version}</version> |
| 105 | </dependency> |
| 106 | |
Matthias Andreas Benkard | 50a626d | 2021-12-30 19:13:49 +0100 | [diff] [blame] | 107 | <!-- OSTree compression support --> |
| 108 | <dependency> |
| 109 | <groupId>org.tukaani</groupId> |
| 110 | <artifactId>xz</artifactId> |
Matthias Andreas Benkard | e236b4d | 2022-03-01 13:51:01 +0100 | [diff] [blame] | 111 | <version>${xz.version}</version> |
Matthias Andreas Benkard | 50a626d | 2021-12-30 19:13:49 +0100 | [diff] [blame] | 112 | </dependency> |
| 113 | |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 114 | <!-- Testing --> |
| 115 | <dependency> |
| 116 | <groupId>org.junit.jupiter</groupId> |
| 117 | <artifactId>junit-jupiter-engine</artifactId> |
| 118 | <version>${junit-jupiter.version}</version> |
| 119 | <scope>test</scope> |
| 120 | </dependency> |
| 121 | <dependency> |
| 122 | <groupId>org.junit.jupiter</groupId> |
| 123 | <artifactId>junit-jupiter-api</artifactId> |
| 124 | <version>${junit-jupiter.version}</version> |
| 125 | <scope>test</scope> |
| 126 | </dependency> |
Matthias Andreas Benkard | 4e8423d | 2021-12-19 22:56:09 +0100 | [diff] [blame] | 127 | <dependency> |
| 128 | <groupId>io.hosuaby</groupId> |
| 129 | <artifactId>inject-resources-junit-jupiter</artifactId> |
| 130 | <version>${inject-resources.version}</version> |
| 131 | <scope>test</scope> |
| 132 | </dependency> |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 133 | </dependencies> |
| 134 | </dependencyManagement> |
| 135 | |
| 136 | <build> |
| 137 | |
| 138 | <pluginManagement> |
| 139 | |
| 140 | <plugins> |
| 141 | |
| 142 | <plugin> |
| 143 | <artifactId>maven-surefire-plugin</artifactId> |
| 144 | <version>${surefire-plugin.version}</version> |
| 145 | <configuration> |
| 146 | <argLine> |
| 147 | --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] | 148 | --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] | 149 | </argLine> |
| 150 | </configuration> |
| 151 | </plugin> |
| 152 | |
| 153 | <plugin> |
| 154 | <artifactId>maven-failsafe-plugin</artifactId> |
| 155 | <version>${failsafe-plugin.version}</version> |
| 156 | <configuration> |
| 157 | <argLine> |
| 158 | --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] | 159 | --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] | 160 | </argLine> |
| 161 | </configuration> |
| 162 | </plugin> |
| 163 | |
| 164 | <plugin> |
| 165 | <artifactId>maven-compiler-plugin</artifactId> |
| 166 | <version>${compiler-plugin.version}</version> |
| 167 | <configuration> |
| 168 | <fork>true</fork> |
Matthias Andreas Benkard | 91dbd74 | 2022-10-17 19:38:56 +0200 | [diff] [blame] | 169 | <showWarnings>true</showWarnings> |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 170 | <compilerArgs> |
| 171 | <arg>-XDcompilePolicy=simple</arg> |
Matthias Benkard | d0d05c3 | 2023-01-12 18:54:04 +0000 | [diff] [blame] | 172 | <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] | 173 | <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] | 174 | <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] | 175 | <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg> |
| 176 | <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg> |
| 177 | <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg> |
| 178 | <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg> |
| 179 | <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg> |
| 180 | <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg> |
| 181 | <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg> |
| 182 | <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg> |
| 183 | <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg> |
| 184 | </compilerArgs> |
| 185 | <annotationProcessorPaths> |
| 186 | <path> |
| 187 | <groupId>com.google.errorprone</groupId> |
| 188 | <artifactId>error_prone_core</artifactId> |
| 189 | <version>${errorprone.version}</version> |
| 190 | </path> |
Matthias Andreas Benkard | 9006e70 | 2022-03-01 13:43:50 +0100 | [diff] [blame] | 191 | <path> |
Matthias Andreas Benkard | 91dbd74 | 2022-10-17 19:38:56 +0200 | [diff] [blame] | 192 | <groupId>com.uber.nullaway</groupId> |
| 193 | <artifactId>nullaway</artifactId> |
| 194 | <version>${nullaway.version}</version> |
Matthias Andreas Benkard | 9006e70 | 2022-03-01 13:43:50 +0100 | [diff] [blame] | 195 | </path> |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 196 | </annotationProcessorPaths> |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 197 | </configuration> |
| 198 | </plugin> |
| 199 | |
| 200 | <plugin> |
| 201 | <artifactId>maven-jar-plugin</artifactId> |
| 202 | <version>${jar-plugin.version}</version> |
| 203 | </plugin> |
| 204 | |
| 205 | <plugin> |
| 206 | <groupId>org.codehaus.mojo</groupId> |
| 207 | <artifactId>versions-maven-plugin</artifactId> |
| 208 | <version>${versions-plugin.version}</version> |
| 209 | </plugin> |
| 210 | |
| 211 | <plugin> |
| 212 | <groupId>org.apache.maven.plugins</groupId> |
| 213 | <artifactId>maven-scm-plugin</artifactId> |
| 214 | <version>${maven-scm-plugin.version}</version> |
| 215 | <configuration> |
| 216 | <tag>v${project.version}</tag> |
| 217 | <connectionType>developerConnection</connectionType> |
| 218 | </configuration> |
| 219 | </plugin> |
| 220 | |
Matthias Andreas Benkard | 143a64b | 2022-03-01 14:24:12 +0100 | [diff] [blame] | 221 | <plugin> |
| 222 | <groupId>org.codehaus.mojo</groupId> |
| 223 | <artifactId>flatten-maven-plugin</artifactId> |
| 224 | <version>${flatten-plugin.version}</version> |
| 225 | <executions> |
| 226 | <execution> |
| 227 | <id>flatten</id> |
| 228 | <phase>process-resources</phase> |
| 229 | <goals> |
| 230 | <goal>flatten</goal> |
| 231 | </goals> |
| 232 | </execution> |
| 233 | <execution> |
| 234 | <id>flatten.clean</id> |
| 235 | <phase>clean</phase> |
| 236 | <goals> |
| 237 | <goal>clean</goal> |
| 238 | </goals> |
| 239 | </execution> |
| 240 | </executions> |
| 241 | </plugin> |
| 242 | |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 243 | </plugins> |
| 244 | |
| 245 | </pluginManagement> |
| 246 | |
| 247 | <plugins> |
| 248 | |
| 249 | <plugin> |
| 250 | <groupId>com.diffplug.spotless</groupId> |
| 251 | <artifactId>spotless-maven-plugin</artifactId> |
| 252 | <version>${spotless-plugin.version}</version> |
| 253 | <configuration> |
| 254 | <java> |
| 255 | <removeUnusedImports/> |
| 256 | <importOrder> |
| 257 | <order>java,javax,org,com,de,io,dagger,eu.mulk,</order> |
| 258 | </importOrder> |
| 259 | <googleJavaFormat> |
| 260 | <version>${google-java-format.version}</version> |
| 261 | <style>GOOGLE</style> |
| 262 | </googleJavaFormat> |
| 263 | </java> |
| 264 | </configuration> |
| 265 | </plugin> |
| 266 | |
| 267 | <plugin> |
| 268 | <groupId>org.sonatype.plugins</groupId> |
| 269 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 270 | <version>${nexus-staging-plugin.version}</version> |
| 271 | <extensions>true</extensions> |
| 272 | <configuration> |
| 273 | <serverId>ossrh</serverId> |
| 274 | <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
| 275 | <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 276 | </configuration> |
| 277 | </plugin> |
| 278 | |
Matthias Andreas Benkard | 143a64b | 2022-03-01 14:24:12 +0100 | [diff] [blame] | 279 | <plugin> |
| 280 | <groupId>org.codehaus.mojo</groupId> |
| 281 | <artifactId>flatten-maven-plugin</artifactId> |
| 282 | <configuration> |
| 283 | <flattenMode>oss</flattenMode> |
| 284 | <flattenDependencyMode>all</flattenDependencyMode> |
| 285 | <pomElements> |
| 286 | <distributionManagement>flatten</distributionManagement> |
| 287 | </pomElements> |
| 288 | </configuration> |
| 289 | </plugin> |
| 290 | |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 291 | </plugins> |
| 292 | </build> |
| 293 | |
| 294 | <profiles> |
| 295 | |
| 296 | <profile> |
| 297 | <id>release</id> |
| 298 | |
| 299 | <build> |
| 300 | <plugins> |
| 301 | |
| 302 | <plugin> |
| 303 | <groupId>org.apache.maven.plugins</groupId> |
| 304 | <artifactId>maven-source-plugin</artifactId> |
| 305 | <version>${maven-source-plugin.version}</version> |
| 306 | <executions> |
| 307 | <execution> |
| 308 | <id>attach-sources</id> |
| 309 | <goals> |
| 310 | <goal>jar-no-fork</goal> |
| 311 | </goals> |
| 312 | </execution> |
| 313 | </executions> |
| 314 | </plugin> |
| 315 | |
| 316 | <plugin> |
| 317 | <groupId>org.apache.maven.plugins</groupId> |
| 318 | <artifactId>maven-javadoc-plugin</artifactId> |
| 319 | <version>${maven-javadoc-plugin.version}</version> |
| 320 | <executions> |
| 321 | <execution> |
| 322 | <id>attach-javadocs</id> |
| 323 | <goals> |
| 324 | <goal>jar</goal> |
| 325 | </goals> |
| 326 | </execution> |
| 327 | </executions> |
| 328 | </plugin> |
| 329 | |
| 330 | <plugin> |
| 331 | <groupId>org.apache.maven.plugins</groupId> |
| 332 | <artifactId>maven-gpg-plugin</artifactId> |
| 333 | <version>${maven-gpg-plugin.version}</version> |
| 334 | <configuration> |
| 335 | <keyname>code@mulk.eu</keyname> |
| 336 | </configuration> |
| 337 | <executions> |
| 338 | <execution> |
| 339 | <id>sign-artifacts</id> |
| 340 | <phase>verify</phase> |
| 341 | <goals> |
| 342 | <goal>sign</goal> |
| 343 | </goals> |
| 344 | </execution> |
| 345 | </executions> |
| 346 | </plugin> |
| 347 | |
| 348 | </plugins> |
| 349 | </build> |
| 350 | </profile> |
| 351 | |
| 352 | </profiles> |
| 353 | |
| 354 | </project> |