503 lines
15 KiB
XML
503 lines
15 KiB
XML
<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.springframework.grpc</groupId>
|
|
<artifactId>spring-grpc</artifactId>
|
|
<version>0.1.0</version>
|
|
|
|
<packaging>pom</packaging>
|
|
<url>https://github.com/spring-projects-experimental/spring-grpc</url>
|
|
|
|
<name>Spring gRPC</name>
|
|
<description>Building gRPC applications with Spring Boot</description>
|
|
|
|
<modules>
|
|
<module>spring-grpc-docs</module>
|
|
<module>spring-grpc-dependencies</module>
|
|
<module>spring-grpc-core</module>
|
|
<module>spring-grpc-test</module>
|
|
<module>spring-grpc-spring-boot-autoconfigure</module>
|
|
<module>spring-grpc-spring-boot-starter</module>
|
|
<module>samples</module>
|
|
</modules>
|
|
|
|
<organization>
|
|
<name>Broadcom Inc.</name>
|
|
<url>https://spring.io</url>
|
|
</organization>
|
|
<scm>
|
|
<url>https://github.com/spring-projects-experimental/spring-grpc</url>
|
|
<connection>git://github.com/spring-projects-experimental/spring-grpc.git</connection>
|
|
<developerConnection>git@github.com:spring-projects-experimental/spring-grpc.git</developerConnection>
|
|
</scm>
|
|
<issueManagement>
|
|
<system>Github Issues</system>
|
|
<url>https://github.com/spring-projects-experimental/spring-grpc/issues</url>
|
|
</issueManagement>
|
|
<ciManagement>
|
|
<system>Github Actions</system>
|
|
<url>https://github.com/spring-projects-experimental/spring-grpc/actions</url>
|
|
</ciManagement>
|
|
<distributionManagement>
|
|
<downloadUrl>https://github.com/spring-projects-experimental/spring-grpc</downloadUrl>
|
|
<site>
|
|
<id>spring-docs</id>
|
|
<url>scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-grpc/docs/${project.artifactId}/${project.version}</url>
|
|
</site>
|
|
<repository>
|
|
<id>sonatype-nexus-staging</id>
|
|
<name>Nexus Release Repository</name>
|
|
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>repo.spring.io</id>
|
|
<url>https://repo.spring.io/libs-snapshot-local</url>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
<licenses>
|
|
<license>
|
|
<name>Apache 2.0</name>
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<java.version>17</java.version>
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
<maven.compiler.target>17</maven.compiler.target>
|
|
|
|
<!-- internal dependencies -->
|
|
<spring-boot.version>3.3.4</spring-boot.version>
|
|
<jackson.version>2.17.2</jackson.version>
|
|
<junit.version>5.10.5</junit.version>
|
|
|
|
<!-- documentation dependencies -->
|
|
<io.spring.maven.antora-version>0.0.4</io.spring.maven.antora-version>
|
|
<asciidoctorj-pdf.version>1.6.2</asciidoctorj-pdf.version> <!-- FIXME build failure with
|
|
version 2.3.9 -->
|
|
<asciidoctorj-epub.version>1.5.1</asciidoctorj-epub.version>
|
|
<spring-asciidoctor-backends.version>0.0.6</spring-asciidoctor-backends.version>
|
|
|
|
<!-- plugin versions -->
|
|
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
|
|
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
|
|
<maven-failsafe-plugin.version>3.1.2</maven-failsafe-plugin.version>
|
|
<maven-flatten-plugin.version>1.6.0</maven-flatten-plugin.version>
|
|
<maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
|
|
<maven-source-plugin.version>3.3.0</maven-source-plugin.version>
|
|
<jacoco-maven-plugin.version>0.8.10</jacoco-maven-plugin.version>
|
|
<maven-deploy-plugin.version>3.1.1</maven-deploy-plugin.version>
|
|
<maven-resources-plugin.version>3.0.2</maven-resources-plugin.version>
|
|
<asciidoctor-maven-plugin.version>2.2.3</asciidoctor-maven-plugin.version>
|
|
<maven-assembly-plugin.version>3.7.0</maven-assembly-plugin.version>
|
|
<maven-dependency-plugin.version>3.5.0</maven-dependency-plugin.version>
|
|
<!-- <maven-site-plugin.version>3.12.1</maven-site-plugin.version> -->
|
|
<maven-site-plugin.version>4.0.0-M13</maven-site-plugin.version>
|
|
<maven-project-info-reports-plugin.version>3.4.5</maven-project-info-reports-plugin.version>
|
|
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
|
|
<spring-javaformat-maven-plugin.version>0.0.39</spring-javaformat-maven-plugin.version>
|
|
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>io.spring.javaformat</groupId>
|
|
<artifactId>spring-javaformat-maven-plugin</artifactId>
|
|
<version>${spring-javaformat-maven-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>validate</phase>
|
|
<inherited>true</inherited>
|
|
<goals>
|
|
<goal>validate</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>${maven-site-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
<configuration>
|
|
<release>${java.version}</release>
|
|
<compilerArgs>
|
|
<compilerArg>-parameters</compilerArg>
|
|
</compilerArgs>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
<configuration>
|
|
<argLine>${surefireArgLine}</argLine>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>${maven-jar-plugin.version}</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifestEntries>
|
|
<Implementation-Title>${project.artifactId}</Implementation-Title>
|
|
<Implementation-Version>${project.version}</Implementation-Version>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>${maven-javadoc-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>javadoc</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>${maven-source-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>generate-sources</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>${maven-deploy-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>flatten-maven-plugin</artifactId>
|
|
<version>${maven-flatten-plugin.version}</version>
|
|
<inherited>true</inherited>
|
|
<executions>
|
|
<execution>
|
|
<!-- Tidy up all POMs before they are published -->
|
|
<id>flatten</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>flatten</goal>
|
|
</goals>
|
|
<configuration>
|
|
<updatePomFile>true</updatePomFile>
|
|
<flattenMode>oss</flattenMode>
|
|
<pomElements>
|
|
<parent>expand</parent>
|
|
<distributionManagement>remove</distributionManagement>
|
|
<repositories>remove</repositories>
|
|
</pomElements>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>license</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<version>4.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<properties>
|
|
<owner>the original author or authors.</owner>
|
|
<email />
|
|
<year>2024</year>
|
|
</properties>
|
|
<licenseSets>
|
|
<licenseSet>
|
|
<inlineHeader>
|
|
<!-- @formatter:off --> Copyright 2023 - ${year} the original author or
|
|
authors. Licensed under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
https://www.apache.org/licenses/LICENSE-2.0 Unless required
|
|
by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS"
|
|
BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
express or implied. See the License for the specific
|
|
language governing permissions and limitations under the
|
|
License. <!-- @formatter:on -->
|
|
</inlineHeader>
|
|
<excludes>
|
|
<exclude>**/.antlr/**</exclude>
|
|
<exclude>**/aot.factories</exclude>
|
|
<exclude>**/.sdkmanrc</exclude>
|
|
<exclude>**/*.adoc</exclude>
|
|
<exclude>**/*.puml</exclude>
|
|
<exclude>**/pom.xml</exclude>
|
|
<exclude>**/*.properties</exclude>
|
|
<exclude>**/*.yaml</exclude>
|
|
<exclude>**/*.yml</exclude>
|
|
<exclude>**/*.map</exclude>
|
|
<exclude>**/*.html</exclude>
|
|
<exclude>**/*.xhtml</exclude>
|
|
<exclude>**/*.jsp</exclude>
|
|
<exclude>**/*.js</exclude>
|
|
<exclude>**/*.css</exclude>
|
|
<exclude>**/*.txt</exclude>
|
|
<exclude>**/*.xjb</exclude>
|
|
<exclude>**/*.ftl</exclude>
|
|
<exclude>**/*.xsd</exclude>
|
|
<exclude>**/*.xml</exclude>
|
|
<exclude>**/*.sh</exclude>
|
|
<exclude>**/generated/**</exclude>
|
|
<exclude>**/Dockerfile</exclude>
|
|
</excludes>
|
|
</licenseSet>
|
|
</licenseSets>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>javadoc</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>${maven-javadoc-plugin.version}</version>
|
|
<configuration>
|
|
<excludePackageNames>org.springframework.grpc.sample.*</excludePackageNames>
|
|
<overview>
|
|
${project.basedir}/spring-grpc-docs/src/main/javadoc/overview.html</overview>
|
|
<detectJavaApiLink>false</detectJavaApiLink>
|
|
<doclint>none</doclint>
|
|
<!--<doclint>all,-missing</doclint>-->
|
|
<quiet>true</quiet>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>generate-aggregate-javadocs</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>aggregate</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>integration-tests</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>${maven-failsafe-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>test-coverage</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>${jacoco-maven-plugin.version}</version>
|
|
<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>
|
|
<profile>
|
|
<id>staging</id>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>repo.spring.io</id>
|
|
<url>https://repo.spring.io/libs-staging-local</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</distributionManagement>
|
|
</profile>
|
|
<profile>
|
|
<id>milestone</id>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>repo.spring.io</id>
|
|
<url>https://repo.spring.io/libs-milestone-local</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</distributionManagement>
|
|
</profile>
|
|
<profile>
|
|
<id>central</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>1.6</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<gpgArguments>
|
|
<arg>--batch</arg>
|
|
<arg>--pinentry-mode=loopback</arg>
|
|
</gpgArguments>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.grpc</groupId>
|
|
<artifactId>spring-grpc-dependencies</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>maven-central</id>
|
|
<url>https://repo.maven.apache.org/maven2/</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
</repository>
|
|
<repository>
|
|
<id>spring-snapshots</id>
|
|
<name>Spring Snapshots</name>
|
|
<url>https://repo.spring.io/snapshot</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
</repository>
|
|
<repository>
|
|
<id>spring-milestones</id>
|
|
<name>Spring Milestones</name>
|
|
<url>https://repo.spring.io/milestone</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>dsyer</id>
|
|
<name>Dave Syer</name>
|
|
<email>david.syer at broadcom.com</email>
|
|
<organization>Broadcom</organization>
|
|
<organizationUrl>http://www.spring.io</organizationUrl>
|
|
<roles>
|
|
<role>lead</role>
|
|
</roles>
|
|
</developer>
|
|
</developers>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>${maven-project-info-reports-plugin.version}</version>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
|
|
</project>
|