| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you 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 |
| http://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. |
| --> |
| <project |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
| xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| |
| <parent> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-connector-parent</artifactId> |
| <version>1.0.0</version> |
| </parent> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-connector-gcp-pubsub-parent</artifactId> |
| <version>3.1-SNAPSHOT</version> |
| <name>Flink : Connectors : Google PubSub : Parent</name> |
| <packaging>pom</packaging> |
| <inceptionYear>2022</inceptionYear> |
| |
| <scm> |
| <url>https://github.com/apache/flink-connector-gcp-pubsub</url> |
| <connection>git@github.com:apache/flink-connector-gcp-pubsub.git</connection> |
| <developerConnection> |
| scm:git:https://gitbox.apache.org/repos/asf/flink-connector-gcp-pubsub.git |
| </developerConnection> |
| </scm> |
| |
| <modules> |
| <module>flink-connector-gcp-pubsub</module> |
| <module>flink-connector-gcp-pubsub-e2e-tests</module> |
| <module>flink-examples-streaming-gcp-pubsub</module> |
| </modules> |
| |
| <properties> |
| <flink.version>1.17.0</flink.version> |
| <google-cloud-libraries-bom.version>26.37.0</google-cloud-libraries-bom.version> |
| |
| <junit5.version>5.10.2</junit5.version> |
| <assertj.version>3.25.3</assertj.version> |
| <testcontainers.version>1.19.7</testcontainers.version> |
| <mockito.version>3.12.4</mockito.version> |
| <hamcrest.version>2.2</hamcrest.version> |
| |
| <japicmp.skip>false</japicmp.skip> |
| <japicmp.referenceVersion>3.0.0-1.16.0</japicmp.referenceVersion> |
| |
| <slf4j.version>1.7.36</slf4j.version> |
| <log4j.version>2.23.1</log4j.version> |
| |
| <flink.parent.artifactId>flink-connector-gcp-pubsub-parent</flink.parent.artifactId> |
| </properties> |
| |
| <dependencies> |
| <!-- Root dependencies for all projects --> |
| |
| <!-- Logging API --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- 'javax.annotation' classes like '@Nullable' --> |
| <dependency> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Test dependencies --> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <version>${junit5.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <version>${assertj.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockito.version}</version> |
| <type>jar</type> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-junit-jupiter</artifactId> |
| <version>${mockito.version}</version> |
| <type>jar</type> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.testcontainers</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- Tests will have log4j as the default logging framework available --> |
| |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-test-utils-junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- ArchUit test dependencies --> |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-architecture-tests-test</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-architecture-tests-production</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest</artifactId> |
| <version>${hamcrest.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <!-- This section defines the module versions that are used if nothing else is specified. --> |
| |
| <dependencyManagement> |
| |
| <dependencies> |
| <!-- Flink dependencies --> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-test-utils</artifactId> |
| <version>${flink.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-test-utils-junit</artifactId> |
| <version>${flink.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- Flink ArchUnit --> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-architecture-tests-base</artifactId> |
| <version>${flink.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-architecture-tests-test</artifactId> |
| <version>${flink.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-architecture-tests-production</artifactId> |
| <version>${flink.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- This manages the 'javax.annotation' annotations (JSR305) --> |
| <dependency> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| <version>1.3.9</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| <version>${log4j.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| <version>${log4j.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <version>${log4j.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.testcontainers</groupId> |
| <artifactId>testcontainers-bom</artifactId> |
| <version>${testcontainers.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| |
| <!-- For dependency convergence --> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>3.14.0</version> |
| </dependency> |
| |
| <!-- For dependency convergence --> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-compress</artifactId> |
| <version>1.26.1</version> |
| </dependency> |
| |
| <!-- For dependency convergence --> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.15.1</version> |
| </dependency> |
| |
| <!-- For dependency convergence --> |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <version>${assertj.version}</version> |
| </dependency> |
| |
| <!-- Test dependencies --> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <version>${junit5.version}</version> |
| </dependency> |
| |
| <!-- For dependency convergence --> |
| <dependency> |
| <groupId>org.threeten</groupId> |
| <artifactId>threetenbp</artifactId> |
| <version>1.4.4</version> |
| </dependency> |
| |
| <!-- For dependency convergence --> |
| <dependency> |
| <groupId>com.google.errorprone</groupId> |
| <artifactId>error_prone_annotations</artifactId> |
| <version>2.26.1</version> |
| </dependency> |
| |
| <!-- For dependency convergence --> |
| <dependency> |
| <groupId>net.bytebuddy</groupId> |
| <artifactId>byte-buddy</artifactId> |
| <version>1.14.13</version> |
| </dependency> |
| |
| <!-- For dependency convergence --> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-api</artifactId> |
| <version>${junit5.version}</version> |
| </dependency> |
| |
| <!-- For dependency convergence --> |
| <dependency> |
| <groupId>com.esotericsoftware.kryo</groupId> |
| <artifactId>kryo</artifactId> |
| <version>2.24.0</version> |
| </dependency> |
| |
| <!-- For dependency convergence --> |
| <dependency> |
| <groupId>org.junit.platform</groupId> |
| <artifactId>junit-platform-engine</artifactId> |
| <version>1.10.2</version> |
| </dependency> |
| |
| <!-- For dependency convergence --> |
| <dependency> |
| <groupId>org.junit.platform</groupId> |
| <artifactId>junit-platform-commons</artifactId> |
| <version>1.10.2</version> |
| </dependency> |
| |
| <!-- For dependency convergence --> |
| <dependency> |
| <groupId>org.objenesis</groupId> |
| <artifactId>objenesis</artifactId> |
| <version>2.6</version> |
| </dependency> |
| |
| <dependency> |
| <!-- This is the way we get a consistent set of versions of the Google tools --> |
| <groupId>com.google.cloud</groupId> |
| <artifactId>libraries-bom</artifactId> |
| <version>${google-cloud-libraries-bom.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <plugins> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <inherited>false</inherited> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-ci-tools</artifactId> |
| <version>${flink.version}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| </plugin> |
| |
| <plugin> |
| <!-- activate API compatibility checks --> |
| <groupId>io.github.zentol.japicmp</groupId> |
| <artifactId>japicmp-maven-plugin</artifactId> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <inherited>false</inherited> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <configuration> |
| <includeTestSourceDirectory>false</includeTestSourceDirectory> |
| <sourceDirectories> |
| <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| <sourceDirectory>${project.build.testSourceDirectory}</sourceDirectory> |
| </sourceDirectories> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>com.diffplug.spotless</groupId> |
| <artifactId>spotless-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.commonjava.maven.plugins</groupId> |
| <artifactId>directory-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |