| 1 |
<?xml version="1.0"?> |
| 2 |
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"> |
| 4 |
<modelVersion>4.0.0</modelVersion> |
| 5 |
<groupId>org.openstreetmap.josm</groupId> |
| 6 |
<artifactId>josm-parent</artifactId> |
| 7 |
<version>1.5-SNAPSHOT</version> |
| 8 |
<packaging>pom</packaging> |
| 9 |
<properties> |
| 10 |
<project.build.sourceEncoding>US-ASCII</project.build.sourceEncoding> |
| 11 |
<project.reporting.outputEncoding>US-ASCII</project.reporting.outputEncoding> |
| 12 |
<java.lang.version>11</java.lang.version> |
| 13 |
<maven.compiler.release>${java.lang.version}</maven.compiler.release> |
| 14 |
<maven.compiler.source>${java.lang.version}</maven.compiler.source> |
| 15 |
<maven.compiler.target>${java.lang.version}</maven.compiler.target> |
| 16 |
<test.headless>true</test.headless> |
| 17 |
<sonar.host.url>https://josm.openstreetmap.de/sonar/</sonar.host.url> |
| 18 |
<sonar.projectKey>JOSM</sonar.projectKey> |
| 19 |
<jmockit.version>1.49.a</jmockit.version> |
| 20 |
<pmd.version>7.22.0</pmd.version> |
| 21 |
<jacoco.version>0.8.13</jacoco.version> |
| 22 |
<checkstyle.version>10.26.1</checkstyle.version> |
| 23 |
<spotbugs.version>4.9.8</spotbugs.version> |
| 24 |
|
| 25 |
<junit5-system-exit.version>1.1.2</junit5-system-exit.version> |
| 26 |
<equalsverifier.version>3.19.4</equalsverifier.version> |
| 27 |
</properties> |
| 28 |
<modules> |
| 29 |
<module>..</module> |
| 30 |
|
| 31 |
<module>../test/pom.xml</module> |
| 32 |
</modules> |
| 33 |
<repositories> |
| 34 |
<repository> |
| 35 |
<id>JOSM</id> |
| 36 |
<url>https://josm.openstreetmap.de/repository/public/</url> |
| 37 |
</repository> |
| 38 |
</repositories> |
| 39 |
<pluginRepositories> |
| 40 |
<pluginRepository> |
| 41 |
<id>JOSM</id> |
| 42 |
<url>https://josm.openstreetmap.de/repository/public/</url> |
| 43 |
</pluginRepository> |
| 44 |
</pluginRepositories> |
| 45 |
<distributionManagement> |
| 46 |
<snapshotRepository> |
| 47 |
<id>josm-snapshots</id> |
| 48 |
<name>JOSM snapshots</name> |
| 49 |
<url>https://josm.openstreetmap.de/repository/snapshots</url> |
| 50 |
</snapshotRepository> |
| 51 |
</distributionManagement> |
| 52 |
<build> |
| 53 |
<pluginManagement> |
| 54 |
<plugins> |
| 55 |
<plugin> |
| 56 |
<groupId>org.codehaus.mojo</groupId> |
| 57 |
<artifactId>javacc-maven-plugin</artifactId> |
| 58 |
<version>3.1.0</version> |
| 59 |
</plugin> |
| 60 |
<plugin> |
| 61 |
<groupId>org.apache.maven.plugins</groupId> |
| 62 |
<artifactId>maven-clean-plugin</artifactId> |
| 63 |
<version>3.4.0</version> |
| 64 |
</plugin> |
| 65 |
<plugin> |
| 66 |
<groupId>org.codehaus.mojo</groupId> |
| 67 |
<artifactId>exec-maven-plugin</artifactId> |
| 68 |
<version>3.5.0</version> |
| 69 |
</plugin> |
| 70 |
<plugin> |
| 71 |
<groupId>org.apache.maven.plugins</groupId> |
| 72 |
<artifactId>maven-resources-plugin</artifactId> |
| 73 |
<version>3.3.1</version> |
| 74 |
</plugin> |
| 75 |
<plugin> |
| 76 |
<groupId>org.apache.maven.plugins</groupId> |
| 77 |
<artifactId>maven-pmd-plugin</artifactId> |
| 78 |
<version>3.25.0</version> |
| 79 |
<dependencies> |
| 80 |
<dependency> |
| 81 |
<groupId>net.sourceforge.pmd</groupId> |
| 82 |
<artifactId>pmd-core</artifactId> |
| 83 |
<version>${pmd.version}</version> |
| 84 |
</dependency> |
| 85 |
<dependency> |
| 86 |
<groupId>net.sourceforge.pmd</groupId> |
| 87 |
<artifactId>pmd-java</artifactId> |
| 88 |
<version>${pmd.version}</version> |
| 89 |
</dependency> |
| 90 |
<dependency> |
| 91 |
<groupId>net.sourceforge.pmd</groupId> |
| 92 |
<artifactId>pmd-javascript</artifactId> |
| 93 |
<version>${pmd.version}</version> |
| 94 |
</dependency> |
| 95 |
<dependency> |
| 96 |
<groupId>net.sourceforge.pmd</groupId> |
| 97 |
<artifactId>pmd-jsp</artifactId> |
| 98 |
<version>${pmd.version}</version> |
| 99 |
</dependency> |
| 100 |
</dependencies> |
| 101 |
<configuration> |
| 102 |
<targetJdk>${java.lang.version}</targetJdk> |
| 103 |
</configuration> |
| 104 |
</plugin> |
| 105 |
<plugin> |
| 106 |
<groupId>org.apache.maven.plugins</groupId> |
| 107 |
<artifactId>maven-surefire-plugin</artifactId> |
| 108 |
<version>3.5.1</version> |
| 109 |
</plugin> |
| 110 |
<plugin> |
| 111 |
<groupId>com.github.spotbugs</groupId> |
| 112 |
<artifactId>spotbugs-maven-plugin</artifactId> |
| 113 |
<version>4.8.6.5</version> |
| 114 |
</plugin> |
| 115 |
<plugin> |
| 116 |
<groupId>org.apache.maven.plugins</groupId> |
| 117 |
<artifactId>maven-checkstyle-plugin</artifactId> |
| 118 |
<version>3.5.0</version> |
| 119 |
<dependencies> |
| 120 |
<dependency> |
| 121 |
<groupId>com.puppycrawl.tools</groupId> |
| 122 |
<artifactId>checkstyle</artifactId> |
| 123 |
<version>${checkstyle.version}</version> |
| 124 |
</dependency> |
| 125 |
</dependencies> |
| 126 |
</plugin> |
| 127 |
|
| 128 |
<plugin> |
| 129 |
<groupId>org.apache.maven.plugins</groupId> |
| 130 |
<artifactId>maven-shade-plugin</artifactId> |
| 131 |
<version>3.6.0</version> |
| 132 |
<executions> |
| 133 |
<execution> |
| 134 |
<phase>package</phase> |
| 135 |
<goals> |
| 136 |
<goal>shade</goal> |
| 137 |
</goals> |
| 138 |
<configuration> |
| 139 |
<filters> |
| 140 |
<filter> |
| 141 |
<artifact>*:*</artifact> |
| 142 |
<excludes> |
| 143 |
|
| 144 |
|
| 145 |
<exclude>META-INF/versions/*</exclude> |
| 146 |
<exclude>META-INF/maven/**</exclude> |
| 147 |
<exclude>META-INF/*.SF</exclude> |
| 148 |
<exclude>META-INF/*.DSA</exclude> |
| 149 |
<exclude>META-INF/*.RSA</exclude> |
| 150 |
</excludes> |
| 151 |
</filter> |
| 152 |
</filters> |
| 153 |
</configuration> |
| 154 |
</execution> |
| 155 |
</executions> |
| 156 |
</plugin> |
| 157 |
<plugin> |
| 158 |
<groupId>org.apache.maven.plugins</groupId> |
| 159 |
<artifactId>maven-jar-plugin</artifactId> |
| 160 |
<version>3.4.2</version> |
| 161 |
<configuration> |
| 162 |
<archive> |
| 163 |
<addMavenDescriptor>false</addMavenDescriptor> |
| 164 |
</archive> |
| 165 |
</configuration> |
| 166 |
</plugin> |
| 167 |
<plugin> |
| 168 |
<groupId>org.sonarsource.scanner.maven</groupId> |
| 169 |
<artifactId>sonar-maven-plugin</artifactId> |
| 170 |
<version>3.7.0.1746</version> |
| 171 |
</plugin> |
| 172 |
|
| 173 |
<plugin> |
| 174 |
<groupId>org.codehaus.mojo</groupId> |
| 175 |
<artifactId>buildnumber-maven-plugin</artifactId> |
| 176 |
<version>3.2.1</version> |
| 177 |
</plugin> |
| 178 |
</plugins> |
| 179 |
</pluginManagement> |
| 180 |
<plugins> |
| 181 |
<plugin> |
| 182 |
<groupId>org.apache.maven.plugins</groupId> |
| 183 |
<artifactId>maven-enforcer-plugin</artifactId> |
| 184 |
<version>3.5.0</version> |
| 185 |
<executions> |
| 186 |
<execution> |
| 187 |
<id>enforce-versions</id> |
| 188 |
<goals> |
| 189 |
<goal>enforce</goal> |
| 190 |
</goals> |
| 191 |
<configuration> |
| 192 |
<rules> |
| 193 |
<requireMavenVersion> |
| 194 |
<version>3.6.3</version> |
| 195 |
</requireMavenVersion> |
| 196 |
<requireJavaVersion> |
| 197 |
<version>${java.lang.version}</version> |
| 198 |
</requireJavaVersion> |
| 199 |
</rules> |
| 200 |
</configuration> |
| 201 |
</execution> |
| 202 |
</executions> |
| 203 |
</plugin> |
| 204 |
<plugin> |
| 205 |
<groupId>org.apache.maven.plugins</groupId> |
| 206 |
<artifactId>maven-resources-plugin</artifactId> |
| 207 |
<version>3.3.1</version> |
| 208 |
<executions> |
| 209 |
<execution> |
| 210 |
<id>copy-root-resources</id> |
| 211 |
<phase>generate-resources</phase> |
| 212 |
<goals> |
| 213 |
<goal>copy-resources</goal> |
| 214 |
</goals> |
| 215 |
<configuration> |
| 216 |
<outputDirectory>${project.basedir}/target/classes</outputDirectory> |
| 217 |
<resources> |
| 218 |
<resource> |
| 219 |
<directory>${project.basedir}</directory> |
| 220 |
<includes> |
| 221 |
<include>GPL-v2.0.txt</include> |
| 222 |
<include>GPL-v3.0.txt</include> |
| 223 |
<include>LICENSE</include> |
| 224 |
<include>LICENSE.md</include> |
| 225 |
<include>README</include> |
| 226 |
<include>README.md</include> |
| 227 |
</includes> |
| 228 |
</resource> |
| 229 |
</resources> |
| 230 |
</configuration> |
| 231 |
</execution> |
| 232 |
</executions> |
| 233 |
</plugin> |
| 234 |
<plugin> |
| 235 |
<artifactId>maven-dependency-plugin</artifactId> |
| 236 |
<executions> |
| 237 |
<execution> |
| 238 |
<goals> |
| 239 |
<goal>properties</goal> |
| 240 |
</goals> |
| 241 |
</execution> |
| 242 |
</executions> |
| 243 |
</plugin> |
| 244 |
</plugins> |
| 245 |
</build> |
| 246 |
<dependencyManagement> |
| 247 |
<dependencies> |
| 248 |
<dependency> |
| 249 |
<groupId>org.jmockit</groupId> |
| 250 |
<artifactId>jmockit</artifactId> |
| 251 |
<version>${jmockit.version}</version> |
| 252 |
<scope>test</scope> |
| 253 |
</dependency> |
| 254 |
<dependency> |
| 255 |
<groupId>org.junit</groupId> |
| 256 |
<artifactId>junit-bom</artifactId> |
| 257 |
<version>5.14.2</version> |
| 258 |
<type>pom</type> |
| 259 |
<scope>import</scope> |
| 260 |
</dependency> |
| 261 |
<dependency> |
| 262 |
<groupId>org.openstreetmap.jmapviewer</groupId> |
| 263 |
<artifactId>jmapviewer</artifactId> |
| 264 |
<version>2.25</version> |
| 265 |
<scope>provided</scope> |
| 266 |
</dependency> |
| 267 |
<dependency> |
| 268 |
<groupId>jakarta.json</groupId> |
| 269 |
<artifactId>jakarta.json-api</artifactId> |
| 270 |
<version>2.1.3</version> |
| 271 |
<scope>provided</scope> |
| 272 |
</dependency> |
| 273 |
<dependency> |
| 274 |
<groupId>org.eclipse.parsson</groupId> |
| 275 |
<artifactId>parsson</artifactId> |
| 276 |
<version>1.1.7</version> |
| 277 |
<scope>provided</scope> |
| 278 |
</dependency> |
| 279 |
<dependency> |
| 280 |
<groupId>org.apache.commons</groupId> |
| 281 |
<artifactId>commons-jcs3-core</artifactId> |
| 282 |
<version>3.2.1</version> |
| 283 |
<scope>provided</scope> |
| 284 |
</dependency> |
| 285 |
<dependency> |
| 286 |
<groupId>org.apache.commons</groupId> |
| 287 |
<artifactId>commons-compress</artifactId> |
| 288 |
<version>1.28.0</version> |
| 289 |
<scope>provided</scope> |
| 290 |
</dependency> |
| 291 |
<dependency> |
| 292 |
<groupId>jakarta.annotation</groupId> |
| 293 |
<artifactId>jakarta.annotation-api</artifactId> |
| 294 |
<version>3.0.0</version> |
| 295 |
<scope>provided</scope> |
| 296 |
</dependency> |
| 297 |
<dependency> |
| 298 |
<groupId>org.tukaani</groupId> |
| 299 |
<artifactId>xz</artifactId> |
| 300 |
<version>1.11</version> |
| 301 |
<scope>provided</scope> |
| 302 |
</dependency> |
| 303 |
<dependency> |
| 304 |
<groupId>com.adobe.xmp</groupId> |
| 305 |
<artifactId>xmpcore</artifactId> |
| 306 |
<version>6.1.11</version> |
| 307 |
<scope>provided</scope> |
| 308 |
</dependency> |
| 309 |
<dependency> |
| 310 |
<groupId>com.drewnoakes</groupId> |
| 311 |
<artifactId>metadata-extractor</artifactId> |
| 312 |
<version>2.19.0</version> |
| 313 |
<scope>provided</scope> |
| 314 |
</dependency> |
| 315 |
<dependency> |
| 316 |
<groupId>com.formdev</groupId> |
| 317 |
<artifactId>svgSalamander</artifactId> |
| 318 |
<version>1.1.4</version> |
| 319 |
<scope>provided</scope> |
| 320 |
</dependency> |
| 321 |
<dependency> |
| 322 |
<groupId>ch.poole</groupId> |
| 323 |
<artifactId>OpeningHoursParser</artifactId> |
| 324 |
<version>0.29.0</version> |
| 325 |
<scope>provided</scope> |
| 326 |
</dependency> |
| 327 |
|
| 328 |
<dependency> |
| 329 |
<groupId>org.webjars.npm</groupId> |
| 330 |
<artifactId>tag2link</artifactId> |
| 331 |
<version>2026.6.26</version> |
| 332 |
<scope>provided</scope> |
| 333 |
</dependency> |
| 334 |
<dependency> |
| 335 |
<groupId>org.jacoco</groupId> |
| 336 |
<artifactId>org.jacoco.ant</artifactId> |
| 337 |
<version>${jacoco.version}</version> |
| 338 |
<scope>test</scope> |
| 339 |
</dependency> |
| 340 |
<dependency> |
| 341 |
<groupId>com.github.spotbugs</groupId> |
| 342 |
<artifactId>spotbugs-annotations</artifactId> |
| 343 |
<version>${spotbugs.version}</version> |
| 344 |
<scope>test</scope> |
| 345 |
</dependency> |
| 346 |
<dependency> |
| 347 |
<groupId>com.ginsberg</groupId> |
| 348 |
<artifactId>junit5-system-exit</artifactId> |
| 349 |
<version>${junit5-system-exit.version}</version> |
| 350 |
<scope>test</scope> |
| 351 |
</dependency> |
| 352 |
<dependency> |
| 353 |
<groupId>org.wiremock</groupId> |
| 354 |
<artifactId>wiremock</artifactId> |
| 355 |
<version>3.13.2</version> |
| 356 |
<scope>test</scope> |
| 357 |
</dependency> |
| 358 |
<dependency> |
| 359 |
<groupId>io.github.classgraph</groupId> |
| 360 |
<artifactId>classgraph</artifactId> |
| 361 |
<version>4.8.184</version> |
| 362 |
<scope>test</scope> |
| 363 |
</dependency> |
| 364 |
<dependency> |
| 365 |
<groupId>net.trajano.commons</groupId> |
| 366 |
<artifactId>commons-testing</artifactId> |
| 367 |
<version>2.1.0</version> |
| 368 |
<scope>test</scope> |
| 369 |
</dependency> |
| 370 |
<dependency> |
| 371 |
<groupId>nl.jqno.equalsverifier</groupId> |
| 372 |
<artifactId>equalsverifier</artifactId> |
| 373 |
<version>${equalsverifier.version}</version> |
| 374 |
<scope>test</scope> |
| 375 |
</dependency> |
| 376 |
<dependency> |
| 377 |
<groupId>org.apache.commons</groupId> |
| 378 |
<artifactId>commons-lang3</artifactId> |
| 379 |
<version>3.18.0</version> |
| 380 |
<scope>test</scope> |
| 381 |
</dependency> |
| 382 |
<dependency> |
| 383 |
<groupId>org.awaitility</groupId> |
| 384 |
<artifactId>awaitility</artifactId> |
| 385 |
<version>4.3.0</version> |
| 386 |
<scope>test</scope> |
| 387 |
</dependency> |
| 388 |
</dependencies> |
| 389 |
</dependencyManagement> |
| 390 |
<profiles> |
| 391 |
<profile> |
| 392 |
<id>java-17</id> |
| 393 |
<activation> |
| 394 |
<jdk>[17</jdk> |
| 395 |
</activation> |
| 396 |
<properties> |
| 397 |
<junit5-system-exit.version>2.0.2</junit5-system-exit.version> |
| 398 |
<jmockit.version>1.50</jmockit.version> |
| 399 |
<checkstyle.version>12.3.1</checkstyle.version> |
| 400 |
<equalsverifier.version>4.3.1</equalsverifier.version> |
| 401 |
</properties> |
| 402 |
</profile> |
| 403 |
<profile> |
| 404 |
|
| 405 |
<id>java-21</id> |
| 406 |
<activation> |
| 407 |
<jdk>[21</jdk> |
| 408 |
</activation> |
| 409 |
<properties> |
| 410 |
<checkstyle.version>13.2.0</checkstyle.version> |
| 411 |
</properties> |
| 412 |
</profile> |
| 413 |
</profiles> |
| 414 |
</project> |