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