You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampark.apache.org by be...@apache.org on 2026/07/22 04:54:01 UTC
(streampark) branch dev updated: [Build] Gitignore flatten-maven-plugin generated POM files (#4444)
This is an automated email from the ASF dual-hosted git repository.
wolfboys pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampark.git
The following commit(s) were added to refs/heads/dev by this push:
new 0a59e0440 [Build] Gitignore flatten-maven-plugin generated POM files (#4444)
0a59e0440 is described below
commit 0a59e04405189107963fe835d4cd344085a490b4
Author: Assert <42...@users.noreply.github.com>
AuthorDate: Wed Jul 22 12:53:56 2026 +0800
[Build] Gitignore flatten-maven-plugin generated POM files (#4444)
Remove committed .flattened-pom.xml build artifacts and ignore them
going forward, matching Apache SeaTunnel's ${revision} workflow.
---
.flattened-pom.xml | 909 ---------------------
.gitignore | 1 +
streampark-common/.flattened-pom.xml | 178 ----
streampark-flink/.flattened-pom.xml | 83 --
.../streampark-flink-shims/.flattened-pom.xml | 49 --
.../streampark-flink-shims-base/.flattened-pom.xml | 99 ---
.../.flattened-pom.xml | 87 --
.../streampark-flink-sqlclient/.flattened-pom.xml | 134 ---
streampark-spark/.flattened-pom.xml | 111 ---
.../streampark-spark-core/.flattened-pom.xml | 35 -
.../streampark-spark-sqlclient/.flattened-pom.xml | 104 ---
11 files changed, 1 insertion(+), 1789 deletions(-)
diff --git a/.flattened-pom.xml b/.flattened-pom.xml
deleted file mode 100644
index edb1ebce6..000000000
--- a/.flattened-pom.xml
+++ /dev/null
@@ -1,909 +0,0 @@
-<?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 https://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</groupId>
- <artifactId>apache</artifactId>
- <version>25</version>
- </parent>
- <groupId>org.apache.streampark</groupId>
- <artifactId>streampark</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>StreamPark Project Parent POM</name>
- <description>StreamPark, Make stream processing easier! easy-to-use streaming application development framework and operation
- platform</description>
- <url>https://streampark.apache.org/</url>
- <organization>
- <name>Apache Software Foundation</name>
- <url>https://www.apache.org</url>
- </organization>
- <licenses>
- <license>
- <name>The Apache License, Version 2.0</name>
- <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
- </license>
- </licenses>
- <mailingLists>
- <mailingList>
- <name>StreamPark Developer List</name>
- <subscribe>dev-subscribe@streampark.apache.org</subscribe>
- <unsubscribe>dev-unsubscribe@streampark.apache.org</unsubscribe>
- <post>dev@streampark.apache.org</post>
- </mailingList>
- <mailingList>
- <name>StreamPark Commits List</name>
- <subscribe>commits-subscribe@streampark.apache.org</subscribe>
- <unsubscribe>commits-unsubscribe@streampark.apache.org</unsubscribe>
- <post>commits@streampark.apache.org</post>
- </mailingList>
- </mailingLists>
- <modules>
- <module>streampark-common</module>
- <module>streampark-flink</module>
- <module>streampark-spark</module>
- <module>streampark-console</module>
- </modules>
- <scm>
- <connection>scm:git:git://github.com/apache/streampark.git</connection>
- <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/streampark.git</developerConnection>
- <url>scm:git:git@github.com:apache/streampark.git</url>
- </scm>
- <issueManagement>
- <system>GitHub</system>
- <url>https://github.com/apache/streampark/issues</url>
- </issueManagement>
- <properties>
- <logback.version>1.2.11</logback.version>
- <testcontainer.version>1.19.8</testcontainer.version>
- <spotless.scalafmt.version>3.7.5</spotless.scalafmt.version>
- <spark.version>3.1.2</spark.version>
- <maven-silencer-plugin.version>1.7.13</maven-silencer-plugin.version>
- <scala.binary.flink.version>_${scala.binary.version}</scala.binary.flink.version>
- <mockito-scala.version>1.17.14</mockito-scala.version>
- <streampark.flink.shims.version>1.14</streampark.flink.shims.version>
- <maven-scalastyle-plugin.version>1.0.0</maven-scalastyle-plugin.version>
- <grpc.version>1.15.0</grpc.version>
- <json4s-jackson.version>3.7.0-M11</json4s-jackson.version>
- <owasp.skip>true</owasp.skip>
- <scala.xml.version>1.3.0</scala.xml.version>
- <snakeyaml.version>2.0</snakeyaml.version>
- <lombok.version>1.18.24</lombok.version>
- <maven-apache-rat-plugin.version>0.13</maven-apache-rat-plugin.version>
- <maven-spotless-plugin.version>2.27.2</maven-spotless-plugin.version>
- <commons-cli.version>1.5.0</commons-cli.version>
- <redis.version>3.3.0</redis.version>
- <jackson.version>2.13.5</jackson.version>
- <scalatest.version>3.2.9</scalatest.version>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <commons-net.version>3.9.0</commons-net.version>
- <zoopkeeper.version>3.6.3</zoopkeeper.version>
- <maven.scaladoc.skip>false</maven.scaladoc.skip>
- <typesafe-conf.version>1.4.2</typesafe-conf.version>
- <streampark.shaded.package>org.apache.streampark.shaded</streampark.shaded.package>
- <flink.connector.version>3.2.0-1.18</flink.connector.version>
- <mockito.version>3.4.6</mockito.version>
- <maven-source-plugin.version>2.2.1</maven-source-plugin.version>
- <flink.shaded.version>1.8.1</flink.shaded.version>
- <httpclient5.version>5.1</httpclient5.version>
- <maven-deploy-plugin.version>3.0.0-M1</maven-deploy-plugin.version>
- <es.version>6.2.3</es.version>
- <hadoop.version>3.3.4</hadoop.version>
- <hbase.version>2.1.10</hbase.version>
- <flink.version>1.20.1</flink.version>
- <maven.scalastyle.skip>false</maven.scalastyle.skip>
- <protobuf.version>2.5.0</protobuf.version>
- <maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
- <build-helper-maven-plugin.version>3.3.0</build-helper-maven-plugin.version>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <scala.version>2.12.17</scala.version>
- <scala-maven-plugin.version>4.7.1</scala-maven-plugin.version>
- <flink.elasticserch.connector.version>3.0.1-1.17</flink.elasticserch.connector.version>
- <maven-checkstyle-plugin.version>3.2.0</maven-checkstyle-plugin.version>
- <influxdb.version>2.17</influxdb.version>
- <scala.binary.version>2.12</scala.binary.version>
- <maven-javadoc-plugin.version>2.9.1</maven-javadoc-plugin.version>
- <maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
- <assertj.version>3.23.1</assertj.version>
- <enumeratum.version>1.6.1</enumeratum.version>
- <commons-lang3.version>3.12.0</commons-lang3.version>
- <slf4j.version>1.7.32</slf4j.version>
- <project.build.jdk>1.8</project.build.jdk>
- <mysql.version>8.0.27</mysql.version>
- <scalikejdbc.version>4.0.0</scalikejdbc.version>
- <rat.skip>false</rat.skip>
- <spotless.skip>false</spotless.skip>
- <guava.version>30.0-jre</guava.version>
- <hive.version>2.3.4</hive.version>
- <maven-shade-plugin.version>3.2.4</maven-shade-plugin.version>
- <flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
- <jupiter.version>5.9.1</jupiter.version>
- <hikariCP.version>3.4.5</hikariCP.version>
- <streampark.shaded.version>1.0.0</streampark.shaded.version>
- <caffeine.version>2.8.6</caffeine.version>
- <revision>3.0.0-SNAPSHOT</revision>
- </properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>force-shading</artifactId>
- <version>${flink.shaded.version}</version>
- </dependency>
- <dependency>
- <groupId>org.scala-lang</groupId>
- <artifactId>scala-library</artifactId>
- <version>${scala.version}</version>
- </dependency>
- <dependency>
- <groupId>org.scala-lang</groupId>
- <artifactId>scala-compiler</artifactId>
- <version>${scala.version}</version>
- </dependency>
- <dependency>
- <groupId>org.scala-lang</groupId>
- <artifactId>scala-reflect</artifactId>
- <version>${scala.version}</version>
- </dependency>
- <dependency>
- <groupId>org.scala-lang.modules</groupId>
- <artifactId>scala-xml_${scala.binary.version}</artifactId>
- <version>${scala.xml.version}</version>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- <version>${guava.version}</version>
- <exclusions>
- <exclusion>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- </exclusion>
- <exclusion>
- <groupId>com.google.errorprone</groupId>
- <artifactId>error_prone_annotations</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.beachape</groupId>
- <artifactId>enumeratum_${scala.binary.version}</artifactId>
- <version>${enumeratum.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.scala-lang</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.streampark</groupId>
- <artifactId>streampark-common_${scala.binary.version}</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.github.ben-manes.caffeine</groupId>
- <artifactId>caffeine</artifactId>
- <version>${caffeine.version}</version>
- <exclusions>
- <exclusion>
- <groupId>com.google.errorprone</groupId>
- <artifactId>error_prone_annotations</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>${mysql.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.zookeeper</groupId>
- <artifactId>zookeeper</artifactId>
- <version>${zoopkeeper.version}</version>
- </dependency>
- <dependency>
- <groupId>redis.clients</groupId>
- <artifactId>jedis</artifactId>
- <version>${redis.version}</version>
- </dependency>
- <dependency>
- <groupId>com.zaxxer</groupId>
- <artifactId>HikariCP</artifactId>
- <version>${hikariCP.version}</version>
- </dependency>
- <dependency>
- <groupId>com.typesafe</groupId>
- <artifactId>config</artifactId>
- <version>${typesafe-conf.version}</version>
- </dependency>
- <dependency>
- <groupId>org.yaml</groupId>
- <artifactId>snakeyaml</artifactId>
- <version>${snakeyaml.version}</version>
- </dependency>
- <dependency>
- <groupId>org.json4s</groupId>
- <artifactId>json4s-jackson_${scala.binary.version}</artifactId>
- <version>${json4s-jackson.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.scala-lang</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- <version>${jackson.version}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-core</artifactId>
- <version>${jackson.version}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.module</groupId>
- <artifactId>jackson-module-scala_${scala.binary.version}</artifactId>
- <version>${jackson.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.scala-lang</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- <version>${commons-lang3.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-cli</groupId>
- <artifactId>commons-cli</artifactId>
- <version>${commons-cli.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-net</groupId>
- <artifactId>commons-net</artifactId>
- <version>${commons-net.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-collections4</artifactId>
- <version>${commons-collections4.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents.client5</groupId>
- <artifactId>httpclient5</artifactId>
- <version>${httpclient5.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents.client5</groupId>
- <artifactId>httpclient5-fluent</artifactId>
- <version>${httpclient5.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-client-api</artifactId>
- <version>${hadoop.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.xerial.snappy</groupId>
- <artifactId>snappy-java</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-client-runtime</artifactId>
- <version>${hadoop.version}</version>
- <exclusions>
- <exclusion>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.xerial.snappy</groupId>
- <artifactId>snappy-java</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.hbase</groupId>
- <artifactId>hbase-client</artifactId>
- <version>${hbase.version}</version>
- <exclusions>
- <exclusion>
- <groupId>log4j</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>log4j-over-slf4j</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>${logback.version}</version>
- <exclusions>
- <exclusion>
- <groupId>log4j</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>${lombok.version}</version>
- </dependency>
- <dependency>
- <groupId>org.testcontainers</groupId>
- <artifactId>testcontainers</artifactId>
- <version>${testcontainer.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.testcontainers</groupId>
- <artifactId>mysql</artifactId>
- <version>${testcontainer.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.testcontainers</groupId>
- <artifactId>postgresql</artifactId>
- <version>${testcontainer.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-engine</artifactId>
- <version>${jupiter.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-api</artifactId>
- <version>${jupiter.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-params</artifactId>
- <version>${jupiter.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.assertj</groupId>
- <artifactId>assertj-core</artifactId>
- <version>${assertj.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>force-shading</artifactId>
- </dependency>
- <dependency>
- <groupId>org.scala-lang</groupId>
- <artifactId>scala-library</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.scala-lang</groupId>
- <artifactId>scala-compiler</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.scala-lang</groupId>
- <artifactId>scala-reflect</artifactId>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <build>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- </resource>
- </resources>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>${build-helper-maven-plugin.version}</version>
- <executions>
- <execution>
- <id>add-source</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>add-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>${basedir}/src/main/java</source>
- <source>${basedir}/src/main/scala</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>${maven-checkstyle-plugin.version}</version>
- <executions>
- <execution>
- <id>validate</id>
- <phase>process-sources</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>com.puppycrawl.tools</groupId>
- <artifactId>checkstyle</artifactId>
- <version>8.14</version>
- </dependency>
- </dependencies>
- <configuration>
- <suppressionsLocation>${maven.multiModuleProjectDirectory}/tools/checkstyle/suppressions.xml</suppressionsLocation>
- <configLocation>${maven.multiModuleProjectDirectory}/tools/checkstyle/checkstyle.xml</configLocation>
- <inputEncoding>UTF-8</inputEncoding>
- <outputEncoding>UTF-8</outputEncoding>
- <consoleOutput>true</consoleOutput>
- <includeTestSourceDirectory>false</includeTestSourceDirectory>
- <failOnViolation>true</failOnViolation>
- <sourceDirectories>
- <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
- <sourceDirectory>${project.build.testSourceDirectory}</sourceDirectory>
- </sourceDirectories>
- <resourceIncludes>**/*.properties,
- **/*.sh,
- **/*.bat,
- **/*.yml,
- **/*.yaml,
- **/*.xml,
- **/*.dict</resourceIncludes>
- <resourceExcludes>**/.asf.yaml,
- **/.github/**,
- **/crd/**.yml,
- **/crd/**.yaml</resourceExcludes>
- <excludes>**/*.java,
- **/*.scala</excludes>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.scalastyle</groupId>
- <artifactId>scalastyle-maven-plugin</artifactId>
- <version>${maven-scalastyle-plugin.version}</version>
- <executions>
- <execution>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <verbose>false</verbose>
- <failOnViolation>true</failOnViolation>
- <includeTestSourceDirectory>true</includeTestSourceDirectory>
- <failOnWarning>false</failOnWarning>
- <sourceDirectory>${project.basedir}/src/main/scala</sourceDirectory>
- <testSourceDirectory>${project.basedir}/src/test/scala</testSourceDirectory>
- <configLocation>${maven.multiModuleProjectDirectory}/tools/checkstyle/scalastyle-config.xml</configLocation>
- <outputFile>${project.build.directory}/scalastyle-output.xml</outputFile>
- <outputEncoding>UTF-8</outputEncoding>
- <skip>${maven.scalastyle.skip}</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>com.diffplug.spotless</groupId>
- <artifactId>spotless-maven-plugin</artifactId>
- <version>${maven-spotless-plugin.version}</version>
- <executions>
- <execution>
- <id>spotless-check</id>
- <phase>validate</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <skip>${spotless.skip}</skip>
- <java>
- <includes>
- <include>src/main/java/**/*.java</include>
- <include>src/test/java/**/*.java</include>
- <include>streampark-e2e/streampark-e2e-case/src/test/java/**/*.java</include>
- <include>streampark-e2e/streampark-e2e-core/src/main/java/**/*.java</include>
- </includes>
- <eclipse>
- <file>${maven.multiModuleProjectDirectory}/tools/checkstyle/spotless_streampark_formatter.xml</file>
- </eclipse>
- <licenseHeader>
- <file>${maven.multiModuleProjectDirectory}/tools/checkstyle/copyright.txt</file>
- </licenseHeader>
- <importOrder>
- <order>org.apache.streampark,org.apache.streampark.shaded,org.apache,,javax,java,scala,\#</order>
- </importOrder>
- <replaceRegex>
- <name>Remove wildcard imports</name>
- <searchRegex>import\s+(static)*\s*[^\*\s]+\*;(\r\n|\r|\n)</searchRegex>
- <replacement>$1</replacement>
- </replaceRegex>
- <replaceRegex>
- <name>Block powermock</name>
- <searchRegex>import\s+org\.powermock\.[^\*\s]*(|\*);(\r\n|\r|\n)</searchRegex>
- <replacement>$1</replacement>
- </replaceRegex>
- <replaceRegex>
- <name>Block jUnit4 imports</name>
- <searchRegex>import\s+org\.junit\.[^jupiter][^\*\s]*(|\*);(\r\n|\r|\n)</searchRegex>
- <replacement>$1</replacement>
- </replaceRegex>
- <removeUnusedImports></removeUnusedImports>
- </java>
- <scala>
- <includes>
- <include>src/main/scala/**/*.scala</include>
- <include>src/main/scala-*/**/*.scala</include>
- <include>src/test/scala/**/*.scala</include>
- <include>src/test/scala-*/**/*.scala</include>
- </includes>
- <scalafmt>
- <version>${spotless.scalafmt.version}</version>
- <file>${maven.multiModuleProjectDirectory}/tools/checkstyle/.scalafmt.conf</file>
- </scalafmt>
- <licenseHeader>
- <file>${maven.multiModuleProjectDirectory}/tools/checkstyle/copyright.txt</file>
- </licenseHeader>
- </scala>
- <pom>
- <includes>
- <include>pom.xml</include>
- </includes>
- <sortPom>
- <encoding>${project.build.sourceEncoding}</encoding>
- <expandEmptyElements>true</expandEmptyElements>
- <indentSchemaLocation>true</indentSchemaLocation>
- <nrOfIndentSpace>4</nrOfIndentSpace>
- </sortPom>
- </pom>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>${maven-compiler-plugin.version}</version>
- <configuration>
- <source>${project.build.jdk}</source>
- <target>${project.build.jdk}</target>
- <encoding>UTF-8</encoding>
- <useIncrementalCompilation>false</useIncrementalCompilation>
- <compilerArgs>
- <arg>-Xpkginfo:always</arg>
- </compilerArgs>
- </configuration>
- </plugin>
- <plugin>
- <groupId>net.alchim31.maven</groupId>
- <artifactId>scala-maven-plugin</artifactId>
- <version>${scala-maven-plugin.version}</version>
- <executions>
- <execution>
- <id>install-scala</id>
- <phase>process-resources</phase>
- <goals>
- <goal>add-source</goal>
- <goal>compile</goal>
- </goals>
- </execution>
- <execution>
- <id>test-compile-scala</id>
- <phase>test-compile</phase>
- <goals>
- <goal>testCompile</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <addScalacArgs>-target:jvm-${project.build.jdk}</addScalacArgs>
- <target>${project.build.jdk}</target>
- <source>${project.build.jdk}</source>
- <args>
- <arg>-unchecked</arg>
- <arg>-deprecation</arg>
- <arg>-feature</arg>
- <arg>-explaintypes</arg>
- <arg>-P:silencer:globalFilters=.*deprecated.*</arg>
- <arg>-P:silencer:globalFilters=.*Could not find any member to link for.*</arg>
- <arg>-P:silencer:globalFilters=.*undefined in comment for class.*</arg>
- <arg>-Xfatal-warnings</arg>
- <arg>-Ywarn-unused:imports</arg>
- </args>
- <jvmArgs>
- <jvmArg>-Xms1024m</jvmArg>
- <jvmArg>-Xmx1024m</jvmArg>
- <jvmArg>-XX:ReservedCodeCacheSize=512M</jvmArg>
- </jvmArgs>
- <javacArgs>
- <javacArg>-Xlint:all,-serial,-path,-try,-processing</javacArg>
- </javacArgs>
- <compilerPlugins>
- <compilerPlugin>
- <groupId>com.github.ghik</groupId>
- <artifactId>silencer-plugin_${scala.version}</artifactId>
- <version>${maven-silencer-plugin.version}</version>
- </compilerPlugin>
- </compilerPlugins>
- <skip>${maven.scaladoc.skip}</skip>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-shade-plugin</artifactId>
- <version>${maven-shade-plugin.version}</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <shadedArtifactId>true</shadedArtifactId>
- <createDependencyReducedPom>true</createDependencyReducedPom>
- <dependencyReducedPomLocation>${project.basedir}/target/dependency-reduced-pom.xml</dependencyReducedPomLocation>
- <artifactSet>
- <includes>
- <include>org.apache.flink:force-shading</include>
- </includes>
- </artifactSet>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- <version>${maven-source-plugin.version}</version>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar-no-fork</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>${maven-javadoc-plugin.version}</version>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <quiet>true</quiet>
- <additionalparam>-Xdoclint:none</additionalparam>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-gpg-plugin</artifactId>
- <version>${maven-gpg-plugin.version}</version>
- <executions>
- <execution>
- <id>sign-release-artifacts</id>
- <phase>verify</phase>
- <goals>
- <goal>sign</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>${maven-deploy-plugin.version}</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>flatten-maven-plugin</artifactId>
- <version>${flatten-maven-plugin.version}</version>
- <executions>
- <execution>
- <id>flatten</id>
- <phase>process-resources</phase>
- <goals>
- <goal>flatten</goal>
- </goals>
- </execution>
- <execution>
- <id>flatten.clean</id>
- <phase>clean</phase>
- <goals>
- <goal>clean</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <updatePomFile>true</updatePomFile>
- <flattenMode>resolveCiFriendliesOnly</flattenMode>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <version>${maven-apache-rat-plugin.version}</version>
- <executions>
- <execution>
- <id>rat-validate</id>
- <phase>validate</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <skip>${rat.skip}</skip>
- <excludes>
- <exclude>.asf.yaml</exclude>
- <exclude>.git-blame-ignore-revs</exclude>
- <exclude>.editorconfig</exclude>
- <exclude>.git/</exclude>
- <exclude>.github/**</exclude>
- <exclude>.gitignore</exclude>
- <exclude>.licenserc.yaml</exclude>
- <exclude>.scalafmt.conf</exclude>
- <exclude>**/.idea/</exclude>
- <exclude>**/*.iml</exclude>
- <exclude>**/*.txt</exclude>
- <exclude>**/*.json</exclude>
- <exclude>**/*.md</exclude>
- <exclude>**/*.log</exclude>
- <exclude>**/.gitkeep</exclude>
- <exclude>**/.settings/*</exclude>
- <exclude>**/.classpath</exclude>
- <exclude>**/.project</exclude>
- <exclude>**/target/**</exclude>
- <exclude>**/out/**</exclude>
- <exclude>**/META-INF/**</exclude>
- <exclude>.mvn/**</exclude>
- <exclude>compiler/**</exclude>
- <exclude>dist-material/**</exclude>
- <exclude>docker/**</exclude>
- <exclude>mvnw</exclude>
- <exclude>mvnw.cmd</exclude>
- <exclude>README.md</exclude>
- <exclude>src/main/assembly/**</exclude>
- <exclude>src/main/resources/alert-template/**</exclude>
- <exclude>src/main/resources/*.dict</exclude>
- <exclude>streampark-console-webapp/**</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-shade-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- </plugin>
- <plugin>
- <artifactId>maven-checkstyle-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.scalastyle</groupId>
- <artifactId>scalastyle-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>com.diffplug.spotless</groupId>
- <artifactId>spotless-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.owasp</groupId>
- <artifactId>dependency-check-maven</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>flatten-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>shaded</id>
- <modules>
- <module>streampark-shaded</module>
- </modules>
- </profile>
- <profile>
- <id>apache-release</id>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- </plugin>
- <plugin>
- <artifactId>maven-deploy-plugin</artifactId>
- </plugin>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- </plugin>
- <plugin>
- <artifactId>maven-gpg-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>spark</id>
- <modules>
- <module>streampark-spark</module>
- </modules>
- </profile>
- <profile>
- <id>fast</id>
- <properties>
- <maven.scalastyle.skip>true</maven.scalastyle.skip>
- <maven.scaladoc.skip>true</maven.scaladoc.skip>
- <skipTests>true</skipTests>
- <spotless.skip>true</spotless.skip>
- <rat.skip>true</rat.skip>
- <maven.javadoc.skip>true</maven.javadoc.skip>
- <owasp.skip>true</owasp.skip>
- <enforcer.skip>true</enforcer.skip>
- </properties>
- </profile>
- </profiles>
-</project>
diff --git a/.gitignore b/.gitignore
index a460e3033..0f5129ad8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,6 +24,7 @@
.project
out/
target/
+*.flattened-pom.xml
*.log*
tmp/
*.iml
diff --git a/streampark-common/.flattened-pom.xml b/streampark-common/.flattened-pom.xml
deleted file mode 100644
index 051648511..000000000
--- a/streampark-common/.flattened-pom.xml
+++ /dev/null
@@ -1,178 +0,0 @@
-<?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 https://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.streampark</groupId>
- <artifactId>streampark</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- </parent>
- <artifactId>streampark-common_${scala.binary.version}</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- <name>StreamPark : Common</name>
- <licenses>
- <license>
- <name>The Apache License, Version 2.0</name>
- <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
- </license>
- </licenses>
- <dependencies>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-scala_${scala.binary.version}</artifactId>
- <version>${mockito-scala.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.scalatest</groupId>
- <artifactId>scalatest_${scala.binary.version}</artifactId>
- <version>${scalatest.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-engine</artifactId>
- <version>${jupiter.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-params</artifactId>
- <version>${jupiter.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.beachape</groupId>
- <artifactId>enumeratum_${scala.binary.version}</artifactId>
- </dependency>
- <dependency>
- <groupId>redis.clients</groupId>
- <artifactId>jedis</artifactId>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>com.zaxxer</groupId>
- <artifactId>HikariCP</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.yaml</groupId>
- <artifactId>snakeyaml</artifactId>
- </dependency>
- <dependency>
- <groupId>com.typesafe</groupId>
- <artifactId>config</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.hbase</groupId>
- <artifactId>hbase-client</artifactId>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-client-api</artifactId>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-client-runtime</artifactId>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>org.mongodb</groupId>
- <artifactId>mongo-java-driver</artifactId>
- <version>3.12.2</version>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents.client5</groupId>
- <artifactId>httpclient5</artifactId>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-resolver</artifactId>
- <version>4.1.65.Final</version>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>org.apache.streampark</groupId>
- <artifactId>streampark-shaded-slf4j</artifactId>
- <version>${streampark.shaded.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.streampark</groupId>
- <artifactId>streampark-shaded-jackson</artifactId>
- <version>${streampark.shaded.version}</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>net.alchim31.maven</groupId>
- <artifactId>scala-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <artifactId>maven-shade-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <createDependencyReducedPom>true</createDependencyReducedPom>
- <dependencyReducedPomLocation>${project.basedir}/target/dependency-reduced-pom.xml</dependencyReducedPomLocation>
- <artifactSet>
- <includes>
- <include>com.beachape:*</include>
- <include>io.netty:netty-resolver</include>
- </includes>
- </artifactSet>
- <relocations>
- <relocation>
- <pattern>io.netty.resolver</pattern>
- <shadedPattern>${streampark.shaded.package}.io.netty.resolver</shadedPattern>
- </relocation>
- </relocations>
- <filters>
- <filter>
- <artifact>*:*</artifact>
- <excludes>
- <exclude>META-INF/*.SF</exclude>
- <exclude>META-INF/*.DSA</exclude>
- <exclude>META-INF/*.RSA</exclude>
- </excludes>
- </filter>
- </filters>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/streampark-flink/.flattened-pom.xml b/streampark-flink/.flattened-pom.xml
deleted file mode 100644
index 548f1e895..000000000
--- a/streampark-flink/.flattened-pom.xml
+++ /dev/null
@@ -1,83 +0,0 @@
-<?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 https://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.streampark</groupId>
- <artifactId>streampark</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- </parent>
- <artifactId>streampark-flink</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>StreamPark : Flink Parent</name>
- <licenses>
- <license>
- <name>The Apache License, Version 2.0</name>
- <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
- </license>
- </licenses>
- <modules>
- <module>streampark-flink-shims</module>
- <module>streampark-flink-sqlclient</module>
- <module>streampark-flink-udf</module>
- <module>streampark-flink-client</module>
- <module>streampark-flink-proxy</module>
- <module>streampark-flink-packer</module>
- <module>streampark-flink-kubernetes</module>
- </modules>
- <dependencies>
- <dependency>
- <groupId>org.scalatest</groupId>
- <artifactId>scalatest_${scala.binary.version}</artifactId>
- <version>${scalatest.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-engine</artifactId>
- <version>${jupiter.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-params</artifactId>
- <version>${jupiter.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.assertj</groupId>
- <artifactId>assertj-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-table-api-java-uber</artifactId>
- <version>1.19.0</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>net.alchim31.maven</groupId>
- <artifactId>scala-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/streampark-flink/streampark-flink-shims/.flattened-pom.xml b/streampark-flink/streampark-flink-shims/.flattened-pom.xml
deleted file mode 100644
index c87f2dc9b..000000000
--- a/streampark-flink/streampark-flink-shims/.flattened-pom.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?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 https://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.streampark</groupId>
- <artifactId>streampark-flink</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- </parent>
- <artifactId>streampark-flink-shims</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>StreamPark : Flink Shims Parent</name>
- <licenses>
- <license>
- <name>The Apache License, Version 2.0</name>
- <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
- </license>
- </licenses>
- <modules>
- <module>streampark-flink-shims-base</module>
- <module>streampark-flink-shims-test</module>
- <module>streampark-flink-shims_flink-1.12</module>
- <module>streampark-flink-shims_flink-1.13</module>
- <module>streampark-flink-shims_flink-1.14</module>
- <module>streampark-flink-shims_flink-1.15</module>
- <module>streampark-flink-shims_flink-1.16</module>
- <module>streampark-flink-shims_flink-1.17</module>
- <module>streampark-flink-shims_flink-1.18</module>
- <module>streampark-flink-shims_flink-1.19</module>
- <module>streampark-flink-shims_flink-1.20</module>
- </modules>
-</project>
diff --git a/streampark-flink/streampark-flink-shims/streampark-flink-shims-base/.flattened-pom.xml b/streampark-flink/streampark-flink-shims/streampark-flink-shims-base/.flattened-pom.xml
deleted file mode 100644
index a77900261..000000000
--- a/streampark-flink/streampark-flink-shims/streampark-flink-shims-base/.flattened-pom.xml
+++ /dev/null
@@ -1,99 +0,0 @@
-<?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 https://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.streampark</groupId>
- <artifactId>streampark-flink-shims</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- </parent>
- <artifactId>streampark-flink-shims-base_${scala.binary.version}</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- <name>StreamPark : Flink Shims Base</name>
- <licenses>
- <license>
- <name>The Apache License, Version 2.0</name>
- <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
- </license>
- </licenses>
- <dependencies>
- <dependency>
- <groupId>org.apache.streampark</groupId>
- <artifactId>streampark-common_${scala.binary.version}</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-core</artifactId>
- <version>${flink.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-scala_${scala.binary.version}</artifactId>
- <version>${flink.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-clients</artifactId>
- <version>${flink.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-kubernetes</artifactId>
- <version>${flink.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-streaming-scala_${scala.binary.version}</artifactId>
- <version>${flink.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-table-api-scala-bridge_${scala.binary.version}</artifactId>
- <version>${flink.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-table-api-java</artifactId>
- <version>${flink.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-table-planner_${scala.binary.version}</artifactId>
- <version>${flink.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-client-api</artifactId>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-client-runtime</artifactId>
- <optional>true</optional>
- </dependency>
- </dependencies>
-</project>
diff --git a/streampark-flink/streampark-flink-shims/streampark-flink-shims_flink-1.14/.flattened-pom.xml b/streampark-flink/streampark-flink-shims/streampark-flink-shims_flink-1.14/.flattened-pom.xml
deleted file mode 100644
index 1b735f0b9..000000000
--- a/streampark-flink/streampark-flink-shims/streampark-flink-shims_flink-1.14/.flattened-pom.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-<?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 https://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.streampark</groupId>
- <artifactId>streampark-flink-shims</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- </parent>
- <artifactId>streampark-flink-shims_flink-1.14_${scala.binary.version}</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- <name>StreamPark : Flink Shims 1.14</name>
- <licenses>
- <license>
- <name>The Apache License, Version 2.0</name>
- <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
- </license>
- </licenses>
- <properties>
- <flink.version>1.14.3</flink.version>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.apache.streampark</groupId>
- <artifactId>streampark-flink-shims-base_${scala.binary.version}</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-table-api-scala_${scala.binary.version}</artifactId>
- <version>${flink.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-scala_${scala.binary.version}</artifactId>
- <version>${flink.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-streaming-scala_${scala.binary.version}</artifactId>
- <version>${flink.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-table-uber_${scala.binary.version}</artifactId>
- <version>${flink.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-statebackend-rocksdb_${scala.binary.version}</artifactId>
- <version>${flink.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-yarn_${scala.binary.version}</artifactId>
- <version>${flink.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-kubernetes_${scala.binary.version}</artifactId>
- <version>${flink.version}</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
-</project>
diff --git a/streampark-flink/streampark-flink-sqlclient/.flattened-pom.xml b/streampark-flink/streampark-flink-sqlclient/.flattened-pom.xml
deleted file mode 100644
index 0a1e3698d..000000000
--- a/streampark-flink/streampark-flink-sqlclient/.flattened-pom.xml
+++ /dev/null
@@ -1,134 +0,0 @@
-<?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 https://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.streampark</groupId>
- <artifactId>streampark-flink</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- </parent>
- <artifactId>streampark-flink-sqlclient_${scala.binary.version}</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- <name>StreamPark : Flink SQL Client</name>
- <licenses>
- <license>
- <name>The Apache License, Version 2.0</name>
- <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
- </license>
- </licenses>
- <dependencies>
- <dependency>
- <groupId>com.beachape</groupId>
- <artifactId>enumeratum_${scala.binary.version}</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.streampark</groupId>
- <artifactId>streampark-flink-shims-base_${scala.binary.version}</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.streampark</groupId>
- <artifactId>streampark-flink-shims_flink-${streampark.flink.shims.version}_${scala.binary.version}</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-table-api-scala_${scala.binary.version}</artifactId>
- <version>${flink.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-scala_${scala.binary.version}</artifactId>
- <version>${flink.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-streaming-scala_${scala.binary.version}</artifactId>
- <version>${flink.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-table-api-scala-bridge_${scala.binary.version}</artifactId>
- <version>${flink.version}</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>net.alchim31.maven</groupId>
- <artifactId>scala-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <artifactId>maven-shade-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <createDependencyReducedPom>true</createDependencyReducedPom>
- <dependencyReducedPomLocation>${project.basedir}/target/dependency-reduced-pom.xml</dependencyReducedPomLocation>
- <transformers>
- <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
- <mainClass>org.apache.streampark.flink.cli.SqlClient</mainClass>
- </transformer>
- </transformers>
- <artifactSet>
- <includes>
- <include>*:*</include>
- </includes>
- <excludes>
- <exclude>org.apache.flink:force-shading</exclude>
- <exclude>com.google.code.findbugs:jsr305</exclude>
- <exclude>org.slf4j:*</exclude>
- <exclude>log4j:*</exclude>
- </excludes>
- </artifactSet>
- <filters>
- <filter>
- <artifact>*:*</artifact>
- <excludes>
- <exclude>META-INF/*.SF</exclude>
- <exclude>META-INF/*.DSA</exclude>
- <exclude>META-INF/*.RSA</exclude>
- <exclude>Log4j-*.*</exclude>
- </excludes>
- </filter>
- </filters>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>apache-release</id>
- <properties>
- <maven.deploy.skip>true</maven.deploy.skip>
- </properties>
- </profile>
- </profiles>
-</project>
diff --git a/streampark-spark/.flattened-pom.xml b/streampark-spark/.flattened-pom.xml
deleted file mode 100644
index f1cddbd78..000000000
--- a/streampark-spark/.flattened-pom.xml
+++ /dev/null
@@ -1,111 +0,0 @@
-<?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 https://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.streampark</groupId>
- <artifactId>streampark</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- </parent>
- <artifactId>streampark-spark</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>StreamPark : Spark Parent</name>
- <licenses>
- <license>
- <name>The Apache License, Version 2.0</name>
- <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
- </license>
- </licenses>
- <modules>
- <module>streampark-spark-core</module>
- <module>streampark-spark-client</module>
- <module>streampark-spark-sqlclient</module>
- </modules>
- <dependencies>
- <dependency>
- <groupId>org.apache.streampark</groupId>
- <artifactId>streampark-common_2.12</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.spark</groupId>
- <artifactId>spark-streaming_2.12</artifactId>
- <version>${spark.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.spark</groupId>
- <artifactId>spark-sql_2.12</artifactId>
- <version>${spark.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.spark</groupId>
- <artifactId>spark-streaming-kafka-0-10_2.12</artifactId>
- <version>${spark.version}</version>
- </dependency>
- <dependency>
- <groupId>com.esotericsoftware</groupId>
- <artifactId>kryo-shaded</artifactId>
- <version>4.0.2</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.json4s</groupId>
- <artifactId>json4s-ast_2.12</artifactId>
- <version>${json4s-jackson.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.json4s</groupId>
- <artifactId>json4s-core_2.12</artifactId>
- <version>${json4s-jackson.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-client-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-client-runtime</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.hbase</groupId>
- <artifactId>hbase-hadoop2-compat</artifactId>
- <version>${hbase.version}</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>net.alchim31.maven</groupId>
- <artifactId>scala-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/streampark-spark/streampark-spark-core/.flattened-pom.xml b/streampark-spark/streampark-spark-core/.flattened-pom.xml
deleted file mode 100644
index 324258992..000000000
--- a/streampark-spark/streampark-spark-core/.flattened-pom.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?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 https://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.streampark</groupId>
- <artifactId>streampark-spark</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- </parent>
- <artifactId>streampark-spark-core_2.12</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- <name>StreamPark : Spark Core</name>
- <licenses>
- <license>
- <name>The Apache License, Version 2.0</name>
- <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
- </license>
- </licenses>
-</project>
diff --git a/streampark-spark/streampark-spark-sqlclient/.flattened-pom.xml b/streampark-spark/streampark-spark-sqlclient/.flattened-pom.xml
deleted file mode 100644
index 3f668b388..000000000
--- a/streampark-spark/streampark-spark-sqlclient/.flattened-pom.xml
+++ /dev/null
@@ -1,104 +0,0 @@
-<?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 https://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.streampark</groupId>
- <artifactId>streampark-spark</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- </parent>
- <artifactId>streampark-spark-sqlclient_${scala.binary.version}</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- <name>StreamPark : Spark SQL Client</name>
- <licenses>
- <license>
- <name>The Apache License, Version 2.0</name>
- <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
- </license>
- </licenses>
- <dependencies>
- <dependency>
- <groupId>com.beachape</groupId>
- <artifactId>enumeratum_${scala.binary.version}</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.streampark</groupId>
- <artifactId>streampark-spark-core_${scala.binary.version}</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>net.alchim31.maven</groupId>
- <artifactId>scala-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <artifactId>maven-shade-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <createDependencyReducedPom>true</createDependencyReducedPom>
- <dependencyReducedPomLocation>${project.basedir}/target/dependency-reduced-pom.xml</dependencyReducedPomLocation>
- <transformers>
- <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
- <mainClass>org.apache.streampark.spark.cli.SqlClient</mainClass>
- </transformer>
- </transformers>
- <artifactSet>
- <includes>
- <include>*:*</include>
- </includes>
- <excludes>
- <exclude>org.apache.spark:force-shading</exclude>
- <exclude>com.google.code.findbugs:jsr305</exclude>
- <exclude>org.slf4j:*</exclude>
- <exclude>log4j:*</exclude>
- </excludes>
- </artifactSet>
- <filters>
- <filter>
- <artifact>*:*</artifact>
- <excludes>
- <exclude>META-INF/*.SF</exclude>
- <exclude>META-INF/*.DSA</exclude>
- <exclude>META-INF/*.RSA</exclude>
- <exclude>Log4j-*.*</exclude>
- </excludes>
- </filter>
- </filters>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>apache-release</id>
- <properties>
- <maven.deploy.skip>true</maven.deploy.skip>
- </properties>
- </profile>
- </profiles>
-</project>