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>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.5.0</pmd.version>
|
---|
21 | <jacoco.version>0.8.12</jacoco.version>
|
---|
22 | <checkstyle.version>10.18.1</checkstyle.version>
|
---|
23 | <spotbugs.version>4.8.6</spotbugs.version>
|
---|
24 | </properties>
|
---|
25 | <modules>
|
---|
26 | <module>..</module>
|
---|
27 | <!-- The test pom is mostly for plugins; JOSM core dev doesn't need it -->
|
---|
28 | <module>../test/pom.xml</module>
|
---|
29 | </modules>
|
---|
30 | <repositories>
|
---|
31 | <repository>
|
---|
32 | <id>JOSM</id>
|
---|
33 | <url>https://josm.openstreetmap.de/nexus/content/repositories/public/</url>
|
---|
34 | </repository>
|
---|
35 | </repositories>
|
---|
36 | <pluginRepositories>
|
---|
37 | <pluginRepository>
|
---|
38 | <id>JOSM</id>
|
---|
39 | <url>https://josm.openstreetmap.de/nexus/content/repositories/public/</url>
|
---|
40 | </pluginRepository>
|
---|
41 | </pluginRepositories>
|
---|
42 | <distributionManagement>
|
---|
43 | <snapshotRepository>
|
---|
44 | <id>josm-snapshots</id>
|
---|
45 | <name>JOSM snapshots</name>
|
---|
46 | <url>https://josm.openstreetmap.de/nexus/content/repositories/snapshots</url>
|
---|
47 | </snapshotRepository>
|
---|
48 | </distributionManagement>
|
---|
49 | <build>
|
---|
50 | <pluginManagement>
|
---|
51 | <plugins>
|
---|
52 | <plugin>
|
---|
53 | <groupId>org.codehaus.mojo</groupId>
|
---|
54 | <artifactId>javacc-maven-plugin</artifactId>
|
---|
55 | <version>3.1.0</version>
|
---|
56 | </plugin>
|
---|
57 | <plugin>
|
---|
58 | <groupId>org.apache.maven.plugins</groupId>
|
---|
59 | <artifactId>maven-clean-plugin</artifactId>
|
---|
60 | <version>3.3.2</version>
|
---|
61 | </plugin>
|
---|
62 | <plugin>
|
---|
63 | <groupId>org.codehaus.mojo</groupId>
|
---|
64 | <artifactId>exec-maven-plugin</artifactId>
|
---|
65 | <version>3.2.0</version>
|
---|
66 | </plugin>
|
---|
67 | <plugin>
|
---|
68 | <groupId>org.apache.maven.plugins</groupId>
|
---|
69 | <artifactId>maven-resources-plugin</artifactId>
|
---|
70 | <version>3.3.1</version>
|
---|
71 | </plugin>
|
---|
72 | <plugin>
|
---|
73 | <groupId>org.apache.maven.plugins</groupId>
|
---|
74 | <artifactId>maven-pmd-plugin</artifactId>
|
---|
75 | <version>3.23.0</version>
|
---|
76 | <dependencies>
|
---|
77 | <dependency>
|
---|
78 | <groupId>net.sourceforge.pmd</groupId>
|
---|
79 | <artifactId>pmd-core</artifactId>
|
---|
80 | <version>${pmd.version}</version>
|
---|
81 | </dependency>
|
---|
82 | <dependency>
|
---|
83 | <groupId>net.sourceforge.pmd</groupId>
|
---|
84 | <artifactId>pmd-java</artifactId>
|
---|
85 | <version>${pmd.version}</version>
|
---|
86 | </dependency>
|
---|
87 | <dependency>
|
---|
88 | <groupId>net.sourceforge.pmd</groupId>
|
---|
89 | <artifactId>pmd-javascript</artifactId>
|
---|
90 | <version>${pmd.version}</version>
|
---|
91 | </dependency>
|
---|
92 | <dependency>
|
---|
93 | <groupId>net.sourceforge.pmd</groupId>
|
---|
94 | <artifactId>pmd-jsp</artifactId>
|
---|
95 | <version>${pmd.version}</version>
|
---|
96 | </dependency>
|
---|
97 | </dependencies>
|
---|
98 | <configuration>
|
---|
99 | <targetJdk>${java.lang.version}</targetJdk>
|
---|
100 | </configuration>
|
---|
101 | </plugin>
|
---|
102 | <plugin>
|
---|
103 | <groupId>org.apache.maven.plugins</groupId>
|
---|
104 | <artifactId>maven-surefire-plugin</artifactId>
|
---|
105 | <version>3.2.5</version>
|
---|
106 | </plugin>
|
---|
107 | <plugin>
|
---|
108 | <groupId>com.github.spotbugs</groupId>
|
---|
109 | <artifactId>spotbugs-maven-plugin</artifactId>
|
---|
110 | <version>4.8.5.0</version>
|
---|
111 | </plugin>
|
---|
112 | <plugin>
|
---|
113 | <groupId>org.apache.maven.plugins</groupId>
|
---|
114 | <artifactId>maven-checkstyle-plugin</artifactId>
|
---|
115 | <version>3.3.1</version>
|
---|
116 | <dependencies>
|
---|
117 | <dependency>
|
---|
118 | <groupId>com.puppycrawl.tools</groupId>
|
---|
119 | <artifactId>checkstyle</artifactId>
|
---|
120 | <version>${checkstyle.version}</version>
|
---|
121 | </dependency>
|
---|
122 | </dependencies>
|
---|
123 | </plugin>
|
---|
124 | <!-- Used to merge compile dependencies into jars -->
|
---|
125 | <plugin>
|
---|
126 | <groupId>org.apache.maven.plugins</groupId>
|
---|
127 | <artifactId>maven-shade-plugin</artifactId>
|
---|
128 | <version>3.5.3</version>
|
---|
129 | <executions>
|
---|
130 | <execution>
|
---|
131 | <phase>package</phase>
|
---|
132 | <goals>
|
---|
133 | <goal>shade</goal>
|
---|
134 | </goals>
|
---|
135 | <configuration>
|
---|
136 | <filters>
|
---|
137 | <filter>
|
---|
138 | <artifact>*:*</artifact>
|
---|
139 | <excludes>
|
---|
140 | <!--<exclude>META-INF/*</exclude>-->
|
---|
141 | <!--<exclude>*</exclude>-->
|
---|
142 | <exclude>META-INF/versions/*</exclude>
|
---|
143 | <exclude>META-INF/maven/**</exclude>
|
---|
144 | <exclude>META-INF/*.SF</exclude>
|
---|
145 | <exclude>META-INF/*.DSA</exclude>
|
---|
146 | <exclude>META-INF/*.RSA</exclude>
|
---|
147 | </excludes>
|
---|
148 | </filter>
|
---|
149 | </filters>
|
---|
150 | </configuration>
|
---|
151 | </execution>
|
---|
152 | </executions>
|
---|
153 | </plugin>
|
---|
154 | <plugin>
|
---|
155 | <groupId>org.apache.maven.plugins</groupId>
|
---|
156 | <artifactId>maven-jar-plugin</artifactId>
|
---|
157 | <version>3.4.1</version>
|
---|
158 | <configuration>
|
---|
159 | <archive>
|
---|
160 | <addMavenDescriptor>false</addMavenDescriptor>
|
---|
161 | </archive>
|
---|
162 | </configuration>
|
---|
163 | </plugin>
|
---|
164 | <plugin>
|
---|
165 | <groupId>org.sonarsource.scanner.maven</groupId>
|
---|
166 | <artifactId>sonar-maven-plugin</artifactId>
|
---|
167 | <version>3.7.0.1746</version>
|
---|
168 | </plugin>
|
---|
169 | <!-- Used to set version information -->
|
---|
170 | <plugin>
|
---|
171 | <groupId>org.codehaus.mojo</groupId>
|
---|
172 | <artifactId>buildnumber-maven-plugin</artifactId>
|
---|
173 | <version>3.2.0</version>
|
---|
174 | </plugin>
|
---|
175 | </plugins>
|
---|
176 | </pluginManagement>
|
---|
177 | <plugins>
|
---|
178 | <plugin>
|
---|
179 | <groupId>org.apache.maven.plugins</groupId>
|
---|
180 | <artifactId>maven-enforcer-plugin</artifactId>
|
---|
181 | <version>3.4.1</version>
|
---|
182 | <executions>
|
---|
183 | <execution>
|
---|
184 | <id>enforce-versions</id>
|
---|
185 | <goals>
|
---|
186 | <goal>enforce</goal>
|
---|
187 | </goals>
|
---|
188 | <configuration>
|
---|
189 | <rules>
|
---|
190 | <requireMavenVersion>
|
---|
191 | <version>3.6.3</version>
|
---|
192 | </requireMavenVersion>
|
---|
193 | <requireJavaVersion>
|
---|
194 | <version>8</version>
|
---|
195 | </requireJavaVersion>
|
---|
196 | </rules>
|
---|
197 | </configuration>
|
---|
198 | </execution>
|
---|
199 | </executions>
|
---|
200 | </plugin>
|
---|
201 | <plugin>
|
---|
202 | <groupId>org.apache.maven.plugins</groupId>
|
---|
203 | <artifactId>maven-resources-plugin</artifactId>
|
---|
204 | <version>3.3.1</version>
|
---|
205 | <executions>
|
---|
206 | <execution>
|
---|
207 | <id>copy-root-resources</id>
|
---|
208 | <phase>generate-resources</phase>
|
---|
209 | <goals>
|
---|
210 | <goal>copy-resources</goal>
|
---|
211 | </goals>
|
---|
212 | <configuration>
|
---|
213 | <outputDirectory>${project.basedir}/target/classes</outputDirectory>
|
---|
214 | <resources>
|
---|
215 | <resource>
|
---|
216 | <directory>${project.basedir}</directory>
|
---|
217 | <includes>
|
---|
218 | <include>GPL-v2.0.txt</include>
|
---|
219 | <include>GPL-v3.0.txt</include>
|
---|
220 | <include>LICENSE</include>
|
---|
221 | <include>LICENSE.md</include>
|
---|
222 | <include>README</include>
|
---|
223 | <include>README.md</include>
|
---|
224 | </includes>
|
---|
225 | </resource>
|
---|
226 | </resources>
|
---|
227 | </configuration>
|
---|
228 | </execution>
|
---|
229 | </executions>
|
---|
230 | </plugin>
|
---|
231 | </plugins>
|
---|
232 | </build>
|
---|
233 | <dependencyManagement>
|
---|
234 | <dependencies>
|
---|
235 | <dependency>
|
---|
236 | <groupId>org.jmockit</groupId>
|
---|
237 | <artifactId>jmockit</artifactId>
|
---|
238 | <version>${jmockit.version}</version>
|
---|
239 | <scope>test</scope>
|
---|
240 | </dependency>
|
---|
241 | <dependency>
|
---|
242 | <groupId>org.junit</groupId>
|
---|
243 | <artifactId>junit-bom</artifactId>
|
---|
244 | <version>5.11.0</version>
|
---|
245 | <type>pom</type>
|
---|
246 | <scope>import</scope>
|
---|
247 | </dependency>
|
---|
248 | <dependency>
|
---|
249 | <groupId>org.openstreetmap.jmapviewer</groupId>
|
---|
250 | <artifactId>jmapviewer</artifactId>
|
---|
251 | <version>2.22</version>
|
---|
252 | <scope>provided</scope>
|
---|
253 | </dependency>
|
---|
254 | <dependency>
|
---|
255 | <groupId>jakarta.json</groupId>
|
---|
256 | <artifactId>jakarta.json-api</artifactId>
|
---|
257 | <version>2.1.3</version>
|
---|
258 | <scope>provided</scope>
|
---|
259 | </dependency>
|
---|
260 | <dependency>
|
---|
261 | <groupId>org.eclipse.parsson</groupId>
|
---|
262 | <artifactId>parsson</artifactId>
|
---|
263 | <version>1.1.7</version>
|
---|
264 | <scope>provided</scope>
|
---|
265 | </dependency>
|
---|
266 | <dependency>
|
---|
267 | <groupId>org.apache.commons</groupId>
|
---|
268 | <artifactId>commons-jcs3-core</artifactId>
|
---|
269 | <version>3.2.1</version>
|
---|
270 | <scope>provided</scope>
|
---|
271 | </dependency>
|
---|
272 | <dependency>
|
---|
273 | <groupId>org.apache.commons</groupId>
|
---|
274 | <artifactId>commons-compress</artifactId>
|
---|
275 | <version>1.27.1</version>
|
---|
276 | <scope>provided</scope>
|
---|
277 | </dependency>
|
---|
278 | <dependency>
|
---|
279 | <groupId>jakarta.annotation</groupId>
|
---|
280 | <artifactId>jakarta.annotation-api</artifactId>
|
---|
281 | <version>2.1.1</version>
|
---|
282 | <scope>provided</scope>
|
---|
283 | </dependency>
|
---|
284 | <dependency>
|
---|
285 | <groupId>org.tukaani</groupId>
|
---|
286 | <artifactId>xz</artifactId>
|
---|
287 | <version>1.10</version>
|
---|
288 | <scope>provided</scope>
|
---|
289 | </dependency>
|
---|
290 | <dependency>
|
---|
291 | <groupId>com.adobe.xmp</groupId>
|
---|
292 | <artifactId>xmpcore</artifactId>
|
---|
293 | <version>6.1.11</version>
|
---|
294 | <scope>provided</scope>
|
---|
295 | </dependency>
|
---|
296 | <dependency>
|
---|
297 | <groupId>com.drewnoakes</groupId>
|
---|
298 | <artifactId>metadata-extractor</artifactId>
|
---|
299 | <version>2.19.0</version>
|
---|
300 | <scope>provided</scope>
|
---|
301 | </dependency>
|
---|
302 | <dependency>
|
---|
303 | <groupId>com.formdev</groupId>
|
---|
304 | <artifactId>svgSalamander</artifactId>
|
---|
305 | <version>1.1.4</version>
|
---|
306 | <scope>provided</scope>
|
---|
307 | </dependency>
|
---|
308 | <dependency>
|
---|
309 | <groupId>ch.poole</groupId>
|
---|
310 | <artifactId>OpeningHoursParser</artifactId>
|
---|
311 | <version>0.28.2</version>
|
---|
312 | <scope>provided</scope>
|
---|
313 | </dependency>
|
---|
314 | <!-- Don't forget to update org.openstreetmap.josm.tools.Tag2Link#PREF_SOURCE -->
|
---|
315 | <dependency>
|
---|
316 | <groupId>org.webjars.npm</groupId>
|
---|
317 | <artifactId>tag2link</artifactId>
|
---|
318 | <version>2024.8.21</version>
|
---|
319 | <scope>provided</scope>
|
---|
320 | </dependency>
|
---|
321 | <dependency>
|
---|
322 | <groupId>org.jacoco</groupId>
|
---|
323 | <artifactId>org.jacoco.ant</artifactId>
|
---|
324 | <version>${jacoco.version}</version>
|
---|
325 | <scope>test</scope>
|
---|
326 | </dependency>
|
---|
327 | <dependency>
|
---|
328 | <groupId>com.github.spotbugs</groupId>
|
---|
329 | <artifactId>spotbugs-annotations</artifactId>
|
---|
330 | <version>${spotbugs.version}</version>
|
---|
331 | <scope>test</scope>
|
---|
332 | </dependency>
|
---|
333 | <dependency>
|
---|
334 | <groupId>com.ginsberg</groupId>
|
---|
335 | <artifactId>junit5-system-exit</artifactId>
|
---|
336 | <version>1.1.2</version>
|
---|
337 | <scope>test</scope>
|
---|
338 | </dependency>
|
---|
339 | <dependency>
|
---|
340 | <groupId>org.wiremock</groupId>
|
---|
341 | <artifactId>wiremock</artifactId>
|
---|
342 | <version>3.9.1</version>
|
---|
343 | <scope>test</scope>
|
---|
344 | </dependency>
|
---|
345 | <dependency>
|
---|
346 | <groupId>io.github.classgraph</groupId>
|
---|
347 | <artifactId>classgraph</artifactId>
|
---|
348 | <version>4.8.175</version>
|
---|
349 | <scope>test</scope>
|
---|
350 | </dependency>
|
---|
351 | <dependency>
|
---|
352 | <groupId>net.trajano.commons</groupId>
|
---|
353 | <artifactId>commons-testing</artifactId>
|
---|
354 | <version>2.1.0</version>
|
---|
355 | <scope>test</scope>
|
---|
356 | </dependency>
|
---|
357 | <dependency>
|
---|
358 | <groupId>nl.jqno.equalsverifier</groupId>
|
---|
359 | <artifactId>equalsverifier</artifactId>
|
---|
360 | <version>3.16.2</version>
|
---|
361 | <scope>test</scope>
|
---|
362 | </dependency>
|
---|
363 | <dependency>
|
---|
364 | <groupId>org.apache.commons</groupId>
|
---|
365 | <artifactId>commons-lang3</artifactId>
|
---|
366 | <version>3.17.0</version>
|
---|
367 | <scope>test</scope>
|
---|
368 | </dependency>
|
---|
369 | <dependency>
|
---|
370 | <groupId>org.awaitility</groupId>
|
---|
371 | <artifactId>awaitility</artifactId>
|
---|
372 | <version>4.2.2</version>
|
---|
373 | <scope>test</scope>
|
---|
374 | </dependency>
|
---|
375 | </dependencies>
|
---|
376 | </dependencyManagement>
|
---|
377 | </project>
|
---|