mirror of
https://github.com/opentripplanner/OpenTripPlanner.git
synced 2025-02-22 23:24:12 +01:00

Restore debug raster tiles as a sandbox feature, and add safety and vertex elevation text debug layers
506 lines
19 KiB
XML
506 lines
19 KiB
XML
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.opentripplanner</groupId>
|
|
<artifactId>otp-root</artifactId>
|
|
<version>2.7.0-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>application</artifactId>
|
|
<name>OpenTripPlanner - Application</name>
|
|
|
|
<dependencies>
|
|
<!-- project dependencies -->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>gtfs-realtime-protobuf</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>utils</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>raptor</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 3rd party dependencies -->
|
|
<dependency>
|
|
<groupId>net.sf.trove4j</groupId>
|
|
<artifactId>trove4j</artifactId>
|
|
</dependency>
|
|
<!-- Logging API -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
<!-- Jersey uses java.util logging, redirect it to slf4j API (we use the Logback implementation) -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jul-to-slf4j</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
<!-- Logging library, implements slf4j logging API -->
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>${logback.version}</version>
|
|
</dependency>
|
|
<!-- JSON-formatted logging -->
|
|
<dependency>
|
|
<groupId>net.logstash.logback</groupId>
|
|
<artifactId>logstash-logback-encoder</artifactId>
|
|
<version>8.0</version>
|
|
</dependency>
|
|
|
|
<!-- dependency injection -->
|
|
<dependency>
|
|
<groupId>com.google.dagger</groupId>
|
|
<artifactId>dagger</artifactId>
|
|
<version>${google.dagger.version}</version>
|
|
</dependency>
|
|
|
|
<!-- GEOTOOLS -->
|
|
|
|
<dependency>
|
|
<groupId>org.geotools</groupId>
|
|
<artifactId>gt-coverage</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.geotools</groupId>
|
|
<artifactId>gt-geotiff</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.geotools</groupId>
|
|
<artifactId>gt-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.geotools</groupId>
|
|
<artifactId>gt-geojson-core</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Lucene is used by the Debug Client Geocode API -->
|
|
<dependency>
|
|
<groupId>org.apache.lucene</groupId>
|
|
<artifactId>lucene-core</artifactId>
|
|
<version>${lucene.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.lucene</groupId>
|
|
<artifactId>lucene-queryparser</artifactId>
|
|
<version>${lucene.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.lucene</groupId>
|
|
<artifactId>lucene-suggest</artifactId>
|
|
<version>${lucene.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.micrometer</groupId>
|
|
<artifactId>micrometer-registry-prometheus</artifactId>
|
|
<version>${micrometer.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.micrometer</groupId>
|
|
<artifactId>micrometer-registry-influx</artifactId>
|
|
<version>${micrometer.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- netcdf4 -->
|
|
|
|
<dependency>
|
|
<groupId>edu.ucar</groupId>
|
|
<artifactId>netcdf4</artifactId>
|
|
<version>${netcdf4.version}</version>
|
|
</dependency>
|
|
<!--
|
|
Netex XML document - JAXB generated Java model.
|
|
This is generated using the official Netex schema(v1.0) and support the entire model,
|
|
not just the Nordic/Norwegian profile which is currently supported by OTP.
|
|
-->
|
|
<dependency>
|
|
<groupId>org.entur</groupId>
|
|
<artifactId>netex-java-model</artifactId>
|
|
<version>${netex-java-model.version}</version>
|
|
</dependency>
|
|
|
|
<!-- SIRI -->
|
|
<dependency>
|
|
<groupId>org.entur</groupId>
|
|
<artifactId>siri-java-model</artifactId>
|
|
<version>${siri-java-model.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mobilitydata</groupId>
|
|
<artifactId>gbfs-java-model</artifactId>
|
|
<version>1.0.9</version>
|
|
</dependency>
|
|
|
|
<!-- TESTING -->
|
|
<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>com.google.truth</groupId>
|
|
<artifactId>truth</artifactId>
|
|
<version>1.4.4</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.tngtech.archunit</groupId>
|
|
<artifactId>archunit</artifactId>
|
|
<version>1.4.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>5.15.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.github.origin-energy</groupId>
|
|
<artifactId>java-snapshot-testing-junit5</artifactId>
|
|
<version>2.3.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- Provides some shared serializers for Kryo. Introduces transitive dependencies on Trove, and Kryo. -->
|
|
<!-- Also provides classes for testing that a round trip through serialization reproduces the same network. -->
|
|
<dependency>
|
|
<groupId>com.conveyal</groupId>
|
|
<artifactId>kryo-tools</artifactId>
|
|
<version>1.6.0</version>
|
|
</dependency>
|
|
<!-- kryo serializers for Guava types !-->
|
|
<dependency>
|
|
<groupId>de.javakaffee</groupId>
|
|
<artifactId>kryo-serializers</artifactId>
|
|
<version>0.45</version>
|
|
</dependency>
|
|
<!-- Direct dependency with -jre version, in order to not resolve to the limited -android version -->
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
</dependency>
|
|
<!-- Jersey annotation-driven REST web services (JAX-RS implementation) -->
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.core</groupId>
|
|
<artifactId>jersey-server</artifactId>
|
|
<version>${jersey.version}</version>
|
|
</dependency>
|
|
<!-- Deploy Jersey apps in stand-alone Grizzly server instead of a servlet container. -->
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.containers</groupId>
|
|
<artifactId>jersey-container-grizzly2-http</artifactId>
|
|
<version>${jersey.version}</version>
|
|
</dependency>
|
|
<!-- Jackson modules to serialize Jersey response objects to JSON. -->
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
<artifactId>jersey-media-json-jackson</artifactId>
|
|
<version>${jersey.version}</version>
|
|
</dependency>
|
|
<!-- HK2 dependency injection framework for injecting context -->
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.inject</groupId>
|
|
<artifactId>jersey-hk2</artifactId>
|
|
<version>${jersey.version}</version>
|
|
</dependency>
|
|
|
|
<!-- JAXB API Implementation no longer supplied with Java 11+ -->
|
|
<dependency>
|
|
<groupId>org.glassfish.jaxb</groupId>
|
|
<artifactId>jaxb-runtime</artifactId>
|
|
<version>${jaxb-runtime.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Jackson modules. -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
<artifactId>jackson-datatype-jdk8</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
<artifactId>jackson-datatype-jsr310</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<!--
|
|
jersey pulls in older versions of this dependency which are binary-incompatible
|
|
with the latest jackson version, so we need to explicitly define them here
|
|
-->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
|
|
<!--
|
|
Google library imports
|
|
The version is imported using google libraries-bom, see dep.management
|
|
-->
|
|
|
|
<!-- Google Cloud Storage - as OTP DataSource -->
|
|
<dependency>
|
|
<groupId>com.google.cloud</groupId>
|
|
<artifactId>google-cloud-storage</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Google Cloud Pubsub for SIRI-updater-->
|
|
<dependency>
|
|
<groupId>com.google.cloud</groupId>
|
|
<artifactId>google-cloud-pubsub</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Google Protocol Buffers compact binary serialization format -->
|
|
<dependency>
|
|
<groupId>com.google.protobuf</groupId>
|
|
<artifactId>protobuf-java</artifactId>
|
|
</dependency>
|
|
|
|
<!-- OBA GTFS loader -->
|
|
<dependency>
|
|
<groupId>org.onebusaway</groupId>
|
|
<artifactId>onebusaway-gtfs</artifactId>
|
|
<version>5.0.2</version>
|
|
</dependency>
|
|
<!-- Processing is used for the debug GUI (though we could probably use just Java2D) -->
|
|
<dependency>
|
|
<groupId>org.processing</groupId>
|
|
<artifactId>core</artifactId>
|
|
<version>2.2.1</version>
|
|
</dependency>
|
|
<!-- Used in DegreeGridNEDTileSource to fetch tiles from Amazon S3 -->
|
|
<dependency>
|
|
<groupId>net.java.dev.jets3t</groupId>
|
|
<artifactId>jets3t</artifactId>
|
|
<version>0.9.4</version>
|
|
</dependency>
|
|
<!-- OpenStreetMap protobuf (PBF) definitions and parser -->
|
|
<dependency>
|
|
<groupId>org.openstreetmap.pbf</groupId>
|
|
<artifactId>osmpbf</artifactId>
|
|
<version>1.6.0</version>
|
|
</dependency>
|
|
<!-- Command line parameter parsing -->
|
|
<dependency>
|
|
<groupId>com.beust</groupId>
|
|
<artifactId>jcommander</artifactId>
|
|
<version>1.82</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.graphql-java</groupId>
|
|
<artifactId>graphql-java</artifactId>
|
|
<version>22.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.graphql-java</groupId>
|
|
<artifactId>graphql-java-extended-scalars</artifactId>
|
|
<version>22.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents.client5</groupId>
|
|
<artifactId>httpclient5</artifactId>
|
|
<version>5.4.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-cli</groupId>
|
|
<artifactId>commons-cli</artifactId>
|
|
<version>1.5.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.sourceforge.javacsv</groupId>
|
|
<artifactId>javacsv</artifactId>
|
|
<version>2.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.paho</groupId>
|
|
<artifactId>org.eclipse.paho.client.mqttv3</artifactId>
|
|
<version>1.2.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.github.ci-cmg</groupId>
|
|
<artifactId>mapbox-vector-tile</artifactId>
|
|
<version>4.0.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.objecthunter</groupId>
|
|
<artifactId>exp4j</artifactId>
|
|
<version>0.4.8</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.azure</groupId>
|
|
<artifactId>azure-core</artifactId>
|
|
<version>1.46.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.azure</groupId>
|
|
<artifactId>azure-messaging-servicebus</artifactId>
|
|
<version>7.15.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.azure</groupId>
|
|
<artifactId>azure-identity</artifactId>
|
|
<version>1.15.1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.poole</groupId>
|
|
<artifactId>OpeningHoursParser</artifactId>
|
|
<version>0.28.2</version>
|
|
</dependency>
|
|
|
|
<!-- create zip test files-->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-compress</artifactId>
|
|
<version>1.27.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<!--
|
|
Filtering will perform substitution on otp-project-info.properties,
|
|
see git commit id plugin below.
|
|
-->
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
<resource>
|
|
<directory>src/ext/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
<resource>
|
|
<directory>src/client</directory>
|
|
<targetPath>client</targetPath>
|
|
<filtering>false</filtering>
|
|
</resource>
|
|
</resources>
|
|
<testResources>
|
|
<testResource>
|
|
<directory>src/test/resources</directory>
|
|
</testResource>
|
|
<testResource>
|
|
<directory>src/ext-test/resources</directory>
|
|
</testResource>
|
|
</testResources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<annotationProcessorPaths>
|
|
<path>
|
|
<groupId>com.google.dagger</groupId>
|
|
<artifactId>dagger-compiler</artifactId>
|
|
<version>${google.dagger.version}</version>
|
|
</path>
|
|
</annotationProcessorPaths>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>3.6.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>build-helper-generate-sources</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>add-source</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>src/main/java</source>
|
|
<source>src/ext/java</source>
|
|
</sources>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>build-helper-generate-test-sources</id>
|
|
<phase>generate-test-sources</phase>
|
|
<goals>
|
|
<goal>add-test-source</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>src/test/java</source>
|
|
<source>src/ext-test/java</source>
|
|
</sources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.github.bohnman</groupId>
|
|
<artifactId>package-info-maven-plugin</artifactId>
|
|
<version>1.1.0</version>
|
|
<configuration>
|
|
<!-- Couldn't get this to work for main and ext code at the same time. -->
|
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
|
<outputDirectory>${project.basedir}/target/generated-sources</outputDirectory>
|
|
<packages>
|
|
<package>
|
|
<pattern>**</pattern>
|
|
<template>${project.basedir}/src/build/templates/package-info-template.java</template>
|
|
</package>
|
|
</packages>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.hubspot.maven.plugins</groupId>
|
|
<artifactId>prettier-maven-plugin</artifactId>
|
|
<configuration>
|
|
<inputGlobs>
|
|
<inputGlob>src/main/java/**/*.java</inputGlob>
|
|
<inputGlob>src/ext/java/**/*.java</inputGlob>
|
|
<inputGlob>src/test/java/**/*.java</inputGlob>
|
|
<inputGlob>src/ext-test/java/**/*.java</inputGlob>
|
|
<inputGlob>src/**/*.json</inputGlob>
|
|
<inputGlob>src/test/resources/org/opentripplanner/apis/**/*.graphql</inputGlob>
|
|
<!-- Ignore patterns. -->
|
|
<inputGlob>!src/test/resources/org/opentripplanner/apis/vectortiles/style.json</inputGlob>
|
|
</inputGlobs>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|