2021-07-29 10:02:31 +08:00
|
|
|
<?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">
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
<groupId>com.zdjizhi</groupId>
|
|
|
|
|
<artifactId>flink-dos-detection</artifactId>
|
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<flink.version>1.13.1</flink.version>
|
|
|
|
|
<hive.version>2.1.1</hive.version>
|
|
|
|
|
<hadoop.version>2.7.1</hadoop.version>
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
|
<repository>
|
|
|
|
|
<id>nexus</id>
|
|
|
|
|
<name>Team Nexus Repository</name>
|
|
|
|
|
<url>http://192.168.40.125:8099/content/groups/public</url>
|
|
|
|
|
</repository>
|
|
|
|
|
|
|
|
|
|
<repository>
|
|
|
|
|
<id>ebi</id>
|
|
|
|
|
<name>www.ebi.ac.uk</name>
|
|
|
|
|
<url>http://www.ebi.ac.uk/intact/maven/nexus/content/groups/public/</url>
|
|
|
|
|
</repository>
|
|
|
|
|
|
|
|
|
|
<repository>
|
|
|
|
|
<id>maven-ali</id>
|
|
|
|
|
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
|
|
|
|
<releases>
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
</releases>
|
|
|
|
|
<snapshots>
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
<updatePolicy>always</updatePolicy>
|
|
|
|
|
<checksumPolicy>fail</checksumPolicy>
|
|
|
|
|
</snapshots>
|
|
|
|
|
</repository>
|
|
|
|
|
|
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
<version>3.8.0</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<source>1.8</source>
|
|
|
|
|
<target>1.8</target>
|
|
|
|
|
<!-- The semantics of this option are reversed, see MCOMPILER-209. -->
|
|
|
|
|
<useIncrementalCompilation>false</useIncrementalCompilation>
|
|
|
|
|
<compilerArgs>
|
|
|
|
|
<!-- Prevents recompilation due to missing package-info.class, see MCOMPILER-205 -->
|
|
|
|
|
<arg>-Xpkginfo:always</arg>
|
|
|
|
|
</compilerArgs>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>flink-dos-detection</id>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>shade</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
|
<finalName>flink-dos-detection</finalName>
|
|
|
|
|
<filters>
|
|
|
|
|
<filter>
|
|
|
|
|
<!-- Do not copy the signatures in the META-INF folder.
|
|
|
|
|
Otherwise, this might cause SecurityExceptions when using the JAR. -->
|
|
|
|
|
<artifact>*:*</artifact>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>META-INF</exclude>
|
2021-07-30 10:55:01 +08:00
|
|
|
<exclude>META-INF/*.SF</exclude>
|
|
|
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
|
|
|
<exclude>META-INF/*.RSA</exclude>
|
2021-07-29 10:02:31 +08:00
|
|
|
</excludes>
|
|
|
|
|
</filter>
|
|
|
|
|
</filters>
|
|
|
|
|
<transformers>
|
|
|
|
|
<transformer
|
|
|
|
|
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
|
|
|
<mainClass>com.zdjizhi.main.DosDetectionApplication</mainClass>
|
|
|
|
|
</transformer>
|
|
|
|
|
</transformers>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
2021-12-20 13:50:18 +08:00
|
|
|
<!-- https://mvnrepository.com/artifact/org.jasypt/jasypt -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jasypt</groupId>
|
|
|
|
|
<artifactId>jasypt</artifactId>
|
|
|
|
|
<version>1.9.3</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-07-29 10:02:31 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
|
<version>1.7.21</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
<version>1.7.21</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.flink</groupId>
|
2021-09-06 16:19:33 +08:00
|
|
|
<artifactId>flink-connector-kafka_2.12</artifactId>
|
2021-07-29 10:02:31 +08:00
|
|
|
<version>${flink.version}</version>
|
|
|
|
|
<!--<scope>provided</scope>-->
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- CLI dependencies -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.flink</groupId>
|
2021-09-06 16:19:33 +08:00
|
|
|
<artifactId>flink-clients_2.12</artifactId>
|
2021-07-29 10:02:31 +08:00
|
|
|
<version>${flink.version}</version>
|
|
|
|
|
<!--<scope>provided</scope>-->
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
|
|
|
|
<version>2.7.1</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>zookeeper</artifactId>
|
|
|
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
|
|
|
</exclusion>
|
2021-07-30 10:55:01 +08:00
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>jdk.tools</artifactId>
|
|
|
|
|
<groupId>jdk.tools</groupId>
|
|
|
|
|
</exclusion>
|
2022-04-08 10:16:29 +08:00
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
</exclusion>
|
2021-07-29 10:02:31 +08:00
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-09-06 16:19:33 +08:00
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.hbase/hbase-client -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-client</artifactId>
|
|
|
|
|
<version>2.2.3</version>
|
2021-09-23 18:36:27 +08:00
|
|
|
<!--<scope>provided</scope>-->
|
2021-09-06 16:19:33 +08:00
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>log4j-over-slf4j</artifactId>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-07-29 10:02:31 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
|
|
|
<artifactId>zookeeper</artifactId>
|
|
|
|
|
<version>3.4.9</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>log4j-over-slf4j</artifactId>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-08-17 18:56:53 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
|
<version>4.5.6</version>
|
|
|
|
|
</dependency>
|
2021-07-29 10:02:31 +08:00
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
|
<version>5.5.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-08-20 11:52:20 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.seancfoley</groupId>
|
|
|
|
|
<artifactId>ipaddress</artifactId>
|
|
|
|
|
<version>5.3.3</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-07-29 10:02:31 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.zdjizhi</groupId>
|
|
|
|
|
<artifactId>galaxy</artifactId>
|
2022-02-11 16:06:24 +08:00
|
|
|
<version>1.0.8</version>
|
2021-07-29 10:02:31 +08:00
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>log4j-over-slf4j</artifactId>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
2022-04-08 10:16:29 +08:00
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba.nacos</groupId>
|
|
|
|
|
<artifactId>nacos-client</artifactId>
|
|
|
|
|
<version>1.2.0</version>
|
2022-06-22 15:58:49 +08:00
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
|
<version>1.11</version>
|
2022-04-08 10:16:29 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
|
<version>4.12</version>
|
|
|
|
|
</dependency>
|
2022-06-22 15:58:49 +08:00
|
|
|
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
|
<version>2.9.10</version>
|
|
|
|
|
</dependency>
|
2022-04-08 10:16:29 +08:00
|
|
|
|
2022-06-22 15:58:49 +08:00
|
|
|
<!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
|
<version>22.0</version>
|
|
|
|
|
</dependency>
|
2021-07-29 10:02:31 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|