planetiler/pom.xml

459 wiersze
14 KiB
XML

2021-04-06 00:33:54 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.onthegomap.planetiler</groupId>
<artifactId>planetiler-parent</artifactId>
2022-09-22 22:02:39 +00:00
<version>${revision}</version>
2021-06-07 11:46:03 +00:00
<packaging>pom</packaging>
2021-04-06 00:33:54 +00:00
<name>Planetiler Parent</name>
<description>
Super pom of the Planetiler tool for building planet-scale vector tilesets from OpenStreetMap data fast.
</description>
<url>https://github.com/onthegomap/planetiler</url>
2021-10-20 01:57:47 +00:00
2021-04-06 00:33:54 +00:00
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2023-10-26 10:30:45 +00:00
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
2021-10-20 01:57:47 +00:00
<maven.source.excludeResources>true</maven.source.excludeResources>
<jackson.version>2.17.0</jackson.version>
<junit.version>5.10.2</junit.version>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.organization>onthegomap</sonar.organization>
<sonar.projectKey>onthegomap_planetiler</sonar.projectKey>
<sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
2022-07-29 12:31:26 +00:00
<sonar.exclusions>planetiler-benchmarks/**/*, planetiler-openmaptiles/**/*</sonar.exclusions>
2023-10-01 16:32:41 +00:00
<revision>0.7-SNAPSHOT</revision>
2022-11-26 11:59:13 +00:00
<timestamp>${maven.build.timestamp}</timestamp>
2021-04-06 00:33:54 +00:00
</properties>
<scm>
<connection>scm:git:git@github.com:onthegomap/planetiler.git</connection>
<developerConnection>scm:git:git@github.com:onthegomap/planetiler.git</developerConnection>
<url>git@github.com:onthegomap/planetiler.git</url>
2021-04-06 00:33:54 +00:00
</scm>
2021-10-20 01:57:47 +00:00
<issueManagement>
<url>https://github.com/onthegomap/planetiler/issues</url>
2021-10-20 01:57:47 +00:00
<system>GitHub Issues</system>
</issueManagement>
2021-09-21 10:43:49 +00:00
<licenses>
<license>
<name>Apache License, Version 2.0</name>
2021-10-20 01:57:47 +00:00
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
2021-09-21 10:43:49 +00:00
</license>
</licenses>
2021-10-20 01:57:47 +00:00
<developers>
<developer>
<id>msbarry</id>
<name>Michael Barry</name>
<url>https://github.com/msbarry</url>
</developer>
</developers>
2021-04-06 00:33:54 +00:00
<repositories>
<repository>
<id>osgeo</id>
<name>OSGeo Release Repository</name>
<url>https://repo.osgeo.org/repository/release/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
2021-10-20 01:57:47 +00:00
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
2021-10-20 01:57:47 +00:00
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
2021-10-20 01:57:47 +00:00
</repository>
</distributionManagement>
2021-06-07 11:46:03 +00:00
<modules>
<module>planetiler-core</module>
2024-03-04 10:58:58 +00:00
<!-- TODO replace with planetiler-openmaptiles/submodule.pom.xml when this is fixed: https://github.com/dependabot/dependabot-core/issues/9193 -->
<module>planetiler-openmaptiles.pom.xml</module>
<module>planetiler-custommap</module>
<module>planetiler-benchmarks</module>
<module>planetiler-examples</module>
<module>planetiler-dist</module>
2021-06-07 11:46:03 +00:00
</modules>
2021-04-06 00:33:54 +00:00
2021-06-11 01:15:27 +00:00
<dependencyManagement>
<dependencies>
2022-09-23 10:49:09 +00:00
<dependency>
<groupId>org.snakeyaml</groupId>
<artifactId>snakeyaml-engine</artifactId>
<version>2.7</version>
2022-09-23 10:49:09 +00:00
</dependency>
<dependency>
<groupId>org.commonmark</groupId>
<artifactId>commonmark</artifactId>
<version>0.22.0</version>
</dependency>
2021-06-11 01:15:27 +00:00
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>5.11.0</version>
2021-06-11 01:15:27 +00:00
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
2021-04-06 00:33:54 +00:00
<build>
<plugins>
2022-11-26 11:59:13 +00:00
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>3.2.0</version>
2022-11-26 11:59:13 +00:00
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>2.43.0</version>
<configuration>
<java>
2023-10-26 11:07:34 +00:00
<includes>
<include>*.java</include>
</includes>
<excludes>
<exclude>planetiler-openmaptiles/**/*.java</exclude>
</excludes>
<importOrder/>
<removeUnusedImports/>
<eclipse>
2023-10-26 11:07:34 +00:00
<version>4.29</version>
<!--suppress UnresolvedMavenProperty -->
<file>${maven.multiModuleProjectDirectory}/eclipse-formatter.xml</file>
</eclipse>
</java>
<markdown>
<includes>
<include>**/*.md</include>
</includes>
<excludes>
<exclude>**/target/**</exclude>
2022-08-02 11:20:49 +00:00
<exclude>planetiler-openmaptiles/**</exclude>
</excludes>
<flexmark/>
</markdown>
</configuration>
<!-- bind to "mvn verify" -->
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
2023-10-26 10:30:45 +00:00
<!-- require building with jdk 21 -->
2021-04-06 00:33:54 +00:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.4.1</version>
2021-04-06 00:33:54 +00:00
<executions>
<execution>
<id>enforce-java</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
2023-10-26 10:30:45 +00:00
<version>21</version>
2021-04-06 00:33:54 +00:00
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
2022-05-09 01:12:31 +00:00
<!-- by default surefire excludes tests on nested classes https://github.com/junit-team/junit5/issues/1377 -->
<configuration>
<excludes>
<exclude/>
</excludes>
</configuration>
2021-04-06 00:33:54 +00:00
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.2.5</version>
2021-10-20 01:57:47 +00:00
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.1</version>
2021-04-06 00:33:54 +00:00
</plugin>
2023-10-26 10:30:45 +00:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
2023-10-26 10:30:45 +00:00
<configuration>
<compilerArgs>
<arg>-proc:full</arg>
</compilerArgs>
</configuration>
</plugin>
2021-04-06 00:33:54 +00:00
</plugins>
2023-10-26 11:07:34 +00:00
2021-10-20 01:57:47 +00:00
<pluginManagement>
<plugins>
<plugin>
<groupId>io.github.zlika</groupId>
<artifactId>reproducible-build-maven-plugin</artifactId>
<version>0.16</version>
2021-10-20 01:57:47 +00:00
<executions>
<execution>
<id>run-when-packaged</id>
<goals>
<goal>strip-jar</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>3.4.2</version>
2021-10-20 01:57:47 +00:00
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
2021-10-20 01:57:47 +00:00
<configuration>
<quiet>true</quiet>
<doclint>-missing</doclint>
<failOnWarnings>true</failOnWarnings>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>verify</phase>
2021-10-20 01:57:47 +00:00
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
2021-10-20 01:57:47 +00:00
<executions>
<execution>
<id>attach-sources</id>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
<goal>test-jar-no-fork</goal>
2021-10-20 01:57:47 +00:00
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>3.11.0.3922</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.12</version>
</plugin>
2021-10-20 01:57:47 +00:00
</plugins>
</pluginManagement>
2021-04-16 11:13:05 +00:00
<testResources>
<testResource>
<directory>src/test/resources</directory>
<filtering>true</filtering>
</testResource>
</testResources>
2021-04-06 00:33:54 +00:00
</build>
2021-10-20 01:57:47 +00:00
<profiles>
<profile>
<id>coverage</id>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
2021-10-20 01:57:47 +00:00
<profile>
<id>release</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
2022-03-31 11:20:07 +00:00
<artifactId>maven-javadoc-plugin</artifactId>
2021-10-20 01:57:47 +00:00
<executions>
<execution>
2022-03-31 11:20:07 +00:00
<id>attach-javadocs</id>
2021-10-20 01:57:47 +00:00
<goals>
2022-03-31 11:20:07 +00:00
<goal>jar</goal>
2021-10-20 01:57:47 +00:00
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
2022-03-31 11:20:07 +00:00
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.3</version>
2021-10-20 01:57:47 +00:00
<executions>
<execution>
2022-03-31 11:20:07 +00:00
<id>sign-artifacts</id>
<phase>verify</phase>
2021-10-20 01:57:47 +00:00
<goals>
2022-03-31 11:20:07 +00:00
<goal>sign</goal>
2021-10-20 01:57:47 +00:00
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
<goal>test-jar-no-fork</goal>
2021-10-20 01:57:47 +00:00
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
2022-09-23 01:43:33 +00:00
<profile>
<id>flatten</id>
<build>
<plugins>
<!-- flatten anywhere we do <version>${revision}</version>, see https://maven.apache.org/maven-ci-friendly.html -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.6.0</version>
2022-09-23 01:43:33 +00:00
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
2021-10-20 01:57:47 +00:00
</profiles>
2021-04-06 00:33:54 +00:00
</project>