431 lines
19 KiB
XML
431 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>
|
|
|
|
<groupId>org.springframework.cloud.stream.app</groupId>
|
|
<artifactId>stream-applications-build</artifactId>
|
|
<version>5.1.1-SNAPSHOT</version>
|
|
<name>stream-applications-build</name>
|
|
<description>Common Parent for Stream Applications</description>
|
|
<packaging>pom</packaging>
|
|
|
|
<properties>
|
|
<java.version>17</java.version>
|
|
<maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
|
|
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
|
|
<maven-surefire-plugin.version>3.0.0</maven-surefire-plugin.version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
|
|
<maven-checkstyle-plugin.version>3.2.0</maven-checkstyle-plugin.version>
|
|
<disable.checks>false</disable.checks>
|
|
<maven-checkstyle-plugin.failsOnError>true</maven-checkstyle-plugin.failsOnError>
|
|
<maven-checkstyle-plugin.failOnViolation>true</maven-checkstyle-plugin.failOnViolation>
|
|
<maven-checkstyle-plugin.includeTestSourceDirectory>true</maven-checkstyle-plugin.includeTestSourceDirectory>
|
|
<puppycrawl-tools-checkstyle.version>10.3.4</puppycrawl-tools-checkstyle.version>
|
|
<!--suppress UnresolvedMavenProperty -->
|
|
<checkstyle.location>${maven.multiModuleProjectDirectory}/etc/checkstyle</checkstyle.location>
|
|
<checkstyle.suppressions.file>${checkstyle.location}/checkstyle-suppressions.xml</checkstyle.suppressions.file>
|
|
<checkstyle.nohttp.file>${checkstyle.location}/nohttp-checkstyle.xml</checkstyle.nohttp.file>
|
|
<checkstyle.additional.suppressions.file>${checkstyle.location}/checkstyle-suppressions.xml
|
|
</checkstyle.additional.suppressions.file>
|
|
<nohttp-checkstyle.version>0.0.11</nohttp-checkstyle.version>
|
|
<disable.nohttp.checks>true</disable.nohttp.checks>
|
|
<spring-javaformat-checkstyle.version>0.0.43</spring-javaformat-checkstyle.version>
|
|
<spring-boot.version>3.4.2</spring-boot.version>
|
|
<spring-cloud.version>2024.0.0</spring-cloud.version>
|
|
<!-- SC bom override to pickup spring-cloud/spring-cloud-function#1224 -->
|
|
<spring-cloud-function.version>4.2.1</spring-cloud-function.version>
|
|
<!-- =================================================================== -->
|
|
<!-- Required only for release train docs generation in -->
|
|
<!-- /stream-applications-release-train/stream-applications-docs/pom.xml -->
|
|
<spring.version>6.2.2</spring.version>
|
|
<spring-cloud-stream-dependencies.version>4.2.0</spring-cloud-stream-dependencies.version>
|
|
<!-- =================================================================== -->
|
|
<mockserver.version>5.15.0</mockserver.version>
|
|
<apache-ivy.version>2.5.2</apache-ivy.version>
|
|
<curator.version>5.5.0</curator.version>
|
|
<mavenThreads>1</mavenThreads>
|
|
<commons-compress.version>1.26.2</commons-compress.version>
|
|
<commons-lang3.version>3.17.0</commons-lang3.version>
|
|
<okhttp3.version>4.12.0</okhttp3.version>
|
|
<!--suppress UnresolvedMavenProperty -->
|
|
<buildName>${env.BUILD_NAME}</buildName>
|
|
<!--suppress UnresolvedMavenProperty -->
|
|
<buildNumber>${env.BUILD_NUMBER}</buildNumber>
|
|
</properties>
|
|
|
|
<url>https://spring.io/projects/spring-cloud-stream-applications</url>
|
|
<developers>
|
|
<developer>
|
|
<id>stream-applications-developers</id>
|
|
<name>Stream Applications Developers</name>
|
|
<email>chackos at vmware com</email>
|
|
<organization>VMware</organization>
|
|
<organizationUrl>https://www.spring.io</organizationUrl>
|
|
<roles>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
</developers>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-compress</artifactId>
|
|
<version>${commons-compress.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>${commons-lang3.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
<version>${spring-boot.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-function-dependencies</artifactId>
|
|
<version>${spring-cloud-function.version}</version>
|
|
<scope>import</scope>
|
|
<type>pom</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
<version>${spring-cloud.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.ivy</groupId>
|
|
<artifactId>ivy</artifactId>
|
|
<version>${apache-ivy.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
<artifactId>okhttp-bom</artifactId>
|
|
<version>${okhttp3.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>${maven-javadoc-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>${maven-source-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>${maven-checkstyle-plugin.version}</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>javadoc</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<quiet>true</quiet>
|
|
<doclint>syntax</doclint>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<threadCount>1</threadCount>
|
|
<forkCount>1</forkCount>
|
|
<redirectTestOutputToFile>true</redirectTestOutputToFile>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
<artifactId>checkstyle</artifactId>
|
|
<version>${puppycrawl-tools-checkstyle.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.spring.javaformat</groupId>
|
|
<artifactId>spring-javaformat-checkstyle</artifactId>
|
|
<version>${spring-javaformat-checkstyle.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.spring.nohttp</groupId>
|
|
<artifactId>nohttp-checkstyle</artifactId>
|
|
<version>${nohttp-checkstyle.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
<execution>
|
|
<id>checkstyle-validation</id>
|
|
<phase>validate</phase>
|
|
<inherited>true</inherited>
|
|
<configuration>
|
|
<skip>${disable.checks}</skip>
|
|
<configLocation>${checkstyle.location}/checkstyle.xml</configLocation>
|
|
<headerLocation>${checkstyle.location}/checkstyle-header.txt</headerLocation>
|
|
<propertyExpansion>
|
|
checkstyle.build.directory=${project.build.directory}
|
|
checkstyle.suppressions.file=${checkstyle.suppressions.file}
|
|
checkstyle.additional.suppressions.file=${checkstyle.additional.suppressions.file}
|
|
</propertyExpansion>
|
|
<consoleOutput>true</consoleOutput>
|
|
<includeTestSourceDirectory>
|
|
${maven-checkstyle-plugin.includeTestSourceDirectory}
|
|
</includeTestSourceDirectory>
|
|
<failsOnError>${maven-checkstyle-plugin.failsOnError}
|
|
</failsOnError>
|
|
<failOnViolation>
|
|
${maven-checkstyle-plugin.failOnViolation}
|
|
</failOnViolation>
|
|
</configuration>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>no-http-checkstyle-validation</id>
|
|
<phase>validate</phase>
|
|
<inherited>true</inherited>
|
|
<configuration>
|
|
<skip>${disable.nohttp.checks}</skip>
|
|
<configLocation>${checkstyle.nohttp.file}</configLocation>
|
|
<includes>**/*</includes>
|
|
<excludes>**/.idea/**/*,**/.git/**/*,**/target/**/*,**/*.log</excludes>
|
|
<sourceDirectories>./</sourceDirectories>
|
|
</configuration>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Apache License, Version 2.0</name>
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
|
|
<comments>Copyright 2014-2020 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.
|
|
</comments>
|
|
</license>
|
|
</licenses>
|
|
<scm>
|
|
<connection>scm:git:git://github.com/pivotal/java-functions.git</connection>
|
|
<developerConnection>scm:git:ssh://git@github.com/pivotal/java-functions.git</developerConnection>
|
|
<url>https://github.com/pivotal/java-functions</url>
|
|
</scm>
|
|
<repositories>
|
|
<repository>
|
|
<id>spring-snapshots</id>
|
|
<name>Spring Snapshots</name>
|
|
<url>https://repo.spring.io/snapshot</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>spring-milestones</id>
|
|
<name>Spring milestones</name>
|
|
<url>https://repo.spring.io/milestone</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>maven-central</id>
|
|
<name>Maven Central</name>
|
|
<url>https://repo.maven.apache.org/maven2</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>spring-snapshots</id>
|
|
<name>Spring Snapshots</name>
|
|
<url>https://repo.spring.io/snapshot</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>spring-milestones</id>
|
|
<name>Spring Milestones</name>
|
|
<url>https://repo.spring.io/milestone</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>maven-central</id>
|
|
<name>Maven Central</name>
|
|
<url>https://repo.maven.apache.org/maven2</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>repo.spring.io</id>
|
|
<name>Spring Release Repository</name>
|
|
<url>https://repo.spring.io/libs-release-local;buildName=${buildName};buildNumber=${buildNumber}</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>repo.spring.io</id>
|
|
<name>Spring Snapshot Repository</name>
|
|
<url>https://repo.spring.io/libs-snapshot-local;buildName=${buildName};buildNumber=${buildNumber}</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
<profiles>
|
|
<profile>
|
|
<id>default</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
<configuration>
|
|
<threadCount>1</threadCount>
|
|
<forkCount>1</forkCount>
|
|
<excludedGroups>integration</excludedGroups>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>integration</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
<configuration>
|
|
<threadCount>1</threadCount>
|
|
<forkCount>1</forkCount>
|
|
<groups>integration</groups>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>milestone</id>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>repo.spring.io</id>
|
|
<name>Spring Milestone Repository</name>
|
|
<url>https://repo.spring.io/libs-milestone-local;buildName=${buildName};buildNumber=${buildNumber}</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
</profile>
|
|
<profile>
|
|
<id>snapshot</id>
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>repo.spring.io</id>
|
|
<name>Spring Snapshot Repository</name>
|
|
<url>https://repo.spring.io/libs-snapshot-local;buildName=${buildName};buildNumber=${buildNumber}</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
</profile>
|
|
<profile>
|
|
<id>release</id>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>repo.spring.io</id>
|
|
<name>Spring Release Repository</name>
|
|
<url>https://repo.spring.io/libs-release-local;buildName=${buildName};buildNumber=${buildNumber}</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|