diff options
Diffstat (limited to 'pom.xml')
| -rw-r--r-- | pom.xml | 143 |
1 files changed, 78 insertions, 65 deletions
@@ -12,27 +12,80 @@ <url>http://maven.apache.org</url> + <repositories> + <repository> + <id>nexus</id> + <name>Team Nexus Repository</name> + <url>http://192.168.40.125:8099/content/groups/public</url> + </repository> + </repositories> + - <!--<repositories>--> - <!--<repository>--> - <!--<id>nexus</id>--> - <!--<name>Team Nexus Repository</name>--> - <!--<url>http://192.168.40.125:8099/content/groups/public</url>--> - <!--</repository>--> - <!--</repositories>--> <build> <plugins> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <version>2.4.2</version> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + <configuration> + <transformers> + <transformer + implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> + <mainClass>cn.ac.iie.trident.aggregate.topology.LogFlowWriteTopology</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.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> + <version>2.3.2</version> <configuration> - <source>8</source> - <target>8</target> + <source>1.8</source> + <target>1.8</target> </configuration> </plugin> </plugins> + <resources> + <resource> + <directory>properties</directory> + <includes> + <include>**/*.properties</include> + </includes> + <filtering>false</filtering> + </resource> + <resource> + <directory>properties</directory> + <includes> + <include>log4j.properties</include> + </includes> + <filtering>false</filtering> + </resource> + </resources> + </build> + <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> @@ -42,25 +95,35 @@ <groupId>org.apache.storm</groupId> <artifactId>storm-core</artifactId> <version>1.0.2</version> + <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.storm</groupId> <artifactId>storm-kafka</artifactId> <version>1.0.2</version> + <exclusions> <exclusion> <groupId>org.apache.kafka</groupId> <artifactId>kafka-clients</artifactId> </exclusion> </exclusions> - </dependency> <dependency> <groupId>com.zdjizhi</groupId> <artifactId>galaxy</artifactId> <version>1.0.3</version> <exclusions> + + <exclusion> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + </exclusion> + <exclusion> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + </exclusion> <exclusion> <artifactId>slf4j-log4j12</artifactId> <groupId>org.slf4j</groupId> @@ -69,26 +132,22 @@ <artifactId>log4j-over-slf4j</artifactId> <groupId>org.slf4j</groupId> </exclusion> + <exclusion> + <artifactId>guava</artifactId> + <groupId>com.google.guava</groupId> + </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka_2.11</artifactId> - <version>0.10.0.1</version> + <version>1.0.0</version> <exclusions> <exclusion> - <groupId>org.apache.zookeeper</groupId> - <artifactId>zookeeper</artifactId> - </exclusion> - <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> - <exclusion> - <groupId>log4j</groupId> - <artifactId>log4j</artifactId> - </exclusion> </exclusions> </dependency> @@ -99,20 +158,6 @@ <scope>test</scope> </dependency> - <!-- https://mvnrepository.com/artifact/org.apache.thrift/libthrift --> - <dependency> - <groupId>org.apache.thrift</groupId> - <artifactId>libthrift</artifactId> - <version>0.10.0</version> - <type>pom</type> - </dependency> - - <!-- https://mvnrepository.com/artifact/org.apache.thrift.tools/maven-thrift-plugin --> - <dependency> - <groupId>org.apache.thrift.tools</groupId> - <artifactId>maven-thrift-plugin</artifactId> - <version>0.1.11</version> - </dependency> <dependency> <groupId>com.alibaba</groupId> @@ -120,37 +165,5 @@ <version>1.2.59</version> </dependency> - <dependency> - <groupId>commons-collections</groupId> - <artifactId>commons-collections</artifactId> - <version>3.2.2</version> - </dependency> - <dependency> - <groupId>commons-codec</groupId> - <artifactId>commons-codec</artifactId> - <version>1.10</version> - </dependency> - - <!--<!– https://mvnrepository.com/artifact/org.jgrapht/jgrapht-core –>--> - <!--<dependency>--> - <!--<groupId>org.jgrapht</groupId>--> - <!--<artifactId>jgrapht-core</artifactId>--> - <!--<version>1.1.0</version>--> - <!--</dependency>--> - <!-- https://mvnrepository.com/artifact/org.jgrapht/jgrapht-dist --> - <dependency> - <groupId>org.jgrapht</groupId> - <artifactId>jgrapht-dist</artifactId> - <version>1.0.1</version> - <type>pom</type> - </dependency> - <dependency> - <groupId>org.junit.jupiter</groupId> - <artifactId>junit-jupiter-api</artifactId> - <version>5.0.0</version> - <scope>compile</scope> - </dependency> - - </dependencies> </project> |
