| 1 | <?xml version="1.0"?>
|
|---|
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" 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">
|
|---|
| 4 | <modelVersion>4.0.0</modelVersion>
|
|---|
| 5 | <groupId>org.openstreetmap.josm.plugins</groupId>
|
|---|
| 6 | <artifactId>plugin-root</artifactId>
|
|---|
| 7 | <version>1.0-SNAPSHOT</version>
|
|---|
| 8 | <parent>
|
|---|
| 9 | <groupId>org.openstreetmap.josm</groupId>
|
|---|
| 10 | <artifactId>josm-parent</artifactId>
|
|---|
| 11 | <version>1.5-SNAPSHOT</version>
|
|---|
| 12 | <relativePath>../core/nodist/pom.xml</relativePath>
|
|---|
| 13 | </parent>
|
|---|
| 14 |
|
|---|
| 15 | <name>JOSM Plugins</name>
|
|---|
| 16 | <url>https://josm.openstreetmap.de</url>
|
|---|
| 17 | <properties>
|
|---|
| 18 | <josm>../../core/dist/josm-custom.jar</josm>
|
|---|
| 19 | <josm.test.build.dir>../../core/test/build</josm.test.build.dir>
|
|---|
| 20 | <java.lang.version>11</java.lang.version>
|
|---|
| 21 | <maven.compiler.release>${java.lang.version}</maven.compiler.release>
|
|---|
| 22 | <plugin.tools.dir>../00_tools</plugin.tools.dir>
|
|---|
| 23 | <plugin.build.dir>build</plugin.build.dir>
|
|---|
| 24 | <plugin.test.dir>test</plugin.test.dir>
|
|---|
| 25 | <plugin.test.data.dir>${plugin.test.dir}/data</plugin.test.data.dir>
|
|---|
| 26 | <plugin.test.src.dir>${plugin.test.dir}/unit</plugin.test.src.dir>
|
|---|
| 27 | <plugin.src.dir>src</plugin.src.dir>
|
|---|
| 28 | <plugin.version>${project.version}</plugin.version>
|
|---|
| 29 | <!-- most plugins default to resource directories in root, e.g. ./data, ./images, ./resources -->
|
|---|
| 30 | <plugin.resources.dir>${project.basedir}</plugin.resources.dir>
|
|---|
| 31 | <plugin.doc.dir>javadoc</plugin.doc.dir>
|
|---|
| 32 | <plugin.lib.dir>lib</plugin.lib.dir>
|
|---|
| 33 | <!-- this is the directory where the plugin jar is copied to -->
|
|---|
| 34 | <!-- We specifically don't want to put the new jars in dist just yet, this may change sometime -->
|
|---|
| 35 | <plugin.dist.dir>../../distMaven</plugin.dist.dir>
|
|---|
| 36 | <javadoc.executable>javadoc</javadoc.executable>
|
|---|
| 37 | <manifest>MANIFEST</manifest>
|
|---|
| 38 | <manifest.unixoid>MANIFEST-unixoid</manifest.unixoid>
|
|---|
| 39 | <manifest.windows>MANIFEST-windows</manifest.windows>
|
|---|
| 40 | <manifest.osx>MANIFEST-osx</manifest.osx>
|
|---|
| 41 | <plugin.compile.version>1.5-SNAPSHOT</plugin.compile.version>
|
|---|
| 42 | <plugin.jar>${project.name}.jar</plugin.jar>
|
|---|
| 43 | <plugin.unixoid.jar>${project.name}-unixoid.jar</plugin.unixoid.jar>
|
|---|
| 44 | <plugin.windows.jar>${project.name}-windows.jar</plugin.windows.jar>
|
|---|
| 45 | <plugin.osx.jar>${project.name}-osx.jar</plugin.osx.jar>
|
|---|
| 46 | <plugin.sources.jar>${project.name}-sources.jar</plugin.sources.jar>
|
|---|
| 47 | <plugin.javadoc.jar>${project.name}-javadoc.jar</plugin.javadoc.jar>
|
|---|
| 48 | <jacoco.inclbootstrapclasses>false</jacoco.inclbootstrapclasses>
|
|---|
| 49 | <jacoco.inclnolocationclasses>false</jacoco.inclnolocationclasses>
|
|---|
| 50 | <junit.printsummary>on</junit.printsummary>
|
|---|
| 51 | <sonar.projectKey>JOSM-Plugins</sonar.projectKey>
|
|---|
| 52 | <geotools.version>31.1</geotools.version>
|
|---|
| 53 | </properties>
|
|---|
| 54 | <packaging>pom</packaging>
|
|---|
| 55 | <inceptionYear>2005</inceptionYear>
|
|---|
| 56 | <licenses>
|
|---|
| 57 | <license>
|
|---|
| 58 | <name>GPL-2.0-or-later</name>
|
|---|
| 59 | <url>https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html</url>
|
|---|
| 60 | <distribution>repo</distribution>
|
|---|
| 61 | </license>
|
|---|
| 62 | </licenses>
|
|---|
| 63 | <organization>
|
|---|
| 64 | <name>JOSM</name>
|
|---|
| 65 | <url>https://josm.openstreetmap.de</url>
|
|---|
| 66 | </organization>
|
|---|
| 67 | <scm>
|
|---|
| 68 | <connection>scm:svn:https://josm.openstreetmap.de/svn/trunk</connection>
|
|---|
| 69 | <url>https://josm.openstreetmap.de/browser/josm/trunk</url>
|
|---|
| 70 | </scm>
|
|---|
| 71 | <issueManagement>
|
|---|
| 72 | <system>Trac</system>
|
|---|
| 73 | <url>https://josm.openstreetmap.de</url>
|
|---|
| 74 | </issueManagement>
|
|---|
| 75 | <mailingLists>
|
|---|
| 76 | <mailingList>
|
|---|
| 77 | <name>josm-dev</name>
|
|---|
| 78 | <archive>https://lists.openstreetmap.org/pipermail/josm-dev/</archive>
|
|---|
| 79 | <post>josm-dev@openstreetmap.org</post>
|
|---|
| 80 | </mailingList>
|
|---|
| 81 | </mailingLists>
|
|---|
| 82 | <modules>
|
|---|
| 83 | <module>../core/nodist/pom.xml</module>
|
|---|
| 84 | <module>AddrInterpolation</module>
|
|---|
| 85 | <module>alignways</module>
|
|---|
| 86 | <module>apache-commons</module>
|
|---|
| 87 | <module>apache-http</module>
|
|---|
| 88 | <module>buildings_tools</module>
|
|---|
| 89 | <module>cadastre-fr</module>
|
|---|
| 90 | <module>canvec_helper</module>
|
|---|
| 91 | <module>colorscheme</module>
|
|---|
| 92 | <module>ColumbusCSV</module>
|
|---|
| 93 | <module>comfort0</module>
|
|---|
| 94 | <module>CommandLine</module>
|
|---|
| 95 | <module>Create_grid_of_ways</module>
|
|---|
| 96 | <module>CustomizePublicTransportStop</module>
|
|---|
| 97 | <module>dataimport</module>
|
|---|
| 98 | <module>DirectDownload</module>
|
|---|
| 99 | <module>DirectUpload</module>
|
|---|
| 100 | <module>editgpx</module>
|
|---|
| 101 | <module>ElevationProfile</module>
|
|---|
| 102 | <module>epci-fr</module>
|
|---|
| 103 | <module>eventbus</module>
|
|---|
| 104 | <module>ext_tools</module>
|
|---|
| 105 | <module>FastDraw</module>
|
|---|
| 106 | <module>FixAddresses</module>
|
|---|
| 107 | <module>flatlaf</module>
|
|---|
| 108 | <module>geochat</module>
|
|---|
| 109 | <module>geotools</module>
|
|---|
| 110 | <module>globalsat</module>
|
|---|
| 111 | <module>gpsblam</module>
|
|---|
| 112 | <module>graphview</module>
|
|---|
| 113 | <module>HouseNumberTaggingTool</module>
|
|---|
| 114 | <module>http2</module>
|
|---|
| 115 | <module>ejml</module>
|
|---|
| 116 | <module>imagery-xml-bounds</module>
|
|---|
| 117 | <module>imagery_cachexport</module>
|
|---|
| 118 | <module>imagery_offset_db</module>
|
|---|
| 119 | <module>ImageWayPoint</module>
|
|---|
| 120 | <module>ImportImagePlugin</module>
|
|---|
| 121 | <module>importvec</module>
|
|---|
| 122 | <module>indoor_sweepline</module>
|
|---|
| 123 | <module>InfoMode</module>
|
|---|
| 124 | <module>jackson</module>
|
|---|
| 125 | <module>jaxb</module>
|
|---|
| 126 | <module>jna</module>
|
|---|
| 127 | <module>jts</module>
|
|---|
| 128 | <module>junctionchecking</module>
|
|---|
| 129 | <module>lwjgl/modules</module>
|
|---|
| 130 | <module>livegps</module>
|
|---|
| 131 | <module>log4j</module>
|
|---|
| 132 | <module>measurement</module>
|
|---|
| 133 | <module>merge-overlap</module>
|
|---|
| 134 | <module>michigan_left</module>
|
|---|
| 135 | <module>namemanager</module>
|
|---|
| 136 | <module>NanoLog</module>
|
|---|
| 137 | <module>native_password_manager</module>
|
|---|
| 138 | <module>o5m</module>
|
|---|
| 139 | <module>opendata/modules</module>
|
|---|
| 140 | <module>OpeningHoursEditor</module>
|
|---|
| 141 | <module>openvisible</module>
|
|---|
| 142 | <module>pbf</module>
|
|---|
| 143 | <module>pdfimport</module>
|
|---|
| 144 | <module>photo_geotagging</module>
|
|---|
| 145 | <module>photoadjust</module>
|
|---|
| 146 | <module>pointInfo</module>
|
|---|
| 147 | <module>poly</module>
|
|---|
| 148 | <module>print</module>
|
|---|
| 149 | <module>public_transport</module>
|
|---|
| 150 | <module>rasterfilters</module>
|
|---|
| 151 | <module>reltoolbox</module>
|
|---|
| 152 | <module>reverter</module>
|
|---|
| 153 | <module>RoadSigns</module>
|
|---|
| 154 | <module>routes</module>
|
|---|
| 155 | <module>routing</module>
|
|---|
| 156 | <module>SaudiNationalAddress</module>
|
|---|
| 157 | <module>sds</module>
|
|---|
| 158 | <module>SeaChart</module>
|
|---|
| 159 | <module>seachartedit</module>
|
|---|
| 160 | <module>SimplifyArea</module>
|
|---|
| 161 | <module>smed</module>
|
|---|
| 162 | <module>splinex</module>
|
|---|
| 163 | <module>surveyor</module>
|
|---|
| 164 | <module>tageditor</module>
|
|---|
| 165 | <module>tagging-preset-tester</module>
|
|---|
| 166 | <module>terracer</module>
|
|---|
| 167 | <module>touchscreenhelper</module>
|
|---|
| 168 | <module>Tracer</module>
|
|---|
| 169 | <module>Tracer2</module>
|
|---|
| 170 | <module>turnlanes</module>
|
|---|
| 171 | <module>turnrestrictions</module>
|
|---|
| 172 | <module>undelete</module>
|
|---|
| 173 | <module>utilsplugin2</module>
|
|---|
| 174 | <module>waydownloader</module>
|
|---|
| 175 | <module>waypoint_search</module>
|
|---|
| 176 | <module>wms-turbo-challenge2</module>
|
|---|
| 177 | </modules>
|
|---|
| 178 | <dependencies>
|
|---|
| 179 | <dependency>
|
|---|
| 180 | <groupId>org.openstreetmap.josm</groupId>
|
|---|
| 181 | <artifactId>josm</artifactId>
|
|---|
| 182 | <version>${plugin.compile.version}</version>
|
|---|
| 183 | <scope>provided</scope>
|
|---|
| 184 | </dependency>
|
|---|
| 185 | <dependency>
|
|---|
| 186 | <groupId>org.openstreetmap.josm</groupId>
|
|---|
| 187 | <artifactId>josm-unittest</artifactId>
|
|---|
| 188 | </dependency>
|
|---|
| 189 | <!-- These are technically done by josm-unittest, but that depends upon the pom for josm-unittest being the pom that we build it with. Which isn't currently the case. -->
|
|---|
| 190 | <dependency>
|
|---|
| 191 | <groupId>org.jmockit</groupId>
|
|---|
| 192 | <artifactId>jmockit</artifactId>
|
|---|
| 193 | <scope>test</scope>
|
|---|
| 194 | </dependency>
|
|---|
| 195 | <dependency>
|
|---|
| 196 | <groupId>com.github.spotbugs</groupId>
|
|---|
| 197 | <artifactId>spotbugs-annotations</artifactId>
|
|---|
| 198 | <scope>test</scope>
|
|---|
| 199 | </dependency>
|
|---|
| 200 | <dependency>
|
|---|
| 201 | <groupId>com.ginsberg</groupId>
|
|---|
| 202 | <artifactId>junit5-system-exit</artifactId>
|
|---|
| 203 | <scope>test</scope>
|
|---|
| 204 | </dependency>
|
|---|
| 205 | <dependency>
|
|---|
| 206 | <groupId>org.wiremock</groupId>
|
|---|
| 207 | <artifactId>wiremock</artifactId>
|
|---|
| 208 | <scope>test</scope>
|
|---|
| 209 | </dependency>
|
|---|
| 210 | <dependency>
|
|---|
| 211 | <groupId>io.github.classgraph</groupId>
|
|---|
| 212 | <artifactId>classgraph</artifactId>
|
|---|
| 213 | <scope>test</scope>
|
|---|
| 214 | </dependency>
|
|---|
| 215 | <dependency>
|
|---|
| 216 | <groupId>org.junit.platform</groupId>
|
|---|
| 217 | <artifactId>junit-platform-launcher</artifactId>
|
|---|
| 218 | <scope>test</scope>
|
|---|
| 219 | </dependency>
|
|---|
| 220 | <dependency>
|
|---|
| 221 | <groupId>org.junit.platform</groupId>
|
|---|
| 222 | <artifactId>junit-platform-suite</artifactId>
|
|---|
| 223 | <scope>test</scope>
|
|---|
| 224 | </dependency>
|
|---|
| 225 | <dependency>
|
|---|
| 226 | <groupId>org.junit.vintage</groupId>
|
|---|
| 227 | <artifactId>junit-vintage-engine</artifactId>
|
|---|
| 228 | <scope>test</scope>
|
|---|
| 229 | </dependency>
|
|---|
| 230 | <dependency>
|
|---|
| 231 | <groupId>org.junit.jupiter</groupId>
|
|---|
| 232 | <artifactId>junit-jupiter-params</artifactId>
|
|---|
| 233 | <scope>test</scope>
|
|---|
| 234 | </dependency>
|
|---|
| 235 | <dependency>
|
|---|
| 236 | <groupId>org.junit.jupiter</groupId>
|
|---|
| 237 | <artifactId>junit-jupiter-api</artifactId>
|
|---|
| 238 | <scope>test</scope>
|
|---|
| 239 | </dependency>
|
|---|
| 240 | <dependency>
|
|---|
| 241 | <groupId>org.junit.jupiter</groupId>
|
|---|
| 242 | <artifactId>junit-jupiter-engine</artifactId>
|
|---|
| 243 | <scope>test</scope>
|
|---|
| 244 | </dependency>
|
|---|
| 245 | <dependency>
|
|---|
| 246 | <groupId>org.junit.jupiter</groupId>
|
|---|
| 247 | <artifactId>junit-jupiter-migrationsupport</artifactId>
|
|---|
| 248 | <scope>test</scope>
|
|---|
| 249 | </dependency>
|
|---|
| 250 | <dependency>
|
|---|
| 251 | <groupId>net.trajano.commons</groupId>
|
|---|
| 252 | <artifactId>commons-testing</artifactId>
|
|---|
| 253 | <scope>test</scope>
|
|---|
| 254 | </dependency>
|
|---|
| 255 | <dependency>
|
|---|
| 256 | <groupId>nl.jqno.equalsverifier</groupId>
|
|---|
| 257 | <artifactId>equalsverifier</artifactId>
|
|---|
| 258 | <scope>test</scope>
|
|---|
| 259 | </dependency>
|
|---|
| 260 | <dependency>
|
|---|
| 261 | <groupId>org.apache.commons</groupId>
|
|---|
| 262 | <artifactId>commons-lang3</artifactId>
|
|---|
| 263 | <scope>test</scope>
|
|---|
| 264 | </dependency>
|
|---|
| 265 | <dependency>
|
|---|
| 266 | <groupId>org.awaitility</groupId>
|
|---|
| 267 | <artifactId>awaitility</artifactId>
|
|---|
| 268 | <scope>test</scope>
|
|---|
| 269 | </dependency>
|
|---|
| 270 | </dependencies>
|
|---|
| 271 | <dependencyManagement>
|
|---|
| 272 | <dependencies>
|
|---|
| 273 | <dependency>
|
|---|
| 274 | <groupId>org.openstreetmap.josm</groupId>
|
|---|
| 275 | <artifactId>josm-unittest</artifactId>
|
|---|
| 276 | <version>1.5-SNAPSHOT</version>
|
|---|
| 277 | <scope>test</scope>
|
|---|
| 278 | </dependency>
|
|---|
| 279 | </dependencies>
|
|---|
| 280 | </dependencyManagement>
|
|---|
| 281 | <build>
|
|---|
| 282 | <sourceDirectory>${plugin.src.dir}</sourceDirectory>
|
|---|
| 283 | <testSourceDirectory>${plugin.test.src.dir}</testSourceDirectory>
|
|---|
| 284 | <resources>
|
|---|
| 285 | <resource>
|
|---|
| 286 | <directory>${plugin.resources.dir}/data</directory>
|
|---|
| 287 | <targetPath>data</targetPath>
|
|---|
| 288 | </resource>
|
|---|
| 289 | <resource>
|
|---|
| 290 | <directory>${plugin.resources.dir}/images</directory>
|
|---|
| 291 | <targetPath>images</targetPath>
|
|---|
| 292 | </resource>
|
|---|
| 293 | <resource>
|
|---|
| 294 | <directory>${plugin.resources.dir}/resources</directory>
|
|---|
| 295 | <targetPath>resources</targetPath>
|
|---|
| 296 | </resource>
|
|---|
| 297 | </resources>
|
|---|
| 298 | <testResources>
|
|---|
| 299 | <testResource>
|
|---|
| 300 | <directory>${plugin.test.data.dir}</directory>
|
|---|
| 301 | </testResource>
|
|---|
| 302 | </testResources>
|
|---|
| 303 | <plugins>
|
|---|
| 304 | <plugin>
|
|---|
| 305 | <groupId>org.apache.maven.plugins</groupId>
|
|---|
| 306 | <artifactId>maven-shade-plugin</artifactId>
|
|---|
| 307 | </plugin>
|
|---|
| 308 | </plugins>
|
|---|
| 309 | <pluginManagement>
|
|---|
| 310 | <plugins>
|
|---|
| 311 | <!-- Configure checkstyle/pmd/other lint plugins -->
|
|---|
| 312 | <plugin>
|
|---|
| 313 | <groupId>com.github.spotbugs</groupId>
|
|---|
| 314 | <artifactId>spotbugs-maven-plugin</artifactId>
|
|---|
| 315 | <version>4.8.1.0</version>
|
|---|
| 316 | <configuration>
|
|---|
| 317 | <xmlOutput>true</xmlOutput>
|
|---|
| 318 | <spotbugsXmlOutputFilename>spotbugs-josm.xml</spotbugsXmlOutputFilename>
|
|---|
| 319 | <effort>max</effort>
|
|---|
| 320 | <excludeFilterFile>${spotbugs.dir}/josm-filter.xml</excludeFilterFile>
|
|---|
| 321 | <onlyAnalyze>org.openstreetmap.josm.-</onlyAnalyze>
|
|---|
| 322 | <threshold>LOW</threshold>
|
|---|
| 323 | </configuration>
|
|---|
| 324 | <!-- This is commented out until all the current bugs are fixed. TODO uncomment!
|
|---|
| 325 | <executions>
|
|---|
| 326 | <execution>
|
|---|
| 327 | <id>validate</id>
|
|---|
| 328 | <phase>validate</phase>
|
|---|
| 329 | <goals>
|
|---|
| 330 | <goal>check</goal>
|
|---|
| 331 | </goals>
|
|---|
| 332 | </execution>
|
|---|
| 333 | </executions>
|
|---|
| 334 | -->
|
|---|
| 335 | </plugin>
|
|---|
| 336 | <plugin>
|
|---|
| 337 | <groupId>org.apache.maven.plugins</groupId>
|
|---|
| 338 | <artifactId>maven-checkstyle-plugin</artifactId>
|
|---|
| 339 | <version>3.3.1</version>
|
|---|
| 340 | <configuration>
|
|---|
| 341 | <configLocation>${project.basedir}/../checkstyle-config.xml</configLocation>
|
|---|
| 342 | <includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|---|
| 343 | <outputFile>${project.basedir}/checkstyle-josm-${project.name}.xml</outputFile>
|
|---|
| 344 | <!-- checkstyle cannot parse module-info.java yet -->
|
|---|
| 345 | <excludes>module-info.java</excludes>
|
|---|
| 346 | </configuration>
|
|---|
| 347 | <executions>
|
|---|
| 348 | <execution>
|
|---|
| 349 | <id>validate</id>
|
|---|
| 350 | <phase>validate</phase>
|
|---|
| 351 | <goals>
|
|---|
| 352 | <goal>check</goal>
|
|---|
| 353 | </goals>
|
|---|
| 354 | </execution>
|
|---|
| 355 | </executions>
|
|---|
| 356 | </plugin>
|
|---|
| 357 | <!-- Configure the test plugin, specifically enable autodetection of global extensions -->
|
|---|
| 358 | <plugin>
|
|---|
| 359 | <artifactId>maven-surefire-plugin</artifactId>
|
|---|
| 360 | <version>3.2.5</version>
|
|---|
| 361 | <configuration>
|
|---|
| 362 | <skipAfterFailureCount>1</skipAfterFailureCount>
|
|---|
| 363 | <argLine>-javaagent:"${settings.localRepository}"/org/jmockit/jmockit/${jmockit.version}/jmockit-${jmockit.version}.jar</argLine>
|
|---|
| 364 | <properties>
|
|---|
| 365 | <configurationParameters>
|
|---|
| 366 | file.encoding = UTF-8
|
|---|
| 367 | java.locale.providers = SPI,CLDR
|
|---|
| 368 | junit.jupiter.extensions.autodetection.enabled = true
|
|---|
| 369 | junit.jupiter.execution.parallel.enabled = true
|
|---|
| 370 | </configurationParameters>
|
|---|
| 371 | </properties>
|
|---|
| 372 | <systemPropertyVariables>
|
|---|
| 373 | <josm.home>${plugin.test.dir}/config/josm.home</josm.home>
|
|---|
| 374 | <josm.test.data>${plugin.test.data.dir}</josm.test.data>
|
|---|
| 375 | <java.awt.headless>${test.headless}</java.awt.headless>
|
|---|
| 376 | <glass.platform>Monocle</glass.platform>
|
|---|
| 377 | <monocle.platform>Headless</monocle.platform>
|
|---|
| 378 | <prism.order>sw</prism.order>
|
|---|
| 379 | </systemPropertyVariables>
|
|---|
| 380 | </configuration>
|
|---|
| 381 | </plugin>
|
|---|
| 382 | <!-- the clean plugin is needed since we currently store generated sources in the source directory -->
|
|---|
| 383 | <plugin>
|
|---|
| 384 | <groupId>org.apache.maven.plugins</groupId>
|
|---|
| 385 | <artifactId>maven-clean-plugin</artifactId>
|
|---|
| 386 | <version>3.3.2</version>
|
|---|
| 387 | <configuration>
|
|---|
| 388 | <filesets>
|
|---|
| 389 | <fileset>
|
|---|
| 390 | <directory>${plugin.build.dir}</directory>
|
|---|
| 391 | </fileset>
|
|---|
| 392 | <fileset>
|
|---|
| 393 | <directory>${plugin.dist.dir}</directory>
|
|---|
| 394 | <includes>
|
|---|
| 395 | <include>${plugin.jar}</include>
|
|---|
| 396 | <include>${plugin.unixoid.jar}</include>
|
|---|
| 397 | <include>${plugin.windows.jar}</include>
|
|---|
| 398 | <include>${plugin.osx.jar}</include>
|
|---|
| 399 | <include>${plugin.sources.jar}</include>
|
|---|
| 400 | <include>${plugin.javadoc.jar}</include>
|
|---|
| 401 | </includes>
|
|---|
| 402 | </fileset>
|
|---|
| 403 | <fileset>
|
|---|
| 404 | <directory>${project.basedir}</directory>
|
|---|
| 405 | <includes>
|
|---|
| 406 | <include>checkstyle-josm-${project.name}.xml</include>
|
|---|
| 407 | </includes>
|
|---|
| 408 | </fileset>
|
|---|
| 409 | </filesets>
|
|---|
| 410 | </configuration>
|
|---|
| 411 | </plugin>
|
|---|
| 412 | <plugin>
|
|---|
| 413 | <groupId>com.diffplug.spotless</groupId>
|
|---|
| 414 | <artifactId>spotless-maven-plugin</artifactId>
|
|---|
| 415 | <version>2.43.0</version>
|
|---|
| 416 | <configuration>
|
|---|
| 417 | <java>
|
|---|
| 418 | <eclipse>
|
|---|
| 419 | <version>4.21.0</version>
|
|---|
| 420 | <file>${project.basedir}/../00_core_tools/eclipse/formatter.xml</file>
|
|---|
| 421 | </eclipse>
|
|---|
| 422 | <removeUnusedImports/>
|
|---|
| 423 | <licenseHeader>
|
|---|
| 424 | <content>// License: GPL. For details, see LICENSE file.</content>
|
|---|
| 425 | </licenseHeader>
|
|---|
| 426 | </java>
|
|---|
| 427 | </configuration>
|
|---|
| 428 | <executions>
|
|---|
| 429 | <execution>
|
|---|
| 430 | <goals>
|
|---|
| 431 | <goal>check</goal>
|
|---|
| 432 | </goals>
|
|---|
| 433 | </execution>
|
|---|
| 434 | </executions>
|
|---|
| 435 | </plugin>
|
|---|
| 436 | <!-- Used to merge compile dependencies into jars -->
|
|---|
| 437 | <plugin>
|
|---|
| 438 | <groupId>org.apache.maven.plugins</groupId>
|
|---|
| 439 | <artifactId>maven-shade-plugin</artifactId>
|
|---|
| 440 | <version>3.5.3</version>
|
|---|
| 441 | <executions>
|
|---|
| 442 | <execution>
|
|---|
| 443 | <phase>package</phase>
|
|---|
| 444 | <goals>
|
|---|
| 445 | <goal>shade</goal>
|
|---|
| 446 | </goals>
|
|---|
| 447 | <configuration>
|
|---|
| 448 | <outputDirectory>${plugin.dist.dir}</outputDirectory>
|
|---|
| 449 | <finalName>${project.name}</finalName>
|
|---|
| 450 | </configuration>
|
|---|
| 451 | </execution>
|
|---|
| 452 | </executions>
|
|---|
| 453 | </plugin>
|
|---|
| 454 | <!-- Used to share properties between maven, gradle, and ant, where there is a gradle.properties file -->
|
|---|
| 455 | <plugin>
|
|---|
| 456 | <groupId>org.codehaus.mojo</groupId>
|
|---|
| 457 | <artifactId>properties-maven-plugin</artifactId>
|
|---|
| 458 | <version>1.2.1</version>
|
|---|
| 459 | <executions>
|
|---|
| 460 | <execution>
|
|---|
| 461 | <phase>initialize</phase>
|
|---|
| 462 | <goals>
|
|---|
| 463 | <goal>read-project-properties</goal>
|
|---|
| 464 | </goals>
|
|---|
| 465 | <configuration>
|
|---|
| 466 | <files>
|
|---|
| 467 | <file>gradle.properties</file>
|
|---|
| 468 | </files>
|
|---|
| 469 | </configuration>
|
|---|
| 470 | </execution>
|
|---|
| 471 | </executions>
|
|---|
| 472 | </plugin>
|
|---|
| 473 | <plugin>
|
|---|
| 474 | <groupId>org.apache.maven.plugins</groupId>
|
|---|
| 475 | <artifactId>maven-jar-plugin</artifactId>
|
|---|
| 476 | <configuration>
|
|---|
| 477 | <archive>
|
|---|
| 478 | <manifestEntries>
|
|---|
| 479 | <!-- For full documentation, see https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins#ThemanifestfileforaJOSMplugin -->
|
|---|
| 480 | <Plugin-Mainversion>${plugin.main.version}</Plugin-Mainversion>
|
|---|
| 481 | <Plugin-Version>${plugin.version}</Plugin-Version>
|
|---|
| 482 | <Plugin-Class>${plugin.class}</Plugin-Class>
|
|---|
| 483 | <Plugin-Description>${plugin.description}</Plugin-Description>
|
|---|
| 484 | <!-- These are optional, but are either added almost all the time or can be auto generated -->
|
|---|
| 485 | <Plugin-Date>${maven.build.timestamp}</Plugin-Date>
|
|---|
| 486 | <Author>${plugin.author}</Author>
|
|---|
| 487 | <!-- These are optional and/or uncommon -->
|
|---|
| 488 | <!-- plugin.platform must be `Windows`, `Osx`, or `Unixoid` -->
|
|---|
| 489 | <!--
|
|---|
| 490 | <Plugin-Platform>${plugin.platform}</Plugin-Platform>
|
|---|
| 491 | <Plugin-Provides>${plugin.provides}</Plugin-Provides>
|
|---|
| 492 | <Plugin-Minimum-Java-Version>${plugin.minimum.java.version}</Plugin-Minimum-Java-Version>
|
|---|
| 493 | <Plugin-Early>${plugin.early}</Plugin-Early>
|
|---|
| 494 | <Plugin-Link>${plugin.link}</Plugin-Link>
|
|---|
| 495 | <Plugin-Icon>${plugin.icon}</Plugin-Icon>
|
|---|
| 496 | <Plugin-Stage>${plugin.stage}</Plugin-Stage>
|
|---|
| 497 | <Plugin-Requires>${plugin.requires}</Plugin-Requires>
|
|---|
| 498 | <Plugin-Canloadatruntime>${plugin.canloadatruntime}</Plugin-Canloadatruntime>
|
|---|
| 499 | <Class-Path>${plugin.classpath}</Class-Path>
|
|---|
| 500 | -->
|
|---|
| 501 | <!-- Additional entries: <xxx>_Plugin-Url (doesn't work well with xml) and <lang>_Plugin_Description -->
|
|---|
| 502 | </manifestEntries>
|
|---|
| 503 | </archive>
|
|---|
| 504 | </configuration>
|
|---|
| 505 | </plugin>
|
|---|
| 506 | <!-- For any jaxb plugins -->
|
|---|
| 507 | <plugin>
|
|---|
| 508 | <groupId>org.codehaus.mojo</groupId>
|
|---|
| 509 | <artifactId>jaxb2-maven-plugin</artifactId>
|
|---|
| 510 | <version>2.5.0</version>
|
|---|
| 511 | </plugin>
|
|---|
| 512 | </plugins>
|
|---|
| 513 | </pluginManagement>
|
|---|
| 514 | </build>
|
|---|
| 515 | <profiles>
|
|---|
| 516 | <profile>
|
|---|
| 517 | <!-- This profile is needed to avoid trying to install a non-jar file -->
|
|---|
| 518 | <id>not-pom-packaging</id>
|
|---|
| 519 | <activation>
|
|---|
| 520 | <property>
|
|---|
| 521 | <name>packaging</name>
|
|---|
| 522 | <value>!pom</value>
|
|---|
| 523 | </property>
|
|---|
| 524 | </activation>
|
|---|
| 525 | <build>
|
|---|
| 526 | <pluginManagement>
|
|---|
| 527 | <plugins>
|
|---|
| 528 | <plugin>
|
|---|
| 529 | <groupId>org.apache.maven.plugins</groupId>
|
|---|
| 530 | <artifactId>maven-install-plugin</artifactId>
|
|---|
| 531 | <version>3.1.1</version>
|
|---|
| 532 | <executions>
|
|---|
| 533 | <execution>
|
|---|
| 534 | <id>dist-install</id>
|
|---|
| 535 | <phase>install</phase>
|
|---|
| 536 | <goals>
|
|---|
| 537 | <goal>install-file</goal>
|
|---|
| 538 | </goals>
|
|---|
| 539 | <configuration>
|
|---|
| 540 | <file>${plugin.dist.dir}/${project.name}.jar</file>
|
|---|
| 541 | <artifactId>${project.artifactId}</artifactId>
|
|---|
| 542 | <groupId>${project.groupId}</groupId>
|
|---|
| 543 | <version>${project.version}</version>
|
|---|
| 544 | <packaging>${project.packaging}</packaging>
|
|---|
| 545 | </configuration>
|
|---|
| 546 | </execution>
|
|---|
| 547 | </executions>
|
|---|
| 548 | </plugin>
|
|---|
| 549 | </plugins>
|
|---|
| 550 | </pluginManagement>
|
|---|
| 551 | </build>
|
|---|
| 552 | </profile>
|
|---|
| 553 | <profile>
|
|---|
| 554 | <id>java-21-plugins</id>
|
|---|
| 555 | <activation>
|
|---|
| 556 | <jdk>[21,]</jdk>
|
|---|
| 557 | </activation>
|
|---|
| 558 | <modules>
|
|---|
| 559 | <module>FIT</module>
|
|---|
| 560 | <module>MicrosoftStreetside</module>
|
|---|
| 561 | </modules>
|
|---|
| 562 | </profile>
|
|---|
| 563 | <profile>
|
|---|
| 564 | <id>java-17-plugins</id>
|
|---|
| 565 | <activation>
|
|---|
| 566 | <jdk>[17,]</jdk>
|
|---|
| 567 | </activation>
|
|---|
| 568 | <modules>
|
|---|
| 569 | <module>javafx</module>
|
|---|
| 570 | <module>ImageIO</module>
|
|---|
| 571 | <module>pmtiles</module>
|
|---|
| 572 | </modules>
|
|---|
| 573 | </profile>
|
|---|
| 574 | <profile>
|
|---|
| 575 | <id>areaselector</id>
|
|---|
| 576 | <activation><file><exists>areaselector/pom.xml</exists></file></activation>
|
|---|
| 577 | <modules><module>areaselector</module></modules>
|
|---|
| 578 | </profile>
|
|---|
| 579 | <profile>
|
|---|
| 580 | <id>austriaaddresshelper</id>
|
|---|
| 581 | <activation><file><exists>austriaaddresshelper/pom.xml</exists></file></activation>
|
|---|
| 582 | <modules><module>austriaaddresshelper</module></modules>
|
|---|
| 583 | </profile>
|
|---|
| 584 | <profile>
|
|---|
| 585 | <id>auto-tools</id>
|
|---|
| 586 | <activation><file><exists>auto-tools/pom.xml</exists></file></activation>
|
|---|
| 587 | <modules><module>auto-tools</module></modules>
|
|---|
| 588 | </profile>
|
|---|
| 589 | <profile>
|
|---|
| 590 | <id>Building-Generalization</id>
|
|---|
| 591 | <activation><file><exists>Building-Generalization/pom.xml</exists></file></activation>
|
|---|
| 592 | <modules><module>Building-Generalization</module></modules>
|
|---|
| 593 | </profile>
|
|---|
| 594 | <profile>
|
|---|
| 595 | <id>changeset-viewer</id>
|
|---|
| 596 | <activation><file><exists>changeset-viewer/pom.xml</exists></file></activation>
|
|---|
| 597 | <modules><module>changeset-viewer</module></modules>
|
|---|
| 598 | </profile>
|
|---|
| 599 | <profile>
|
|---|
| 600 | <id>Color</id>
|
|---|
| 601 | <activation><file><exists>Color/pom.xml</exists></file></activation>
|
|---|
| 602 | <modules><module>Color</module></modules>
|
|---|
| 603 | </profile>
|
|---|
| 604 | <profile>
|
|---|
| 605 | <id>configuration</id>
|
|---|
| 606 | <activation><file><exists>configuration/pom.xml</exists></file></activation>
|
|---|
| 607 | <modules><module>configuration</module></modules>
|
|---|
| 608 | </profile>
|
|---|
| 609 | <profile>
|
|---|
| 610 | <id>conflation</id>
|
|---|
| 611 | <activation><file><exists>conflation/pom.xml</exists></file></activation>
|
|---|
| 612 | <modules><module>conflation</module></modules>
|
|---|
| 613 | </profile>
|
|---|
| 614 | <profile>
|
|---|
| 615 | <id>continuos-download</id>
|
|---|
| 616 | <activation><file><exists>continuos-download/pom.xml</exists></file></activation>
|
|---|
| 617 | <modules><module>continuos-download</module></modules>
|
|---|
| 618 | </profile>
|
|---|
| 619 | <profile>
|
|---|
| 620 | <id>Dxf-Import</id>
|
|---|
| 621 | <activation><file><exists>Dxf-Import/pom.xml</exists></file></activation>
|
|---|
| 622 | <modules><module>Dxf-Import</module></modules>
|
|---|
| 623 | </profile>
|
|---|
| 624 | <profile>
|
|---|
| 625 | <id>gridify</id>
|
|---|
| 626 | <activation><file><exists>gridify/pom.xml</exists></file></activation>
|
|---|
| 627 | <modules><module>gridify</module></modules>
|
|---|
| 628 | </profile>
|
|---|
| 629 | <profile>
|
|---|
| 630 | <id>improve-way</id>
|
|---|
| 631 | <activation><file><exists>improve-way/pom.xml</exists></file></activation>
|
|---|
| 632 | <modules><module>improve-way</module></modules>
|
|---|
| 633 | </profile>
|
|---|
| 634 | <profile>
|
|---|
| 635 | <id>indoorhelper</id>
|
|---|
| 636 | <activation><file><exists>indoorhelper/pom.xml</exists></file></activation>
|
|---|
| 637 | <modules><module>indoorhelper</module></modules>
|
|---|
| 638 | </profile>
|
|---|
| 639 | <profile>
|
|---|
| 640 | <id>kartverketimport</id>
|
|---|
| 641 | <activation><file><exists>kartverketimport/pom.xml</exists></file></activation>
|
|---|
| 642 | <modules><module>kartverketimport</module></modules>
|
|---|
| 643 | </profile>
|
|---|
| 644 | <profile>
|
|---|
| 645 | <id>kendzi3d</id>
|
|---|
| 646 | <activation><file><exists>kendzi3d/pom.xml</exists></file></activation>
|
|---|
| 647 | <modules><module>kendzi3d</module></modules>
|
|---|
| 648 | </profile>
|
|---|
| 649 | <profile>
|
|---|
| 650 | <id>Mapillary</id>
|
|---|
| 651 | <activation><file><exists>Mapillary/pom.xml</exists></file><jdk>[17,]</jdk></activation>
|
|---|
| 652 | <modules><module>Mapillary</module></modules>
|
|---|
| 653 | </profile>
|
|---|
| 654 | <profile>
|
|---|
| 655 | <id>MapRoulette</id>
|
|---|
| 656 | <activation><file><exists>MapRoulette/pom.xml</exists></file><jdk>[17,]</jdk></activation>
|
|---|
| 657 | <modules><module>MapRoulette</module></modules>
|
|---|
| 658 | </profile>
|
|---|
| 659 | <profile>
|
|---|
| 660 | <id>markseen</id>
|
|---|
| 661 | <activation><file><exists>markseen/pom.xml</exists></file></activation>
|
|---|
| 662 | <modules><module>markseen</module></modules>
|
|---|
| 663 | </profile>
|
|---|
| 664 | <profile>
|
|---|
| 665 | <id>osm-obj-info</id>
|
|---|
| 666 | <activation><file><exists>osm-obj-info/pom.xml</exists></file></activation>
|
|---|
| 667 | <modules><module>osm-obj-info</module></modules>
|
|---|
| 668 | </profile>
|
|---|
| 669 | <profile>
|
|---|
| 670 | <id>PicLayer</id>
|
|---|
| 671 | <activation><file><exists>PicLayer/pom.xml</exists></file></activation>
|
|---|
| 672 | <modules><module>PicLayer</module></modules>
|
|---|
| 673 | </profile>
|
|---|
| 674 | <profile>
|
|---|
| 675 | <id>pt_assistant</id>
|
|---|
| 676 | <activation><file><exists>pt_assistant/pom.xml</exists></file><jdk>[17,]</jdk></activation>
|
|---|
| 677 | <modules><module>pt_assistant</module></modules>
|
|---|
| 678 | </profile>
|
|---|
| 679 | <profile>
|
|---|
| 680 | <id>rex</id>
|
|---|
| 681 | <activation><file><exists>rex/pom.xml</exists></file></activation>
|
|---|
| 682 | <modules><module>rex</module></modules>
|
|---|
| 683 | </profile>
|
|---|
| 684 | <profile>
|
|---|
| 685 | <id>ShapeTools</id>
|
|---|
| 686 | <activation><file><exists>ShapeTools/pom.xml</exists></file></activation>
|
|---|
| 687 | <modules><module>ShapeTools</module></modules>
|
|---|
| 688 | </profile>
|
|---|
| 689 | <profile>
|
|---|
| 690 | <id>todo</id>
|
|---|
| 691 | <activation><file><exists>todo/pom.xml</exists></file><jdk>[17,]</jdk></activation>
|
|---|
| 692 | <modules><module>todo</module></modules>
|
|---|
| 693 | </profile>
|
|---|
| 694 | <profile>
|
|---|
| 695 | <id>turnlanes-tagging</id>
|
|---|
| 696 | <activation><file><exists>turnlanes-tagging/pom.xml</exists></file></activation>
|
|---|
| 697 | <modules><module>turnlanes-tagging</module></modules>
|
|---|
| 698 | </profile>
|
|---|
| 699 | <profile>
|
|---|
| 700 | <id>validations_testing</id>
|
|---|
| 701 | <activation><file><exists>validations_testing/pom.xml</exists></file></activation>
|
|---|
| 702 | <modules><module>validations_testing</module></modules>
|
|---|
| 703 | </profile>
|
|---|
| 704 | <profile>
|
|---|
| 705 | <id>wikipedia</id>
|
|---|
| 706 | <activation><file><exists>wikipedia/pom.xml</exists></file></activation>
|
|---|
| 707 | <modules><module>wikipedia</module></modules>
|
|---|
| 708 | </profile>
|
|---|
| 709 | </profiles>
|
|---|
| 710 | </project>
|
|---|