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