source: josm/trunk/pom.xml@ 19241

Last change on this file since 19241 was 19208, checked in by taylor.smock, 3 months ago

Dependency updates:

ivy.xml:

  • jmapviewer: 2.21 -> 2.22: Fix a NumberFormatException (fix #23888)
  • commons-compress: 1.27.0 -> 1.27.1
  • tag2link: 2024.8.12 -> 2024.8.21
  • commons-lang3: 3.16.0 -> 3.17.0
  • classgraph: 4.8.174 -> 4.8.175
  • junit: 5.10.3 -> 5.11.0: Repeatable @..Source annotations for parameterized tests
  • equalsverifier: 3.16.1 -> 3.16.2

tools/ivy.xml:

  • checkstyle: 10.17 -> 10.18: Better support for Java 21
  • pmd: 7.4.0 -> 7.5.0
  • errorprone: 2.30.0 -> 2.31.0: Note: this is the last planned release that supports running on Java 11.
File size: 30.6 KB
Line 
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 <artifactId>josm</artifactId>
6 <parent>
7 <groupId>org.openstreetmap.josm</groupId>
8 <artifactId>josm-parent</artifactId>
9 <version>SNAPSHOT</version>
10 <relativePath>./nodist/pom.xml</relativePath>
11 </parent>
12
13 <name>josm</name>
14 <url>https://josm.openstreetmap.de</url>
15 <properties>
16 <src.dir>${project.basedir}/src</src.dir>
17 <test.dir>${project.basedir}/test</test.dir>
18 <scripts.src.dir>${project.basedir}/scripts</scripts.src.dir>
19 <build.dir>${project.basedir}/build</build.dir>
20 <dist.dir>${project.basedir}/dist</dist.dir>
21 <checkstyle-build.dir>${project.basedir}/build2</checkstyle-build.dir>
22 <checkstyle.dir>${tools.dir}/checkstyle</checkstyle.dir>
23 <mapcss.dir>${src.dir}/org/openstreetmap/josm/gui/mappaint/mapcss</mapcss.dir>
24 <modules.dir>${dist.dir}/modules</modules.dir>
25 <pmd.dir>${tools.dir}/pmd</pmd.dir>
26 <proj-build.dir>${project.basedir}/build2</proj-build.dir>
27 <resources.dir>${project.basedir}/resources</resources.dir>
28 <script-build.dir>${project.basedir}/build2</script-build.dir>
29 <spotbugs.dir>${tools.dir}/spotbugs</spotbugs.dir>
30 <tools.dir>${project.basedir}/tools</tools.dir>
31 <epsg.output>${resources.dir}/data/projection/custom-epsg</epsg.output>
32 <javacc.home>${tools.dir}</javacc.home>
33 <dist.jar>${dist.dir}/josm-custom.jar</dist.jar>
34 <dist-optimized.jar>${dist.dir}/josm-custom-optimized.jar</dist-optimized.jar>
35 <dist-sources.jar>${dist.dir}/josm-custom-sources.jar</dist-sources.jar>
36 <jacoco.includes>org.openstreetmap.josm.*</jacoco.includes>
37 <jacoco.inclbootstrapclasses>false</jacoco.inclbootstrapclasses>
38 <jacoco.inclnolocationclasses>false</jacoco.inclnolocationclasses>
39 <junit.printsummary>on</junit.printsummary>
40 <default-junit-includes>**/*Test.class</default-junit-includes>
41 <default-junitIT-includes>**/*TestIT.class</default-junitIT-includes>
42 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43 </properties>
44 <packaging>jar</packaging>
45 <inceptionYear>2005</inceptionYear>
46 <licenses>
47 <license>
48 <name>GPL-2.0-or-later</name>
49 <url>https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html</url>
50 <distribution>repo</distribution>
51 </license>
52 </licenses>
53 <organization>
54 <name>JOSM</name>
55 <url>https://josm.openstreetmap.de</url>
56 </organization>
57 <scm>
58 <connection>scm:svn:https://josm.openstreetmap.de/svn/trunk</connection>
59 <url>https://josm.openstreetmap.de/browser/josm/trunk</url>
60 </scm>
61 <issueManagement>
62 <system>Trac</system>
63 <url>https://josm.openstreetmap.de</url>
64 </issueManagement>
65 <mailingLists>
66 <mailingList>
67 <name>josm-dev</name>
68 <archive>https://lists.openstreetmap.org/pipermail/josm-dev/</archive>
69 <post>josm-dev@openstreetmap.org</post>
70 </mailingList>
71 </mailingLists>
72
73 <dependencies>
74 <dependency>
75 <groupId>org.jmockit</groupId>
76 <artifactId>jmockit</artifactId>
77 </dependency>
78 <dependency>
79 <groupId>org.openstreetmap.jmapviewer</groupId>
80 <artifactId>jmapviewer</artifactId>
81 <scope>compile</scope>
82 </dependency>
83 <dependency>
84 <groupId>jakarta.json</groupId>
85 <artifactId>jakarta.json-api</artifactId>
86 <scope>compile</scope>
87 </dependency>
88 <dependency>
89 <groupId>org.eclipse.parsson</groupId>
90 <artifactId>parsson</artifactId>
91 <scope>runtime</scope>
92 </dependency>
93 <dependency>
94 <groupId>org.apache.commons</groupId>
95 <artifactId>commons-jcs3-core</artifactId>
96 <scope>compile</scope>
97 </dependency>
98 <dependency>
99 <groupId>org.apache.commons</groupId>
100 <artifactId>commons-compress</artifactId>
101 <scope>compile</scope>
102 </dependency>
103 <dependency>
104 <groupId>jakarta.annotation</groupId>
105 <artifactId>jakarta.annotation-api</artifactId>
106 <scope>compile</scope>
107 </dependency>
108 <dependency>
109 <groupId>org.tukaani</groupId>
110 <artifactId>xz</artifactId>
111 <scope>compile</scope>
112 </dependency>
113 <dependency>
114 <groupId>com.adobe.xmp</groupId>
115 <artifactId>xmpcore</artifactId>
116 <scope>compile</scope>
117 </dependency>
118 <dependency>
119 <groupId>com.drewnoakes</groupId>
120 <artifactId>metadata-extractor</artifactId>
121 <scope>compile</scope>
122 </dependency>
123 <dependency>
124 <groupId>com.formdev</groupId>
125 <artifactId>svgSalamander</artifactId>
126 <scope>compile</scope>
127 </dependency>
128 <dependency>
129 <groupId>ch.poole</groupId>
130 <artifactId>OpeningHoursParser</artifactId>
131 <scope>compile</scope>
132 </dependency>
133 <!-- Don't forget to update org.openstreetmap.josm.tools.Tag2Link#PREF_SOURCE -->
134 <dependency>
135 <groupId>org.webjars.npm</groupId>
136 <artifactId>tag2link</artifactId>
137 <scope>compile</scope>
138 </dependency>
139 <dependency>
140 <groupId>org.jacoco</groupId>
141 <artifactId>org.jacoco.ant</artifactId>
142 </dependency>
143 <dependency>
144 <groupId>com.github.spotbugs</groupId>
145 <artifactId>spotbugs-annotations</artifactId>
146 </dependency>
147 <dependency>
148 <groupId>com.ginsberg</groupId>
149 <artifactId>junit5-system-exit</artifactId>
150 </dependency>
151 <dependency>
152 <groupId>org.wiremock</groupId>
153 <artifactId>wiremock</artifactId>
154 </dependency>
155 <dependency>
156 <groupId>io.github.classgraph</groupId>
157 <artifactId>classgraph</artifactId>
158 </dependency>
159 <dependency>
160 <groupId>org.junit.platform</groupId>
161 <artifactId>junit-platform-launcher</artifactId>
162 <scope>test</scope>
163 </dependency>
164 <dependency>
165 <groupId>org.junit.platform</groupId>
166 <artifactId>junit-platform-suite</artifactId>
167 <scope>test</scope>
168 </dependency>
169 <dependency>
170 <groupId>org.junit.vintage</groupId>
171 <artifactId>junit-vintage-engine</artifactId>
172 <scope>test</scope>
173 </dependency>
174 <dependency>
175 <groupId>org.junit.jupiter</groupId>
176 <artifactId>junit-jupiter-params</artifactId>
177 <scope>test</scope>
178 </dependency>
179 <dependency>
180 <groupId>org.junit.jupiter</groupId>
181 <artifactId>junit-jupiter-api</artifactId>
182 <scope>test</scope>
183 </dependency>
184 <dependency>
185 <groupId>org.junit.jupiter</groupId>
186 <artifactId>junit-jupiter-engine</artifactId>
187 <scope>test</scope>
188 </dependency>
189 <dependency>
190 <groupId>org.junit.jupiter</groupId>
191 <artifactId>junit-jupiter-migrationsupport</artifactId>
192 <scope>test</scope>
193 </dependency>
194 <dependency>
195 <groupId>net.trajano.commons</groupId>
196 <artifactId>commons-testing</artifactId>
197 </dependency>
198 <dependency>
199 <groupId>nl.jqno.equalsverifier</groupId>
200 <artifactId>equalsverifier</artifactId>
201 </dependency>
202 <dependency>
203 <groupId>org.apache.commons</groupId>
204 <artifactId>commons-lang3</artifactId>
205 </dependency>
206 <dependency>
207 <groupId>org.awaitility</groupId>
208 <artifactId>awaitility</artifactId>
209 </dependency>
210 </dependencies>
211 <build>
212 <sourceDirectory>${src.dir}</sourceDirectory>
213 <testSourceDirectory>${test.dir}/unit</testSourceDirectory>
214 <scriptSourceDirectory>${scripts.src.dir}</scriptSourceDirectory>
215 <resources>
216 <resource>
217 <directory>${resources.dir}</directory>
218 </resource>
219 <resource>
220 <directory>${project.basedir}</directory>
221 <includes>
222 <include>CONTRIBUTION</include>
223 <include>gpl-2.0.txt</include>
224 <include>gpl-3.0.txt</include>
225 <include>LICENSE</include>
226 <include>README</include>
227 <include>REVISION</include>
228 </includes>
229 </resource>
230 </resources>
231 <testResources>
232 <testResource>
233 <directory>${test.dir}/data</directory>
234 </testResource>
235 </testResources>
236 <plugins>
237 <!-- Generate sources -->
238 <plugin>
239 <groupId>org.codehaus.mojo</groupId>
240 <artifactId>javacc-maven-plugin</artifactId>
241 <executions>
242 <execution>
243 <id>javacc</id>
244 <goals>
245 <goal>javacc</goal>
246 </goals>
247 <configuration>
248 <debugParser>false</debugParser>
249 <debugTokenManager>false</debugTokenManager>
250 <jdkVersion>${java.lang.version}</jdkVersion>
251 <grammarEncoding>UTF-8</grammarEncoding>
252 <unicodeInput>true</unicodeInput>
253 <sourceDirectory>${src.dir}</sourceDirectory>
254 <outputDirectory>${src.dir}</outputDirectory>
255 <includes><include>**/MapCSSParser.jj</include></includes>
256 <excludes><exclude>**/*.java</exclude></excludes>
257 </configuration>
258 </execution>
259 </executions>
260 </plugin>
261 <!-- Update proj, epsg, etc. -->
262 <plugin>
263 <groupId>org.codehaus.mojo</groupId>
264 <artifactId>exec-maven-plugin</artifactId>
265 <executions>
266 <!-- mvn test-compile && mvn exec:java@update-proj-reference-files -->
267 <execution>
268 <id>update-proj-reference-files</id>
269 <configuration>
270 <classpathScope>test</classpathScope>
271 <mainClass>org.openstreetmap.josm.data.projection.ProjectionRefTest</mainClass>
272 </configuration>
273 <goals>
274 <goal>java</goal>
275 </goals>
276 </execution>
277 <!-- mvn test-compile && mvn exec:java@update-proj-regression-files -->
278 <execution>
279 <id>update-proj-regression-files</id>
280 <configuration>
281 <classpathScope>test</classpathScope>
282 <mainClass>org.openstreetmap.josm.data.projection.ProjectionRegressionTest</mainClass>
283 </configuration>
284 <goals>
285 <goal>java</goal>
286 </goals>
287 </execution>
288 <!-- mvn compile && mvn exec:java@SyncEditorLayerIndex -->
289 <execution>
290 <id>SyncEditorLayerIndex</id>
291 <configuration>
292 <executable>java</executable>
293 <arguments>
294 <argument>-Djava.awt.headless=true</argument>
295 <argument>-classpath</argument>
296 <classpath/> <!-- Generates the actual classpath using all project dependencies -->
297 <argument>${scripts.src.dir}/SyncEditorLayerIndex.java</argument>
298 <argument>${basedir}</argument>
299 </arguments>
300 <!-- We need commons-lang3, which isn't needed elsewhere in core (besides a test or two) -->
301 <classpathScope>test</classpathScope>
302 </configuration>
303 <goals>
304 <goal>exec</goal>
305 </goals>
306 </execution>
307 <!-- Note that the epsg-touch/epsg executions are NOT duplicates - the first epsg makes an empty file for the
308 next run, which makes a non-empty custom-epsg file -->
309 <execution>
310 <id>epsg-touch</id>
311 <configuration>
312 <executable>java</executable>
313 <arguments>
314 <argument>-Djava.awt.headless=true</argument>
315 <argument>-classpath</argument>
316 <classpath/> <!-- Generates the actual classpath using all project dependencies -->
317 <argument>${basedir}/scripts/BuildProjectionDefinitions.java</argument>
318 <argument>${basedir}</argument>
319 </arguments>
320 </configuration>
321 <phase>process-classes</phase>
322 <goals>
323 <goal>exec</goal>
324 </goals>
325 </execution>
326 <execution>
327 <id>epsg</id>
328 <configuration>
329 <executable>java</executable>
330 <arguments>
331 <argument>-Djava.awt.headless=true</argument>
332 <argument>-classpath</argument>
333 <classpath/> <!-- Generates the actual classpath using all project dependencies -->
334 <argument>${basedir}/scripts/BuildProjectionDefinitions.java</argument>
335 <argument>${basedir}</argument>
336 </arguments>
337 </configuration>
338 <phase>generate-test-resources</phase>
339 <goals>
340 <goal>exec</goal>
341 </goals>
342 </execution>
343 </executions>
344 </plugin>
345 <plugin>
346 <!-- This *must* be after the exec-maven-plugin since the epsg execution must occur first -->
347 <artifactId>maven-resources-plugin</artifactId>
348 <executions>
349 <!-- Note that the copy-resources-{epsg-touch,epsg} executions are NOT duplicates - the first epsg makes an
350 empty file for the next run, which makes a non-empty custom-epsg file -->
351 <execution>
352 <id>copy-resources-epsg-touch</id>
353 <phase>process-classes</phase>
354 <goals>
355 <goal>copy-resources</goal>
356 </goals>
357 <configuration>
358 <outputDirectory>${project.build.outputDirectory}/data/projection</outputDirectory>
359 <resources>
360 <resource>
361 <directory>${resources.dir}/data/projection/</directory>
362 <includes>
363 <include>custom-epsg</include>
364 </includes>
365 </resource>
366 </resources>
367 </configuration>
368 </execution>
369 <execution>
370 <id>copy-resources-epsg</id>
371 <phase>generate-test-resources</phase>
372 <goals>
373 <goal>copy-resources</goal>
374 </goals>
375 <configuration>
376 <outputDirectory>${project.build.outputDirectory}/data/projection</outputDirectory>
377 <resources>
378 <resource>
379 <directory>${resources.dir}/data/projection/</directory>
380 <includes>
381 <include>custom-epsg</include>
382 </includes>
383 </resource>
384 </resources>
385 </configuration>
386 </execution>
387 </executions>
388 </plugin>
389 <!-- Configure checkstyle/pmd/other lint plugins -->
390 <plugin>
391 <groupId>org.apache.maven.plugins</groupId>
392 <artifactId>maven-pmd-plugin</artifactId>
393 <configuration>
394 <analysisCache>true</analysisCache>
395 <analysisCacheLocation>${pmd.dir}/cache</analysisCacheLocation>
396 <language>java</language>
397 <targetJdk>${java.lang.version}</targetJdk>
398 <rulesets>
399 <ruleset>${pmd.dir}/josm-ruleset.xml</ruleset>
400 </rulesets>
401 <includes>
402 <include>**/*.java</include>
403 </includes>
404 <excludes>
405 <exclude>org/openstreetmap/josm/gui/mappaint/mapcss/parsergen/*.java</exclude>
406 </excludes>
407 <printFailingErrors>true</printFailingErrors>
408 <targetDirectory>${project.basedir}</targetDirectory>
409 </configuration>
410 </plugin>
411 <plugin>
412 <groupId>com.github.spotbugs</groupId>
413 <artifactId>spotbugs-maven-plugin</artifactId>
414 <configuration>
415 <xmlOutput>true</xmlOutput>
416 <spotbugsXmlOutputFilename>spotbugs-josm.xml</spotbugsXmlOutputFilename>
417 <effort>max</effort>
418 <excludeFilterFile>${spotbugs.dir}/josm-filter.xml</excludeFilterFile>
419 <onlyAnalyze>org.openstreetmap.josm.-</onlyAnalyze>
420 <threshold>LOW</threshold>
421 </configuration>
422 <!-- This is commented out until all the current bugs are fixed. TODO uncomment!
423 <executions>
424 <execution>
425 <id>validate</id>
426 <phase>validate</phase>
427 <goals>
428 <goal>check</goal>
429 </goals>
430 </execution>
431 </executions>
432 -->
433 </plugin>
434 <plugin>
435 <groupId>org.apache.maven.plugins</groupId>
436 <artifactId>maven-checkstyle-plugin</artifactId>
437 <configuration>
438 <configLocation>${checkstyle.dir}/josm_checks.xml</configLocation>
439 <includeTestSourceDirectory>true</includeTestSourceDirectory>
440 <outputFile>${project.basedir}/checkstyle-josm.xml</outputFile>
441 <!-- checkstyle cannot parse module-info.java yet -->
442 <excludes>module-info.java,org/openstreetmap/josm/gui/mappaint/mapcss/parsergen/*.java</excludes>
443 </configuration>
444 <executions>
445 <execution>
446 <id>validate</id>
447 <phase>validate</phase>
448 <goals>
449 <goal>check</goal>
450 </goals>
451 </execution>
452 </executions>
453 </plugin>
454 <!-- Configure the test plugin, specifically enable autodetection of global extensions -->
455 <plugin>
456 <artifactId>maven-surefire-plugin</artifactId>
457 <configuration>
458 <excludes>
459 <exclude>**/*TestIT</exclude>
460 </excludes>
461 <skipAfterFailureCount>1</skipAfterFailureCount>
462 <useModulePath>false</useModulePath> <!-- testing with modules seems to be problematic right now -->
463 <!-- We might need @{argLine} in the future if another plugin has issues -->
464 <argLine>
465 -javaagent:"${settings.localRepository}"/org/jmockit/jmockit/${jmockit.version}/jmockit-${jmockit.version}.jar
466 --add-opens java.base/java.io=ALL-UNNAMED
467 --add-opens java.base/java.lang=ALL-UNNAMED
468 --add-opens java.base/java.nio=ALL-UNNAMED
469 --add-opens java.base/java.text=ALL-UNNAMED
470 --add-opens java.base/java.util=ALL-UNNAMED
471 --add-opens java.base/jdk.internal.loader=ALL-UNNAMED
472 --add-opens java.desktop/java.awt=ALL-UNNAMED
473 --add-opens java.prefs/java.util.prefs=ALL-UNNAMED
474 </argLine>
475 <properties>
476 <configurationParameters>
477 file.encoding = UTF-8
478 java.locale.providers = SPI,CLDR
479 junit.jupiter.extensions.autodetection.enabled = true
480 junit.jupiter.execution.parallel.enabled = true
481 </configurationParameters>
482 </properties>
483 <systemPropertyVariables>
484 <josm.home>${test.dir}/config/josm.home</josm.home>
485 <josm.test.data>${test.dir}/data</josm.test.data>
486 <java.awt.headless>${test.headless}</java.awt.headless>
487 <glass.platform>Monocle</glass.platform>
488 <monocle.platform>Headless</monocle.platform>
489 <prism.order>sw</prism.order>
490 </systemPropertyVariables>
491 </configuration>
492 <executions>
493 <execution>
494 <id>default-tests</id>
495 <phase>test</phase>
496 <goals>
497 <goal>test</goal>
498 </goals>
499 </execution>
500 <execution>
501 <id>integration-tests</id>
502 <phase>integration-test</phase>
503 <goals>
504 <goal>test</goal>
505 </goals>
506 <configuration>
507 <includes>**/*TestIT</includes>
508 </configuration>
509 </execution>
510 <execution>
511 <id>functional-tests</id>
512 <phase>integration-test</phase>
513 <goals>
514 <goal>test</goal>
515 </goals>
516 <configuration>
517 <testSourceDirectory>${test.dir}/functional</testSourceDirectory>
518 </configuration>
519 </execution>
520 <execution>
521 <id>performance-tests</id>
522 <phase>integration-test</phase>
523 <goals>
524 <goal>test</goal>
525 </goals>
526 <configuration>
527 <testSourceDirectory>${test.dir}/performance</testSourceDirectory>
528 </configuration>
529 </execution>
530 </executions>
531 </plugin>
532 <!-- the clean plugin is needed since we currently store generated sources in the source directory -->
533 <plugin>
534 <groupId>org.apache.maven.plugins</groupId>
535 <artifactId>maven-clean-plugin</artifactId>
536 <configuration>
537 <filesets>
538 <fileset>
539 <directory>${proj-build.dir}</directory>
540 </fileset>
541 <fileset>
542 <directory>${build.dir}</directory>
543 </fileset>
544 <fileset>
545 <directory>${script-build.dir}</directory>
546 </fileset>
547 <fileset>
548 <directory>${checkstyle-build.dir}</directory>
549 </fileset>
550 <fileset>
551 <directory>${dist.dir}</directory>
552 </fileset>
553 <fileset>
554 <directory>${mapcss.dir}/parsergen</directory>
555 </fileset>
556 <fileset>
557 <directory>${src.dir}/org/w3/_2001/xmlschema</directory>
558 <includes>
559 <include>Adapter1.java</include>
560 </includes>
561 </fileset>
562 <fileset>
563 <directory>${src.dir}/org/openstreetmap/josm/data/imagery/types</directory>
564 </fileset>
565 <!-- ${epsg.output} -->
566 <fileset>
567 <directory>${resources.dir}/data/projection/</directory>
568 <includes>
569 <include>custom-epsg</include>
570 </includes>
571 </fileset>
572 <fileset>
573 <directory>${pmd.dir}</directory>
574 <includes>
575 <include>cache</include>
576 </includes>
577 </fileset>
578 </filesets>
579 </configuration>
580 </plugin>
581 <plugin>
582 <groupId>org.codehaus.mojo</groupId>
583 <artifactId>buildnumber-maven-plugin</artifactId>
584 <executions>
585 <execution>
586 <phase>validate</phase>
587 <goals>
588 <goal>create</goal>
589 </goals>
590 </execution>
591 </executions>
592 <configuration>
593 <doCheck>false</doCheck>
594 </configuration>
595 </plugin>
596 <plugin>
597 <groupId>org.apache.maven.plugins</groupId>
598 <artifactId>maven-shade-plugin</artifactId>
599 <executions>
600 <execution>
601 <phase>package</phase>
602 <goals>
603 <goal>shade</goal>
604 </goals>
605 <configuration>
606 <minimizeJar>true</minimizeJar>
607 <filters>
608 <filter>
609 <artifact>org.webjars.npm:tag2link</artifact>
610 <excludes>
611 <exclude>META-INF/resources/webjars/tag2link/*/LICENSE</exclude>
612 <exclude>META-INF/resources/webjars/tag2link/*/README.md</exclude>
613 <exclude>META-INF/resources/webjars/tag2link/*/build.js</exclude>
614 <exclude>META-INF/resources/webjars/tag2link/*/package.json</exclude>
615 <exclude>META-INF/resources/webjars/tag2link/*/schema.json</exclude>
616 <exclude>META-INF/resources/webjars/tag2link/*/tag2link.sophox.sparql</exclude>
617 <exclude>META-INF/resources/webjars/tag2link/*/tag2link.wikidata.sparql</exclude>
618 </excludes>
619 </filter>
620 <filter>
621 <artifact>org.openstreetmap.jmapviewer:jmapviewer</artifact>
622 <excludes>
623 <exclude>org/openstreetmap/gui/jmapviewer/Demo*</exclude>
624 </excludes>
625 </filter>
626 <filter>
627 <artifact>com.drewnoakes:metadata-extractor</artifact>
628 <excludes>
629 <exclude>com/drew/imaging/FileTypeDetector*</exclude>
630 <exclude>com/drew/imaging/ImageMetadataReader*</exclude>
631 <exclude>com/drew/imaging/avi/**</exclude>
632 <exclude>com/drew/imaging/bmp/**</exclude>
633 <exclude>com/drew/imaging/eps/**</exclude>
634 <exclude>com/drew/imaging/gif/**</exclude>
635 <exclude>com/drew/imaging/heif/**</exclude>
636 <exclude>com/drew/imaging/ico/**</exclude>
637 <exclude>com/drew/imaging/mp3/**</exclude>
638 <exclude>com/drew/imaging/mp4/**</exclude>
639 <exclude>com/drew/imaging/pcx/**</exclude>
640 <exclude>com/drew/imaging/psd/**</exclude>
641 <exclude>com/drew/imaging/quicktime/**</exclude>
642 <exclude>com/drew/imaging/raf/**</exclude>
643 <exclude>com/drew/imaging/riff/**</exclude>
644 <exclude>com/drew/imaging/wav/**</exclude>
645 <exclude>com/drew/imaging/webp/**</exclude>
646 <exclude>com/drew/metadata/avi/**</exclude>
647 <exclude>com/drew/metadata/bmp/**</exclude>
648 <exclude>com/drew/metadata/eps/**</exclude>
649 <exclude>com/drew/metadata/gif/**</exclude>
650 <exclude>com/drew/metadata/heif/**</exclude>
651 <exclude>com/drew/metadata/ico/**</exclude>
652 <exclude>com/drew/metadata/mov/**</exclude>
653 <exclude>com/drew/metadata/mp3/**</exclude>
654 <exclude>com/drew/metadata/mp4/**</exclude>
655 <exclude>com/drew/metadata/pcx/**</exclude>
656 <exclude>com/drew/metadata/wav/**</exclude>
657 <exclude>com/drew/metadata/webp/**</exclude>
658 <exclude>com/drew/tools/**</exclude>
659 </excludes>
660 </filter>
661 <filter>
662 <artifact>com.formdev:svgSalamander</artifact>
663 <excludes>
664 <exclude>com/kitfox/svg/app/ant/**</exclude>
665 <exclude>com/kitfox/svg/app/*Dialog*</exclude>
666 <exclude>com/kitfox/svg/app/*Frame*</exclude>
667 <exclude>com/kitfox/svg/app/*Player*</exclude>
668 <exclude>com/kitfox/svg/app/*Viewer*</exclude>
669 </excludes>
670 </filter>
671 <filter>
672 <artifact>org.apache.commons:commons-compress</artifact>
673 <excludes>
674 <exclude>org/apache/commons/compress/PasswordRequiredException*</exclude>
675 <exclude>org/apache/commons/compress/archivers/**</exclude>
676 <exclude>org/apache/commons/compress/changes/**</exclude>
677 <exclude>org/apache/commons/compress/compressors/bzip2/BZip2Utils*</exclude>
678 <exclude>org/apache/commons/compress/compressors/brotli/**</exclude>
679 <exclude>org/apache/commons/compress/compressors/CompressorStreamFactory*</exclude>
680 <exclude>org/apache/commons/compress/compressors/CompressorStreamProvider*</exclude>
681 <exclude>org/apache/commons/compress/compressors/CompressorException*</exclude>
682 <exclude>org/apache/commons/compress/compressors/FileNameUtil*</exclude>
683 <exclude>org/apache/commons/compress/compressors/deflate/**</exclude>
684 <exclude>org/apache/commons/compress/compressors/gzip/**</exclude>
685 <exclude>org/apache/commons/compress/compressors/lz4/**</exclude>
686 <exclude>org/apache/commons/compress/compressors/lzma/**</exclude>
687 <exclude>org/apache/commons/compress/compressors/lz77support/**</exclude>
688 <exclude>org/apache/commons/compress/compressors/pack200/**</exclude>
689 <exclude>org/apache/commons/compress/compressors/snappy/**</exclude>
690 <exclude>org/apache/commons/compress/compressors/xz/XZUtils*</exclude>
691 <exclude>org/apache/commons/compress/compressors/z/**</exclude>
692 <exclude>org/apache/commons/compress/compressors/zstandard/**</exclude>
693 <exclude>org/apache/commons/compress/java/util/jar/Pack200*</exclude>
694 <exclude>org/apache/commons/compress/harmony/pack200/**</exclude>
695 <exclude>org/apache/commons/compress/harmony/unpack200/**</exclude>
696 <exclude>org/apache/commons/compress/parallel/**</exclude>
697 <exclude>org/apache/commons/compress/utils/ArchiveUtils*</exclude>
698 </excludes>
699 </filter>
700 <filter>
701 <artifact>org.apache.commons:commons-jcs3-core</artifact>
702 <excludes>
703 <exclude>org/apache/commons/jcs3/auxiliary/disk/jdbc/**</exclude>
704 <exclude>org/apache/commons/jcs3/auxiliary/remote/http/client/**</exclude>
705 <exclude>org/apache/commons/jcs3/auxiliary/remote/http/server/RemoteHttpCacheServlet*</exclude>
706 <exclude>org/apache/commons/jcs3/auxiliary/remote/server/RemoteCacheStartupServlet*</exclude>
707 <exclude>org/apache/commons/jcs3/log/Log4j2Factory*</exclude>
708 <exclude>org/apache/commons/jcs3/log/Log4j2LogAdapter*</exclude>
709 <exclude>org/apache/commons/jcs3/utils/servlet/**</exclude>
710 </excludes>
711 </filter>
712 </filters>
713 </configuration>
714 </execution>
715 </executions>
716 </plugin>
717 <plugin>
718 <groupId>org.apache.maven.plugins</groupId>
719 <artifactId>maven-jar-plugin</artifactId>
720 <configuration>
721 <archive>
722 <manifest>
723 <mainClass>org.openstreetmap.josm.gui.MainApplication</mainClass>
724 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
725 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
726 </manifest>
727 <manifestEntries>
728 <Main-Version>${buildNumber} SVN</Main-Version>
729 <!-- The default timestamp format is milliseconds since epoch -->
730 <Main-Date>${timestamp}</Main-Date>
731 <Permissions>all-permissions</Permissions>
732 <Codebase>josm.openstreetmap.de</Codebase>
733 <Application-Name>JOSM - Java OpenStreetMap Editor</Application-Name>
734 <Add-Exports>java.base/sun.security.action java.desktop/com.apple.eawt java.desktop/com.sun.imageio.spi java.desktop/com.sun.imageio.plugins.jpeg javafx.graphics/com.sun.javafx.application jdk.deploy/com.sun.deploy.config</Add-Exports>
735 <Add-Opens>java.base/java.lang java.base/java.nio java.base/jdk.internal.loader java.base/jdk.internal.ref java.desktop/javax.imageio.spi java.desktop/javax.swing.text.html java.prefs/java.util.prefs</Add-Opens>
736 <Multi-Release>true</Multi-Release>
737 <Is-Local-Build>true</Is-Local-Build>
738 </manifestEntries>
739 </archive>
740 </configuration>
741 </plugin>
742 </plugins>
743 </build>
744</project>
Note: See TracBrowser for help on using the repository browser.