| <?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"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-connector-parent</artifactId> |
| <version>1.0.0</version> |
| <relativePath/> |
| </parent> |
| |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-connector-rocketmq-parent</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| <name>Flink : Connectors : RocketMQ : Parent</name> |
| <packaging>pom</packaging> |
| <url>https://flink.apache.org</url> |
| <inceptionYear>2022</inceptionYear> |
| |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <mailingLists> |
| <mailingList> |
| <name>Apache Flink Dev Mailing List</name> |
| <subscribe>dev-subscribe@flink.apache.org</subscribe> |
| <unsubscribe>dev-unsubscribe@flink.apache.org</unsubscribe> |
| <post>dev@flink.apache.org</post> |
| <archive>https://lists.apache.org/list.html?dev@flink.apache.org</archive> |
| </mailingList> |
| <mailingList> |
| <name>Apache RocketMQ Dev Mailing List</name> |
| <subscribe>dev-subscribe@rocketmq.apache.org</subscribe> |
| <unsubscribe>dev-unsubscribe@rocketmq.apache.org</unsubscribe> |
| <post>dev@rocketmq.apache.org</post> |
| <archive>https://lists.apache.org/list.html?dev@rocketmq.apache.org</archive> |
| </mailingList> |
| </mailingLists> |
| |
| <scm> |
| <url>https://github.com/apache/rocketmq-flink</url> |
| <connection>git@github.com:apache/rocketmq-flink.git</connection> |
| <developerConnection> |
| scm:git:https://gitbox.apache.org/repos/asf/rocketmq-flink.git |
| </developerConnection> |
| </scm> |
| |
| <modules> |
| <module>flink-connector-rocketmq</module> |
| <module>flink-sql-connector-rocketmq</module> |
| </modules> |
| |
| <properties> |
| <flink.parent.artifactId>flink-connector-rocketmq-parent</flink.parent.artifactId> |
| |
| <!-- Main Dependencies --> |
| <flink.version>1.20.3</flink.version> |
| <rocketmq.version>5.1.1</rocketmq.version> |
| <rocketmq.client.java.version>5.2.1</rocketmq.client.java.version> |
| <rocketmq.schema.registry.version>0.1.0</rocketmq.schema.registry.version> |
| <commons-lang.version>2.6</commons-lang.version> |
| |
| <!-- Other Dependencies --> |
| <jsr305.version>1.3.9</jsr305.version> |
| <slf4j.version>1.7.36</slf4j.version> |
| <log4j.version>2.17.2</log4j.version> |
| |
| <!-- Test Dependencies --> |
| <archunit.version>1.4.1</archunit.version> |
| <assertj.version>3.23.1</assertj.version> |
| <guava.version>32.1.3-jre</guava.version> |
| <junit5.version>5.9.2</junit5.version> |
| <mockito.version>4.11.0</mockito.version> |
| <testcontainers.version>1.21.4</testcontainers.version> |
| |
| <!-- Plugins --> |
| <japicmp.skip>true</japicmp.skip> |
| <maven.dependency.plugin.version>3.8.1</maven.dependency.plugin.version> |
| </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> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</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> |
| </dependencies> |
| |
| <dependencyManagement> |
| <dependencies> |
| <!-- RocketMQ dependencies --> |
| <dependency> |
| <groupId>org.apache.rocketmq</groupId> |
| <artifactId>rocketmq-client</artifactId> |
| <version>${rocketmq.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>io.github.aliyunmq</groupId> |
| <artifactId>rocketmq-logback-classic</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>io.github.aliyunmq</groupId> |
| <artifactId>rocketmq-shaded-slf4j-api-bridge</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.rocketmq</groupId> |
| <artifactId>rocketmq-acl</artifactId> |
| <version>${rocketmq.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>io.github.aliyunmq</groupId> |
| <artifactId>rocketmq-logback-classic</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>io.github.aliyunmq</groupId> |
| <artifactId>rocketmq-shaded-slf4j-api-bridge</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.rocketmq</groupId> |
| <artifactId>rocketmq-common</artifactId> |
| <version>${rocketmq.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>io.netty</groupId> |
| <artifactId>netty-tcnative</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.rocketmq</groupId> |
| <artifactId>rocketmq-tools</artifactId> |
| <version>${rocketmq.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>io.github.aliyunmq</groupId> |
| <artifactId>rocketmq-logback-classic</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>io.github.aliyunmq</groupId> |
| <artifactId>rocketmq-shaded-slf4j-api-bridge</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.rocketmq</groupId> |
| <artifactId>schema-registry-client</artifactId> |
| <version>${rocketmq.schema.registry.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- RocketMQ gRPC client (5.x), self-contained shaded jar --> |
| <dependency> |
| <groupId>org.apache.rocketmq</groupId> |
| <artifactId>rocketmq-client-java</artifactId> |
| <version>${rocketmq.client.java.version}</version> |
| </dependency> |
| |
| <!-- Flink dependencies --> |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-core</artifactId> |
| <version>${flink.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-streaming-java</artifactId> |
| <version>${flink.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-connector-base</artifactId> |
| <version>${flink.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-table-runtime</artifactId> |
| <version>${flink.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-table-common</artifactId> |
| <version>${flink.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-table-api-java-bridge</artifactId> |
| <version>${flink.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-avro</artifactId> |
| <version>${flink.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-clients</artifactId> |
| <version>${flink.version}</version> |
| </dependency> |
| |
| <!-- Flink test-jars --> |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-core</artifactId> |
| <version>${flink.version}</version> |
| <type>test-jar</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-streaming-java</artifactId> |
| <version>${flink.version}</version> |
| <type>test-jar</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-connector-base</artifactId> |
| <version>${flink.version}</version> |
| <type>test-jar</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-runtime</artifactId> |
| <version>${flink.version}</version> |
| <type>test-jar</type> |
| </dependency> |
| |
| <!-- Flink test infrastructure --> |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-test-utils</artifactId> |
| <version>${flink.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-test-utils-junit</artifactId> |
| <version>${flink.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-connector-test-utils</artifactId> |
| <version>${flink.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-table-test-utils</artifactId> |
| <version>${flink.version}</version> |
| </dependency> |
| |
| <!-- Flink ArchUnit --> |
| <dependency> |
| <groupId>com.tngtech.archunit</groupId> |
| <artifactId>archunit</artifactId> |
| <version>${archunit.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.tngtech.archunit</groupId> |
| <artifactId>archunit-junit5-api</artifactId> |
| <version>${archunit.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-architecture-tests-base</artifactId> |
| <version>${flink.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-architecture-tests-test</artifactId> |
| <version>${flink.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-architecture-tests-production</artifactId> |
| <version>${flink.version}</version> |
| </dependency> |
| |
| <!-- Common dependencies --> |
| <dependency> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| <version>${jsr305.version}</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>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| <version>${commons-lang.version}</version> |
| </dependency> |
| |
| <!-- Don't use guava in production code --> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${guava.version}</version> |
| </dependency> |
| |
| <!-- For dependency convergence --> |
| <dependency> |
| <groupId>org.junit</groupId> |
| <artifactId>junit-bom</artifactId> |
| <version>${junit5.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <version>${assertj.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockito.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.testcontainers</groupId> |
| <artifactId>testcontainers-bom</artifactId> |
| <version>${testcontainers.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> |
| <configuration> |
| <excludes> |
| <exclude>.gitignore</exclude> |
| <exclude>.travis.yml</exclude> |
| <exclude>.asf.yaml</exclude> |
| <exclude>README.md</exclude> |
| <exclude>docs/**</exclude> |
| </excludes> |
| </configuration> |
| </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> |
| <configuration> |
| <source>11</source> |
| <target>11</target> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-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> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>${maven.dependency.plugin.version}</version> |
| <executions> |
| <execution> |
| <id>analyze-deps</id> |
| <goals> |
| <goal>analyze</goal> |
| </goals> |
| <phase>verify</phase> |
| <configuration> |
| <failOnWarning>true</failOnWarning> |
| <ignoreAllNonTestScoped>true</ignoreAllNonTestScoped> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |