276 lines
8.2 KiB
XML
276 lines
8.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ Copyright 2025 Signal Messenger, LLC
|
|
~ SPDX-License-Identifier: AGPL-3.0-only
|
|
-->
|
|
|
|
<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>org.signal</groupId>
|
|
<artifactId>simple-grpc</artifactId>
|
|
<version>JGITVER</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>simple-grpc parent</name>
|
|
<description>A Java server code generator for gRPC focusing on simplicity and ease of implementation</description>
|
|
<inceptionYear>2025</inceptionYear>
|
|
<url>https://github.com/signalapp/simple-grpc</url>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>AGPLv3</name>
|
|
<url>https://www.gnu.org/licenses/agpl-3.0.html</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<developers>
|
|
<developer>
|
|
<name>Jon Chambers</name>
|
|
<email>jon@signal.org</email>
|
|
<organization>Signal Messenger, LLC</organization>
|
|
<organizationUrl>https://signal.org/</organizationUrl>
|
|
</developer>
|
|
</developers>
|
|
|
|
<scm>
|
|
<connection>scm:git:git://github.com/signalapp/simple-grpc.git</connection>
|
|
<developerConnection>scm:git:ssh://github.com:signalapp/simple-grpc.git</developerConnection>
|
|
<url>https://github.com/signalapp/simple-grpc/</url>
|
|
</scm>
|
|
|
|
<modules>
|
|
<module>simple-grpc-generator</module>
|
|
<module>simple-grpc-runtime</module>
|
|
</modules>
|
|
|
|
<properties>
|
|
<maven.compiler.source>9</maven.compiler.source>
|
|
<maven.compiler.target>9</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<os.maven.plugin.version>1.7.1</os.maven.plugin.version>
|
|
<protobuf.plugin.version>0.6.1</protobuf.plugin.version>
|
|
|
|
<grpc.version>1.78.0</grpc.version>
|
|
<jprotoc.version>1.2.2</jprotoc.version>
|
|
<junit.version>5.14.2</junit.version>
|
|
<mockito.version>5.21.0</mockito.version>
|
|
<protoc.version>3.25.8</protoc.version> <!-- Same version as grpc-protobuf -->
|
|
<reactor.bom.version>2024.0.13</reactor.bom.version> <!-- 3.7.11, see https://github.com/reactor/reactor#bom-versioning-scheme -->
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.projectreactor</groupId>
|
|
<artifactId>reactor-bom</artifactId>
|
|
<version>${reactor.bom.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.salesforce.servicelibs</groupId>
|
|
<artifactId>jprotoc</artifactId>
|
|
<version>${jprotoc.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.grpc</groupId>
|
|
<artifactId>grpc-inprocess</artifactId>
|
|
<version>${grpc.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.grpc</groupId>
|
|
<artifactId>grpc-protobuf</artifactId>
|
|
<version>${grpc.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.grpc</groupId>
|
|
<artifactId>grpc-stub</artifactId>
|
|
<version>${grpc.version}</version>
|
|
|
|
<!-- grpc-stub's various dependencies disagree about which version of `error_prone_annotations` they want, but
|
|
since we're not actually using https://github.com/google/error-prone for static analysis, we can just omit the
|
|
dependency entirely to avoid the conflicts -->
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.google.errorprone</groupId>
|
|
<artifactId>error_prone_annotations</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- necessary for Java 9+ -->
|
|
<dependency>
|
|
<groupId>org.apache.tomcat</groupId>
|
|
<artifactId>annotations-api</artifactId>
|
|
<version>6.0.53</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>${mockito.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>3.6.2</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>3.2.8</version>
|
|
|
|
<configuration>
|
|
<!-- Prevent gpg from using pinentry programs;
|
|
see https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#extra-setup-for-pomxml -->
|
|
<gpgArguments>
|
|
<arg>--pinentry-mode</arg>
|
|
<arg>loopback</arg>
|
|
</gpgArguments>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.12.0</version>
|
|
|
|
<configuration>
|
|
<links>
|
|
<link>https://grpc.github.io/grpc-java/javadoc/</link>
|
|
<link>https://www.javadoc.io/doc/com.google.protobuf/protobuf-java/${protoc.version}/</link>
|
|
</links>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.4.0</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>3.6.1</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.sonatype.central</groupId>
|
|
<artifactId>central-publishing-maven-plugin</artifactId>
|
|
<version>0.9.0</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.xolstice.maven.plugins</groupId>
|
|
<artifactId>protobuf-maven-plugin</artifactId>
|
|
<version>${protobuf.plugin.version}</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<dependencyConvergence/>
|
|
<requireMavenVersion>
|
|
<version>3.9.11</version>
|
|
</requireMavenVersion>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</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>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.sonatype.central</groupId>
|
|
<artifactId>central-publishing-maven-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
|
|
<configuration>
|
|
<autoPublish>true</autoPublish>
|
|
<waitUntil>published</waitUntil>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
</project>
|