560 lines
19 KiB
XML
560 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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<packaging>pom</packaging>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>central</id>
|
|
<name>Central Repository</name>
|
|
<url>https://repo.maven.apache.org/maven2</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>ossrh-snapshots</id>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
<modules>
|
|
<module>api-doc</module>
|
|
<module>integration-tests</module>
|
|
<module>service</module>
|
|
<module>websocket-resources</module>
|
|
</modules>
|
|
|
|
<properties>
|
|
<aws.sdk2.version>2.31.9</aws.sdk2.version>
|
|
<braintree.version>3.40.0</braintree.version>
|
|
<commons-csv.version>1.14.0</commons-csv.version>
|
|
<commons-io.version>2.18.0</commons-io.version>
|
|
<dropwizard.version>4.0.12</dropwizard.version>
|
|
<dropwizard-metrics-datadog.version>1.1.14</dropwizard-metrics-datadog.version>
|
|
<!-- can be updated to latest version with Dropwizard 5 (Jetty 12); will then need to disable telemetry -->
|
|
<dynamodblocal.version>2.2.1</dynamodblocal.version>
|
|
<google-cloud-libraries.version>26.57.0</google-cloud-libraries.version>
|
|
<grpc.version>1.70.0</grpc.version> <!-- should be kept in sync with the value from Google libraries-bom -->
|
|
<gson.version>2.12.1</gson.version>
|
|
<!-- several libraries (AWS, Google Cloud) use Apache http components transitively, and we need to align them -->
|
|
<httpcore.version>4.4.16</httpcore.version>
|
|
<httpclient.version>4.5.14</httpclient.version>
|
|
<jackson.version>2.18.3</jackson.version>
|
|
<junit-pioneer.version>2.3.0</junit-pioneer.version>
|
|
<jsr305.version>3.0.2</jsr305.version>
|
|
<kotlin.version>2.1.20</kotlin.version>
|
|
<!-- Logback 1.5.14+ has a null pointer bug: https://github.com/qos-ch/logback/issues/929. -->
|
|
<logback.version>1.5.13</logback.version>
|
|
<logback-access.version>2.0.5</logback-access.version>
|
|
<lettuce.version>6.5.5.RELEASE</lettuce.version>
|
|
<libphonenumber.version>9.0.2</libphonenumber.version>
|
|
<logstash.logback.version>7.3</logstash.logback.version>
|
|
<log4j-bom.version>2.24.3</log4j-bom.version>
|
|
<luajava.version>3.5.0</luajava.version>
|
|
<micrometer.version>1.14.5</micrometer.version>
|
|
<netty.version>4.1.119.Final</netty.version>
|
|
<!-- Must be less than or equal to the value from Google libraries-bom which controls the protobuf runtime version.
|
|
See https://protobuf.dev/support/cross-version-runtime-guarantee/. -->
|
|
<protoc.version>4.29.4</protoc.version>
|
|
<pushy.version>0.15.4</pushy.version>
|
|
<reactive.grpc.version>1.2.4</reactive.grpc.version>
|
|
<reactor-bom.version>2024.0.4</reactor-bom.version> <!-- 3.7.4, see https://github.com/reactor/reactor#bom-versioning-scheme -->
|
|
<resilience4j.version>2.3.0</resilience4j.version>
|
|
<semver4j.version>3.1.0</semver4j.version>
|
|
<simple-grpc.version>0.1.0</simple-grpc.version>
|
|
<slf4j.version>2.0.17</slf4j.version>
|
|
<stripe.version>23.10.0</stripe.version>
|
|
<swagger.version>2.2.27</swagger.version>
|
|
|
|
<!-- eclipse-temurin:21.0.6_7-jre-jammy (note: always use the multi-arch manifest *LIST* here) -->
|
|
<docker.image.sha256>02fc89fa8766a9ba221e69225f8d1c10bb91885ddbd3c112448e23488ba40ab6</docker.image.sha256>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<groupId>org.whispersystems.textsecure</groupId>
|
|
<artifactId>TextSecureServer</artifactId>
|
|
<version>JGITVER</version>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson</groupId>
|
|
<artifactId>jackson-bom</artifactId>
|
|
<version>${jackson.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.dropwizard</groupId>
|
|
<artifactId>dropwizard-dependencies</artifactId>
|
|
<version>${dropwizard.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<!-- Needed for gRPC with Java 9+ -->
|
|
<dependency>
|
|
<groupId>org.apache.tomcat</groupId>
|
|
<artifactId>annotations-api</artifactId>
|
|
<version>6.0.53</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-bom</artifactId>
|
|
<version>${netty.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>bom</artifactId>
|
|
<version>${aws.sdk2.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.cloud</groupId>
|
|
<artifactId>libraries-bom</artifactId>
|
|
<version>${google-cloud-libraries.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.salesforce.servicelibs</groupId>
|
|
<artifactId>reactor-grpc-stub</artifactId>
|
|
<version>${reactive.grpc.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.github.resilience4j</groupId>
|
|
<artifactId>resilience4j-bom</artifactId>
|
|
<version>${resilience4j.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.micrometer</groupId>
|
|
<artifactId>micrometer-bom</artifactId>
|
|
<version>${micrometer.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.projectreactor</groupId>
|
|
<artifactId>reactor-bom</artifactId>
|
|
<version>${reactor-bom.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-bom</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.eatthepath</groupId>
|
|
<artifactId>pushy</artifactId>
|
|
<version>${pushy.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.eatthepath</groupId>
|
|
<artifactId>pushy-dropwizard-metrics-listener</artifactId>
|
|
<version>${pushy.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.googlecode.libphonenumber</groupId>
|
|
<artifactId>libphonenumber</artifactId>
|
|
<version>${libphonenumber.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.vdurmont</groupId>
|
|
<artifactId>semver4j</artifactId>
|
|
<version>${semver4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>${commons-io.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.lettuce</groupId>
|
|
<artifactId>lettuce-core</artifactId>
|
|
<version>${lettuce.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.logstash.logback</groupId>
|
|
<artifactId>logstash-logback-encoder</artifactId>
|
|
<version>${logstash.logback.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-csv</artifactId>
|
|
<version>${commons-csv.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.coursera</groupId>
|
|
<artifactId>dropwizard-metrics-datadog</artifactId>
|
|
<version>${dropwizard-metrics-datadog.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-nop</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
<version>1.3.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm</artifactId>
|
|
<version>9.7.1 </version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.stripe</groupId>
|
|
<artifactId>stripe-java</artifactId>
|
|
<version>${stripe.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.braintreepayments.gateway</groupId>
|
|
<artifactId>braintree-java</artifactId>
|
|
<version>${braintree.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
<artifactId>jsr305</artifactId>
|
|
<version>${jsr305.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>${gson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.signal</groupId>
|
|
<artifactId>embedded-redis</artifactId>
|
|
<version>0.9.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.signal</groupId>
|
|
<artifactId>libsignal-server</artifactId>
|
|
<version>0.67.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.signal</groupId>
|
|
<artifactId>simple-grpc-runtime</artifactId>
|
|
<version>${simple-grpc.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.signal.forks</groupId>
|
|
<artifactId>noise-java</artifactId>
|
|
<version>0.1.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-bom</artifactId>
|
|
<version>${log4j-bom.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpcore</artifactId>
|
|
<version>${httpcore.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
<version>${httpclient.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.amazonaws</groupId>
|
|
<artifactId>DynamoDBLocal</artifactId>
|
|
<version>${dynamodblocal.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-core</artifactId>
|
|
<version>${logback.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>${logback.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback.access</groupId>
|
|
<artifactId>logback-access-common</artifactId>
|
|
<version>${logback-access.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-all</artifactId>
|
|
<version>1.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>aws-crt-client</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wiremock</groupId>
|
|
<artifactId>wiremock</artifactId>
|
|
<version>3.12.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit-pioneer</groupId>
|
|
<artifactId>junit-pioneer</artifactId>
|
|
<version>${junit-pioneer.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>include-spam-filter</id>
|
|
<activation>
|
|
<file>
|
|
<exists>spam-filter/pom.xml</exists>
|
|
</file>
|
|
</activation>
|
|
<modules>
|
|
<module>spam-filter</module>
|
|
</modules>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>exclude-spam-filter</id>
|
|
<activation>
|
|
<file>
|
|
<missing>spam-filter/pom.xml</missing>
|
|
</file>
|
|
</activation>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<build>
|
|
<extensions>
|
|
<extension>
|
|
<groupId>kr.motd.maven</groupId>
|
|
<artifactId>os-maven-plugin</artifactId>
|
|
<version>1.7.0</version>
|
|
</extension>
|
|
</extensions>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.google.cloud.tools</groupId>
|
|
<artifactId>jib-maven-plugin</artifactId>
|
|
<version>3.4.4</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.5.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>3.5.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.4.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.6.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>3.7.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>properties-maven-plugin</artifactId>
|
|
<version>1.2.1</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>org.xolstice.maven.plugins</groupId>
|
|
<artifactId>protobuf-maven-plugin</artifactId>
|
|
<version>0.6.1</version>
|
|
<configuration>
|
|
<checkStaleness>false</checkStaleness>
|
|
<protocArtifact>com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier}</protocArtifact>
|
|
<pluginId>grpc-java</pluginId>
|
|
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
|
|
|
|
<protocPlugins>
|
|
<protocPlugin>
|
|
<id>reactor-grpc</id>
|
|
<groupId>com.salesforce.servicelibs</groupId>
|
|
<artifactId>reactor-grpc</artifactId>
|
|
<version>${reactive.grpc.version}</version>
|
|
<mainClass>com.salesforce.reactorgrpc.ReactorGrpcGenerator</mainClass>
|
|
</protocPlugin>
|
|
|
|
<protocPlugin>
|
|
<id>simple</id>
|
|
<groupId>org.signal</groupId>
|
|
<artifactId>simple-grpc-generator</artifactId>
|
|
<version>${simple-grpc.version}</version>
|
|
<mainClass>org.signal.grpc.simple.SimpleGrpcGenerator</mainClass>
|
|
</protocPlugin>
|
|
</protocPlugins>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
<goal>compile-custom</goal>
|
|
<goal>test-compile</goal>
|
|
<goal>test-compile-custom</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.13.0</version>
|
|
<configuration>
|
|
<release>21</release>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.4.2</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<executions>
|
|
<execution>
|
|
<!--
|
|
Set dependencies as properties for use in argLine property for mockito jar.
|
|
The property isn't needed until the test phase, and deferring it from the default
|
|
`initialize` addresses issues running lifecycle phases that precede `test` in isolation.
|
|
-->
|
|
<phase>process-test-classes</phase>
|
|
<goals>
|
|
<goal>properties</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>3.5.0</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<dependencyConvergence/>
|
|
<requireMavenVersion>
|
|
<version>3.9.9</version>
|
|
</requireMavenVersion>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>3.1.3</version>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>3.1.3</version>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|