[36202] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
| 2 |
|
---|
| 3 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
---|
| 4 | <modelVersion>4.0.0</modelVersion>
|
---|
| 5 |
|
---|
| 6 | <groupId>org.openstreetmap.jmapviewer</groupId>
|
---|
| 7 | <artifactId>jmapviewer</artifactId>
|
---|
[36373] | 8 | <version>2.24-SNAPSHOT</version>
|
---|
[36202] | 9 |
|
---|
| 10 | <name>JMapViewer</name>
|
---|
| 11 | <url>https://josm.openstreetmap.de/browser/osm/applications/viewer/jmapviewer</url>
|
---|
| 12 | <properties>
|
---|
| 13 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
---|
| 14 | <maven.compiler.release>8</maven.compiler.release>
|
---|
[36293] | 15 | <version.maven.spotbugs>4.8.6</version.maven.spotbugs>
|
---|
| 16 | <version.maven.jacoco>0.8.12</version.maven.jacoco>
|
---|
| 17 | <version.maven.checkstyle>9.3</version.maven.checkstyle>
|
---|
[36202] | 18 | <sonar.host.url>https://josm.openstreetmap.de/sonar</sonar.host.url>
|
---|
| 19 | <sonar.projectKey>jmapviewer</sonar.projectKey>
|
---|
| 20 | </properties>
|
---|
| 21 | <licenses>
|
---|
| 22 | <license><!-- Might be GPL-2.0-or-later, but no instances of "or later" in source code -->
|
---|
| 23 | <name>GPL-2.0-only</name>
|
---|
| 24 | <url>https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html</url>
|
---|
| 25 | <distribution>repo</distribution>
|
---|
| 26 | </license>
|
---|
| 27 | </licenses>
|
---|
| 28 | <organization>
|
---|
| 29 | <name>JOSM</name>
|
---|
| 30 | <url>https://josm.openstreetmap.de</url>
|
---|
| 31 | </organization>
|
---|
| 32 | <contributors>
|
---|
| 33 | <contributor><name>Tim Haussmann</name></contributor>
|
---|
| 34 | <contributor><name>Jan Peter Stotz</name></contributor>
|
---|
| 35 | <contributor><name>Dirk Stöcker</name></contributor>
|
---|
| 36 | <contributor><name>Stefan Zeller</name></contributor>
|
---|
| 37 | <contributor><name>Karl Guggisberg</name></contributor>
|
---|
| 38 | <contributor><name>Dave Hansen</name></contributor>
|
---|
| 39 | <contributor><name>Ian Dees</name></contributor>
|
---|
| 40 | <contributor><name>Michael Vigovsky</name></contributor>
|
---|
| 41 | <contributor><name>Paul Hartmann</name></contributor>
|
---|
| 42 | <contributor><name>Gleb Smirnoff</name></contributor>
|
---|
| 43 | <contributor><name>Vincent Privat</name></contributor>
|
---|
| 44 | <contributor><name>Jason Huntley</name></contributor>
|
---|
| 45 | <contributor><name>Simon Legner</name></contributor>
|
---|
| 46 | <contributor><name>Teemu Koskinen</name></contributor>
|
---|
| 47 | <contributor><name>Jiri Klement</name></contributor>
|
---|
| 48 | <contributor><name>Matt Hoover</name></contributor>
|
---|
| 49 | <contributor><name>Alexei Kasatkin</name></contributor>
|
---|
| 50 | <contributor><name>Galo Higueras</name></contributor>
|
---|
| 51 | <contributor><name>Wiktor Niesiobędzki</name></contributor>
|
---|
| 52 | <contributor><name>Robert Scott</name></contributor>
|
---|
| 53 | </contributors>
|
---|
| 54 | <scm>
|
---|
| 55 | <connection>scm:svn:https://josm.openstreetmap.de/osmsvn/applications/viewer/jmapviewer/</connection>
|
---|
| 56 | <url>https://josm.openstreetmap.de/browser/osm/applications/viewer/jmapviewer/</url>
|
---|
| 57 | </scm>
|
---|
| 58 | <issueManagement>
|
---|
| 59 | <system>Trac</system>
|
---|
| 60 | <url>https://josm.openstreetmap.de</url>
|
---|
| 61 | </issueManagement>
|
---|
| 62 | <mailingLists>
|
---|
| 63 | <mailingList>
|
---|
| 64 | <name>josm-dev</name>
|
---|
| 65 | <archive>https://lists.openstreetmap.org/pipermail/josm-dev/</archive>
|
---|
| 66 | <post>josm-dev@openstreetmap.org</post>
|
---|
| 67 | </mailingList>
|
---|
| 68 | </mailingLists>
|
---|
| 69 | <distributionManagement>
|
---|
| 70 | <repository>
|
---|
| 71 | <id>josm-nexus-releases</id>
|
---|
| 72 | <name>JOSM Nexus (Releases)</name>
|
---|
| 73 | <url>https://josm.openstreetmap.de/nexus/content/repositories/releases/</url>
|
---|
| 74 | </repository>
|
---|
| 75 | <snapshotRepository>
|
---|
| 76 | <id>josm-nexus-snapshot</id>
|
---|
| 77 | <name>JOSM Nexus (Snapshot)</name>
|
---|
| 78 | <url>https://josm.openstreetmap.de/nexus/content/repositories/snapshots/</url>
|
---|
| 79 | </snapshotRepository>
|
---|
| 80 | </distributionManagement>
|
---|
| 81 |
|
---|
[36293] | 82 | <repositories>
|
---|
| 83 | <repository>
|
---|
| 84 | <id>JOSM-central</id>
|
---|
| 85 | <url>https://josm.openstreetmap.de/nexus/content/repositories/central/</url>
|
---|
| 86 | </repository>
|
---|
| 87 | </repositories>
|
---|
| 88 | <pluginRepositories>
|
---|
| 89 | <pluginRepository>
|
---|
| 90 | <id>JOSM-central</id>
|
---|
| 91 | <url>https://josm.openstreetmap.de/nexus/content/repositories/central/</url>
|
---|
| 92 | </pluginRepository>
|
---|
| 93 | </pluginRepositories>
|
---|
| 94 |
|
---|
[36202] | 95 | <dependencyManagement>
|
---|
| 96 | <dependencies>
|
---|
| 97 | <dependency>
|
---|
| 98 | <groupId>org.junit</groupId>
|
---|
| 99 | <artifactId>junit-bom</artifactId>
|
---|
[36223] | 100 | <version>5.10.2</version>
|
---|
[36202] | 101 | <type>pom</type>
|
---|
| 102 | <scope>import</scope>
|
---|
| 103 | </dependency>
|
---|
| 104 | </dependencies>
|
---|
| 105 | </dependencyManagement>
|
---|
| 106 |
|
---|
| 107 | <dependencies>
|
---|
| 108 | <dependency>
|
---|
| 109 | <groupId>com.github.spotbugs</groupId>
|
---|
| 110 | <artifactId>spotbugs-annotations</artifactId>
|
---|
[36293] | 111 | <version>${version.maven.spotbugs}</version>
|
---|
[36202] | 112 | <scope>test</scope>
|
---|
| 113 | </dependency>
|
---|
| 114 | <dependency>
|
---|
| 115 | <groupId>org.junit.platform</groupId>
|
---|
| 116 | <artifactId>junit-platform-launcher</artifactId>
|
---|
| 117 | <scope>test</scope>
|
---|
| 118 | </dependency>
|
---|
| 119 | <dependency>
|
---|
| 120 | <groupId>org.junit.platform</groupId>
|
---|
| 121 | <artifactId>junit-platform-suite</artifactId>
|
---|
| 122 | <scope>test</scope>
|
---|
| 123 | </dependency>
|
---|
| 124 | <dependency>
|
---|
| 125 | <groupId>org.junit.jupiter</groupId>
|
---|
| 126 | <artifactId>junit-jupiter-api</artifactId>
|
---|
| 127 | <scope>test</scope>
|
---|
| 128 | </dependency>
|
---|
| 129 | <dependency>
|
---|
| 130 | <groupId>org.junit.jupiter</groupId>
|
---|
| 131 | <artifactId>junit-jupiter-engine</artifactId>
|
---|
| 132 | <scope>test</scope>
|
---|
| 133 | </dependency>
|
---|
| 134 | <dependency>
|
---|
| 135 | <groupId>org.junit.jupiter</groupId>
|
---|
| 136 | <artifactId>junit-jupiter-params</artifactId>
|
---|
| 137 | <scope>test</scope>
|
---|
| 138 | </dependency>
|
---|
| 139 | </dependencies>
|
---|
| 140 |
|
---|
| 141 | <build>
|
---|
| 142 | <sourceDirectory>${project.basedir}/src</sourceDirectory>
|
---|
| 143 | <testSourceDirectory>${project.basedir}/test</testSourceDirectory>
|
---|
| 144 | <finalName>${project.name}-${project.version}</finalName>
|
---|
| 145 | <resources>
|
---|
| 146 | <resource>
|
---|
| 147 | <directory>${project.build.sourceDirectory}</directory>
|
---|
| 148 | <includes>
|
---|
| 149 | <include>
|
---|
| 150 | **/*.png
|
---|
| 151 | </include>
|
---|
| 152 | </includes>
|
---|
| 153 | </resource>
|
---|
| 154 | </resources>
|
---|
| 155 | <plugins>
|
---|
| 156 | <plugin>
|
---|
| 157 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 158 | <artifactId>maven-jar-plugin</artifactId>
|
---|
[36293] | 159 | <version>3.4.2</version>
|
---|
[36202] | 160 | <configuration>
|
---|
| 161 | <outputDirectory>releases/${project.version}</outputDirectory>
|
---|
| 162 | </configuration>
|
---|
| 163 | </plugin>
|
---|
| 164 | <plugin>
|
---|
| 165 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 166 | <artifactId>maven-source-plugin</artifactId>
|
---|
[36293] | 167 | <version>3.3.1</version>
|
---|
[36202] | 168 | <configuration>
|
---|
| 169 | <outputDirectory>releases/${project.version}</outputDirectory>
|
---|
| 170 | </configuration>
|
---|
| 171 | <executions>
|
---|
| 172 | <execution>
|
---|
| 173 | <id>attach-sources</id>
|
---|
| 174 | <phase>package</phase>
|
---|
| 175 | <goals>
|
---|
| 176 | <goal>jar-no-fork</goal>
|
---|
| 177 | </goals>
|
---|
| 178 | </execution>
|
---|
| 179 | </executions>
|
---|
| 180 | </plugin>
|
---|
| 181 | <plugin>
|
---|
| 182 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 183 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
[36293] | 184 | <version>3.13.0</version>
|
---|
[36202] | 185 | <executions>
|
---|
| 186 | <execution>
|
---|
| 187 | <id>default-compile</id>
|
---|
| 188 | <configuration>
|
---|
| 189 | <release>11</release>
|
---|
| 190 | </configuration>
|
---|
| 191 | </execution>
|
---|
| 192 | <execution>
|
---|
| 193 | <id>base-compile</id>
|
---|
| 194 | <goals>
|
---|
| 195 | <goal>compile</goal>
|
---|
| 196 | </goals>
|
---|
| 197 | <configuration>
|
---|
| 198 | <release>8</release>
|
---|
| 199 | <excludes>
|
---|
| 200 | <exclude>module-info.java</exclude>
|
---|
| 201 | </excludes>
|
---|
| 202 | </configuration>
|
---|
| 203 | </execution>
|
---|
| 204 | </executions>
|
---|
| 205 | </plugin>
|
---|
| 206 | <!-- Start optional plugins (these can be removed by Linux distributions for building) -->
|
---|
| 207 | <plugin>
|
---|
| 208 | <groupId>org.jacoco</groupId>
|
---|
| 209 | <artifactId>jacoco-maven-plugin</artifactId>
|
---|
| 210 | <version>${version.maven.jacoco}</version>
|
---|
| 211 | <executions>
|
---|
| 212 | <execution>
|
---|
| 213 | <id>default-prepare-agent</id>
|
---|
| 214 | <goals>
|
---|
| 215 | <goal>prepare-agent</goal>
|
---|
| 216 | </goals>
|
---|
| 217 | </execution>
|
---|
| 218 | <execution>
|
---|
| 219 | <id>default-report</id>
|
---|
| 220 | <goals>
|
---|
| 221 | <goal>report</goal>
|
---|
| 222 | </goals>
|
---|
| 223 | </execution>
|
---|
| 224 | </executions>
|
---|
| 225 | </plugin>
|
---|
| 226 | <plugin>
|
---|
| 227 | <groupId>com.github.spotbugs</groupId>
|
---|
| 228 | <artifactId>spotbugs-maven-plugin</artifactId>
|
---|
[36293] | 229 | <version>4.8.6.2</version>
|
---|
[36202] | 230 | <configuration>
|
---|
| 231 | <xmlOutput>true</xmlOutput>
|
---|
| 232 | <spotbugsXmlOutputFilename>spotbugs-jmapviewer.xml</spotbugsXmlOutputFilename>
|
---|
| 233 | <effort>max</effort>
|
---|
| 234 | </configuration>
|
---|
| 235 | <!-- This is commented out until all the current bugs are fixed. TODO uncomment!
|
---|
| 236 | <executions>
|
---|
| 237 | <execution>
|
---|
| 238 | <id>validate</id>
|
---|
| 239 | <phase>validate</phase>
|
---|
| 240 | <goals>
|
---|
| 241 | <goal>check</goal>
|
---|
| 242 | </goals>
|
---|
| 243 | </execution>
|
---|
| 244 | </executions>
|
---|
| 245 | -->
|
---|
| 246 | </plugin>
|
---|
| 247 | <plugin>
|
---|
| 248 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 249 | <artifactId>maven-checkstyle-plugin</artifactId>
|
---|
[36293] | 250 | <version>3.4.0</version>
|
---|
[36202] | 251 | <configuration>
|
---|
| 252 | <configLocation>${project.basedir}/tools/checkstyle/jmapviewer_checks.xml</configLocation>
|
---|
| 253 | <includeTestSourceDirectory>true</includeTestSourceDirectory>
|
---|
| 254 | <outputFile>${project.basedir}/checkstyle-jmapviewer.xml</outputFile>
|
---|
| 255 | <!-- checkstyle cannot parse module-info.java yet -->
|
---|
| 256 | <excludes>module-info.java</excludes>
|
---|
| 257 | </configuration>
|
---|
[36293] | 258 | <dependencies>
|
---|
| 259 | <dependency>
|
---|
| 260 | <groupId>com.puppycrawl.tools</groupId>
|
---|
| 261 | <artifactId>checkstyle</artifactId>
|
---|
| 262 | <version>${version.maven.checkstyle}</version>
|
---|
| 263 | </dependency>
|
---|
| 264 | </dependencies>
|
---|
[36202] | 265 | <executions>
|
---|
| 266 | <execution>
|
---|
| 267 | <id>validate</id>
|
---|
| 268 | <phase>validate</phase>
|
---|
| 269 | <goals>
|
---|
| 270 | <goal>check</goal>
|
---|
| 271 | </goals>
|
---|
| 272 | </execution>
|
---|
| 273 | </executions>
|
---|
| 274 | </plugin>
|
---|
[36293] | 275 | <plugin>
|
---|
| 276 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 277 | <artifactId>maven-enforcer-plugin</artifactId>
|
---|
| 278 | <version>3.5.0</version>
|
---|
| 279 | <executions>
|
---|
| 280 | <execution>
|
---|
| 281 | <id>enforce-maven</id>
|
---|
| 282 | <goals>
|
---|
| 283 | <goal>enforce</goal>
|
---|
| 284 | </goals>
|
---|
| 285 | <configuration>
|
---|
| 286 | <rules>
|
---|
| 287 | <requireMavenVersion>
|
---|
| 288 | <version>3.6.3</version>
|
---|
| 289 | </requireMavenVersion>
|
---|
| 290 | </rules>
|
---|
| 291 | </configuration>
|
---|
| 292 | </execution>
|
---|
| 293 | </executions>
|
---|
| 294 | </plugin>
|
---|
[36202] | 295 | </plugins>
|
---|
| 296 | </build>
|
---|
| 297 |
|
---|
| 298 | <reporting>
|
---|
| 299 | <plugins>
|
---|
| 300 | <plugin>
|
---|
| 301 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 302 | <artifactId>maven-surefire-report-plugin</artifactId>
|
---|
[36293] | 303 | <version>3.3.1</version>
|
---|
[36202] | 304 | </plugin>
|
---|
| 305 | <plugin>
|
---|
| 306 | <groupId>org.jacoco</groupId>
|
---|
| 307 | <artifactId>jacoco-maven-plugin</artifactId>
|
---|
| 308 | <version>${version.maven.jacoco}</version>
|
---|
| 309 | <reportSets>
|
---|
| 310 | <reportSet>
|
---|
| 311 | <reports>
|
---|
| 312 | <report>report</report>
|
---|
| 313 | </reports>
|
---|
| 314 | </reportSet>
|
---|
| 315 | </reportSets>
|
---|
| 316 | </plugin>
|
---|
| 317 | </plugins>
|
---|
| 318 | </reporting>
|
---|
| 319 | </project>
|
---|