294 lines
11 KiB
XML
294 lines
11 KiB
XML
<?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>dynamic_complement</artifactId>
|
|
<groupId>com.zdjizhi</groupId>
|
|
<version>1.0</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>FlumeDynamicInterceptor</artifactId>
|
|
|
|
<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>
|
|
</repositories>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<flume.version>1.9.0</flume.version>
|
|
<hbase.version>2.2.1</hbase.version>
|
|
<!--<hadoop.version>2.8.5</hadoop.version>-->
|
|
<!--<hbase.version>1.4.9</hbase.version>-->
|
|
<!--<hadoop.version>2.7.1</hadoop.version>-->
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>2.4.1</version>
|
|
<configuration>
|
|
<createDependencyReducedPom>true</createDependencyReducedPom>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<transformers>
|
|
<transformer
|
|
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
|
<transformer
|
|
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<mainClass>com.zdjizhi.flume.interceptor.FlumeDynamicApp</mainClass>
|
|
</transformer>
|
|
<transformer
|
|
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
|
|
<resource>META-INF/spring.handlers</resource>
|
|
</transformer>
|
|
<transformer
|
|
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
|
|
<resource>META-INF/spring.schemas</resource>
|
|
</transformer>
|
|
</transformers>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>1.2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<executable>java</executable>
|
|
<includeProjectDependencies>true</includeProjectDependencies>
|
|
<includePluginDependencies>false</includePluginDependencies>
|
|
<classpathScope>compile</classpathScope>
|
|
<mainClass>com.zdjizhi.flume.interceptor.FlumeDynamicApp</mainClass>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>2.3.2</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
<resources>
|
|
<resource>
|
|
<directory>properties</directory>
|
|
<includes>
|
|
<include>**/*.properties</include>
|
|
<include>**/*.xml</include>
|
|
</includes>
|
|
<filtering>false</filtering>
|
|
</resource>
|
|
<!--<resource>-->
|
|
<!--<directory>src/main/java</directory>-->
|
|
<!--<includes>-->
|
|
<!--<include>log4j.properties</include>-->
|
|
<!--</includes>-->
|
|
<!--<filtering>false</filtering>-->
|
|
<!--</resource>-->
|
|
</resources>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.flume</groupId>
|
|
<artifactId>flume-ng-core</artifactId>
|
|
<version>${flume.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.zdjizhi</groupId>
|
|
<artifactId>galaxy</artifactId>
|
|
<!-- <version>1.0.2</version>-->
|
|
<version>1.0.3</version>
|
|
<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>
|
|
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>fastjson</artifactId>
|
|
<version>1.2.47</version>
|
|
</dependency>
|
|
|
|
<!--<dependency>-->
|
|
<!--<groupId>redis.clients</groupId>-->
|
|
<!--<artifactId>jedis</artifactId>-->
|
|
<!--<version>2.8.1</version>-->
|
|
<!--</dependency>-->
|
|
|
|
<!-- <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>-->
|
|
|
|
<dependency>
|
|
<groupId>cglib</groupId>
|
|
<artifactId>cglib-nodep</artifactId>
|
|
<version>3.2.4</version>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>org.apache.hbase</groupId>
|
|
<artifactId>hbase-client</artifactId>
|
|
<version>${hbase.version}</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>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.hbase</groupId>
|
|
<artifactId>hbase-server</artifactId>
|
|
<version>${hbase.version}</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>
|
|
|
|
<!--<dependency>-->
|
|
<!--<groupId>org.apache.hadoop</groupId>-->
|
|
<!--<artifactId>hadoop-common</artifactId>-->
|
|
<!--<version>${hadoop.version}</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>-->
|
|
|
|
<!--<dependency>-->
|
|
<!--<groupId>org.apache.hadoop</groupId>-->
|
|
<!--<artifactId>hadoop-client</artifactId>-->
|
|
<!--<version>${hadoop.version}</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>-->
|
|
|
|
<!--<dependency>-->
|
|
<!--<groupId>org.apache.hadoop</groupId>-->
|
|
<!--<artifactId>hadoop-hdfs</artifactId>-->
|
|
<!--<version>${hadoop.version}</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>-->
|
|
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.junit.jupiter</groupId>-->
|
|
<!-- <artifactId>junit-jupiter-api</artifactId>-->
|
|
<!-- <version>5.3.2</version>-->
|
|
<!-- <scope>compile</scope>-->
|
|
<!-- </dependency>-->
|
|
|
|
<!--<dependency>-->
|
|
<!--<groupId>com.google.guava</groupId>-->
|
|
<!--<artifactId>guava</artifactId>-->
|
|
<!--<!–<version>18.0</version>–>-->
|
|
<!--<version>11.0.2</version>-->
|
|
<!--</dependency>-->
|
|
|
|
<!--<dependency>-->
|
|
<!--<groupId>org.apache.httpcomponents</groupId>-->
|
|
<!--<artifactId>httpclient</artifactId>-->
|
|
<!--<version>4.5.2</version>-->
|
|
<!--</dependency>-->
|
|
|
|
<!--<dependency>-->
|
|
<!--<groupId>org.apache.httpcomponents</groupId>-->
|
|
<!--<artifactId>httpcore</artifactId>-->
|
|
<!--<version>4.4.1</version>-->
|
|
<!--</dependency>-->
|
|
|
|
</dependencies>
|
|
|
|
|
|
</project> |