151 lines
6.2 KiB
XML
151 lines
6.2 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>field_splitter_complement</artifactId>
|
||
|
|
<groupId>cn.ceiec</groupId>
|
||
|
|
<version>1.0</version>
|
||
|
|
</parent>
|
||
|
|
<modelVersion>4.0.0</modelVersion>
|
||
|
|
|
||
|
|
<artifactId>FlumeFieldSplitterInterceptor</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>
|
||
|
|
|
||
|
|
<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>cn.ac.iie.flume.interceptor.FlumeFieldSplitterApp</mainClass>
|
||
|
|
</transformer>
|
||
|
|
</transformers>
|
||
|
|
<!--<!–测试添加,下面–>-->
|
||
|
|
<!--<shadedArtifactAttached>false</shadedArtifactAttached>-->
|
||
|
|
<!--<createSourcesJar>true</createSourcesJar>-->
|
||
|
|
<!--<relocations>-->
|
||
|
|
<!--<relocation>-->
|
||
|
|
<!--<pattern>com.fasterxml.jackson.core</pattern>-->
|
||
|
|
<!--<shadedPattern>com.shaded.fasterxml.jackson.core</shadedPattern>-->
|
||
|
|
<!--</relocation>-->
|
||
|
|
<!--</relocations>-->
|
||
|
|
<!--<!–测试添加,上面–>-->
|
||
|
|
</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>cn.ac.iie.flume.interceptor.FlumeFieldSplitterApp</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>config</directory>-->
|
||
|
|
<!--<includes>-->
|
||
|
|
<!--<include>realtime_config.properties</include>-->
|
||
|
|
<!--<include>storm_config.properties</include>-->
|
||
|
|
<!--<include>db.properties</include>-->
|
||
|
|
<!--<include>db_pz.properties</include>-->
|
||
|
|
<!--<include>clickhouse.properties</include>-->
|
||
|
|
<!--<!–<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>1.9.0</version>
|
||
|
|
<scope>provided</scope>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.zdjizhi</groupId>
|
||
|
|
<artifactId>galaxy</artifactId>
|
||
|
|
<version>1.0.1</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>com.alibaba</groupId>
|
||
|
|
<artifactId>fastjson</artifactId>
|
||
|
|
<version>1.2.47</version>
|
||
|
|
</dependency>
|
||
|
|
</dependencies>
|
||
|
|
|
||
|
|
|
||
|
|
</project>
|