|
@@ -0,0 +1,317 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
+ <parent>
|
|
|
+ <artifactId>sunwin_metro</artifactId>
|
|
|
+ <groupId>org.sunwin</groupId>
|
|
|
+ <version>1.0-SNAPSHOT</version>
|
|
|
+ </parent>
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+
|
|
|
+ <artifactId>flink_1.20</artifactId>
|
|
|
+ <properties>
|
|
|
+ <skipTests>true</skipTests>
|
|
|
+ <flink.version>1.12.0</flink.version>
|
|
|
+ <java.version>1.8</java.version>
|
|
|
+ <scala.binary.version>2.12</scala.binary.version>
|
|
|
+ <maven.compiler.source>1.8</maven.compiler.source>
|
|
|
+ <maven.compiler.target>1.8</maven.compiler.target>
|
|
|
+ <cdh.version>cdh5.16.2</cdh.version>
|
|
|
+ <hbase.version>1.2.0</hbase.version>
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
+ <zookeeper.version>3.4.8</zookeeper.version>
|
|
|
+ <lombok.version>1.18.12</lombok.version>
|
|
|
+ <junit.jupiter.version>5.4.1</junit.jupiter.version>
|
|
|
+ <kudu.version>1.14.0</kudu.version>
|
|
|
+ <flink-function.verion>1.0-SNAPSHOT</flink-function.verion>
|
|
|
+ <mockito.version>1.10.19</mockito.version>
|
|
|
+ <log4j2.version>2.13.3</log4j2.version>
|
|
|
+ <caffeine.version>2.8.8</caffeine.version>
|
|
|
+ <drools.version>7.4.1.Final</drools.version>
|
|
|
+ </properties>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.ejlchina</groupId>
|
|
|
+ <artifactId>okhttps-gson</artifactId>
|
|
|
+ <version>3.1.0</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.flink</groupId>
|
|
|
+ <artifactId>flink-cep_${scala.binary.version}</artifactId>
|
|
|
+ <version>${flink.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.flink</groupId>
|
|
|
+ <artifactId>flink-shaded-hadoop-2-uber</artifactId>
|
|
|
+ <version>2.8.3-10.0</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.flink</groupId>
|
|
|
+ <artifactId>flink-streaming-java_${scala.binary.version}</artifactId>
|
|
|
+ <version>${flink.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.flink</groupId>
|
|
|
+ <artifactId>flink-runtime-web_${scala.binary.version}</artifactId>
|
|
|
+ <version>${flink.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.flink</groupId>
|
|
|
+ <artifactId>flink-core</artifactId>
|
|
|
+ <version>${flink.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.flink</groupId>
|
|
|
+ <artifactId>flink-statebackend-rocksdb_${scala.binary.version}</artifactId>
|
|
|
+ <version>${flink.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.flink</groupId>
|
|
|
+ <artifactId>flink-clients_${scala.binary.version}</artifactId>
|
|
|
+ <version>${flink.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.ahocorasick</groupId>
|
|
|
+ <artifactId>ahocorasick</artifactId>
|
|
|
+ <version>0.4.0</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>joda-time</groupId>
|
|
|
+ <artifactId>joda-time</artifactId>
|
|
|
+ <version>2.3</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
+ <artifactId>jackson-core</artifactId>
|
|
|
+ <version>2.6.7</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.curator</groupId>
|
|
|
+ <artifactId>curator-recipes</artifactId>
|
|
|
+ <version>2.13.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.kudu</groupId>
|
|
|
+ <artifactId>kudu-client</artifactId>
|
|
|
+ <version>${kudu.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.kudu</groupId>
|
|
|
+ <artifactId>kudu-test-utils</artifactId>
|
|
|
+ <version>${kudu.version}</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.github.ben-manes.caffeine</groupId>
|
|
|
+ <artifactId>caffeine</artifactId>
|
|
|
+ <version>${caffeine.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mockito</groupId>
|
|
|
+ <artifactId>mockito-all</artifactId>
|
|
|
+ <version>${mockito.version}</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
+ <version>${lombok.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>mysql</groupId>
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
+ <version>8.0.22</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.flink</groupId>
|
|
|
+ <artifactId>flink-csv</artifactId>
|
|
|
+ <version>${flink.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.flink</groupId>
|
|
|
+ <artifactId>flink-table-api-java-bridge_${scala.binary.version}</artifactId>
|
|
|
+ <version>${flink.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.flink</groupId>
|
|
|
+ <artifactId>flink-table-planner-blink_${scala.binary.version}</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-json</artifactId>
|
|
|
+ <version>${flink.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba.ververica</groupId>
|
|
|
+ <artifactId>flink-connector-mysql-cdc</artifactId>
|
|
|
+ <version>1.2.0</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.flink</groupId>
|
|
|
+ <artifactId>flink-connector-jdbc_${scala.binary.version}</artifactId>
|
|
|
+ <version>${flink.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.junit.jupiter</groupId>
|
|
|
+ <artifactId>junit-jupiter-migrationsupport</artifactId>
|
|
|
+ <version>${junit.jupiter.version}</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.logging.log4j</groupId>
|
|
|
+ <artifactId>log4j-api</artifactId>
|
|
|
+ <version>${log4j2.version}</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.logging.log4j</groupId>
|
|
|
+ <artifactId>log4j-core</artifactId>
|
|
|
+ <version>${log4j2.version}</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.logging.log4j</groupId>
|
|
|
+ <artifactId>log4j-slf4j-impl</artifactId>
|
|
|
+ <version>${log4j2.version}</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <artifactId>flink-connector-kudu_2.11</artifactId>
|
|
|
+ <groupId>org.colloh.kudu.connector</groupId>
|
|
|
+ <version>1.2.1</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.hive</groupId>
|
|
|
+ <artifactId>hive-exec</artifactId>
|
|
|
+ <version>3.1.2</version>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <artifactId>log4j-core</artifactId>
|
|
|
+ <groupId>org.apache.logging.log4j</groupId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <artifactId>log4j-1.2-api</artifactId>
|
|
|
+ <groupId>org.apache.logging.log4j</groupId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <artifactId>log4j-slf4j-impl</artifactId>
|
|
|
+ <groupId>org.apache.logging.log4j</groupId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <artifactId>log4j-web</artifactId>
|
|
|
+ <groupId>org.apache.logging.log4j</groupId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.antlr</groupId>
|
|
|
+ <artifactId>ST4</artifactId>
|
|
|
+ <version>4.0.8</version>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- mysql Github 连接工具 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>pro.husk</groupId>
|
|
|
+ <artifactId>mysql</artifactId>
|
|
|
+ <version>1.4.1-SNAPSHOT</version>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+
|
|
|
+ <!-- 自动生成数据库文档的插件 对象数据库中所有表 -->
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>cn.smallbun.screw</groupId>
|
|
|
+ <artifactId>screw-maven-plugin</artifactId>
|
|
|
+ <!-- 这里的版本号可以用最新的,我现在1.0.4就是最新的 -->
|
|
|
+ <version>1.0.5</version>
|
|
|
+ <dependencies>
|
|
|
+ <!-- HikariCP -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.zaxxer</groupId>
|
|
|
+ <artifactId>HikariCP</artifactId>
|
|
|
+ <version>3.4.5</version>
|
|
|
+ </dependency>
|
|
|
+ <!--mysql driver-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>mysql</groupId>
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
+ <version>8.0.20</version>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ <configuration>
|
|
|
+ <!--username-->
|
|
|
+ <username>root</username>
|
|
|
+ <!--password-->
|
|
|
+ <password>root</password>
|
|
|
+ <!--driver-->
|
|
|
+ <driverClassName>com.mysql.cj.jdbc.Driver</driverClassName>
|
|
|
+ <!--jdbc url-->
|
|
|
+ <jdbcUrl>jdbc:mysql://192.168.20.61:3306/swbd?characterEncoding=utf-8</jdbcUrl>
|
|
|
+ <!--生成文件类型,有HTML WORD MD-->
|
|
|
+ <fileType>WORD</fileType>
|
|
|
+ <!--打开文件输出目录-->
|
|
|
+ <openOutputDir>false</openOutputDir>
|
|
|
+ <!--生成模板-->
|
|
|
+ <produceType>freemarker</produceType>
|
|
|
+ <!--文档名称 为空时:将采用[数据库名称-描述-版本号]作为文档名称-->
|
|
|
+ <fileName>测试文档名称</fileName>
|
|
|
+ <!--描述-->
|
|
|
+ <description>数据库文档生成</description>
|
|
|
+ <!--版本-->
|
|
|
+ <version>${project.version}</version>
|
|
|
+ <!--标题-->
|
|
|
+ <title>数据库文档</title>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <phase>compile</phase>
|
|
|
+ <goals>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+
|
|
|
+</project>
|