|
|
|
<?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>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<artifactId>austin</artifactId>
|
|
|
|
<groupId>com.java3y.austin</groupId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>austin-data-house</artifactId>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!-- Flink Dependency -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.flink</groupId>
|
|
|
|
<artifactId>flink-connector-hive_2.12</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.flink</groupId>
|
|
|
|
<artifactId>flink-table-api-java-bridge</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Hive Dependency -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hive</groupId>
|
|
|
|
<artifactId>hive-exec</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<filters>
|
|
|
|
<filter>
|
|
|
|
<!-- 不要拷贝 META-INF 目录下的签名,否则会引起 SecurityExceptions 。 -->
|
|
|
|
<artifact>*:*</artifact>
|
|
|
|
<excludes>
|
|
|
|
<exclude>META-INF/*.SF</exclude>
|
|
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
|
|
</excludes>
|
|
|
|
</filter>
|
|
|
|
</filters>
|
|
|
|
<transformers>
|
|
|
|
<transformer
|
|
|
|
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
|
|
|
|
<resource>META-INF/spring.handlers</resource>
|
|
|
|
</transformer>
|
|
|
|
<transformer
|
|
|
|
implementation="org.springframework.boot.maven.PropertiesMergingResourceTransformer">
|
|
|
|
<resource>META-INF/spring.factories</resource>
|
|
|
|
</transformer>
|
|
|
|
<transformer
|
|
|
|
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
|
|
|
|
<resource>META-INF/spring.schemas</resource>
|
|
|
|
</transformer>
|
|
|
|
<transformer
|
|
|
|
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
|
|
|
<transformer
|
|
|
|
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
|
|
<mainClass>com.java3y.austin.datahouse.AustinHiveBootStrap</mainClass>
|
|
|
|
</transformer>
|
|
|
|
</transformers>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<version>2.2.2.RELEASE</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|