| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software |
| Foundation (ASF) under one or more contributor license agreements. See the |
| NOTICE file distributed with this work for additional information regarding |
| copyright ownership. The ASF licenses this file to You under the Apache License, |
| Version 2.0 (the "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 |
| Unless required by applicable law or agreed to in writing, software distributed |
| under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES |
| OR CONDITIONS OF ANY KIND, either express or implied. See the License for |
| the specific language governing permissions and limitations under the License. |
| --> |
| |
| <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> |
| <groupId>org.apache.metron</groupId> |
| <artifactId>Metron-Streaming</artifactId> |
| <version>0.1BETA</version> |
| </parent> |
| <artifactId>Metron-Topologies</artifactId> |
| <description>Metron Topologies</description> |
| |
| <properties> |
| <storm.hdfs.version>0.9.1.2.1.1.0-385</storm.hdfs.version> |
| <cli.version>20040117.000000</cli.version> |
| <commons.config.version>1.10</commons.config.version> |
| </properties> |
| <repositories> |
| <repository> |
| <id>github-snapshots</id> |
| <url>http://oss.sonatype.org/content/repositories/snapshots/</url> |
| </repository> |
| </repositories> |
| <dependencies> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${global_hbase_guava_version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.metron</groupId> |
| <artifactId>Metron-Common</artifactId> |
| <version>${project.parent.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.metron</groupId> |
| <artifactId>Metron-Alerts</artifactId> |
| <version>${project.parent.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.metron</groupId> |
| <artifactId>Metron-EnrichmentAdapters</artifactId> |
| <version>${project.parent.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.metron</groupId> |
| <artifactId>Metron-MessageParsers</artifactId> |
| <version>${project.parent.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.metron</groupId> |
| <artifactId>Metron-Indexing</artifactId> |
| <version>${project.parent.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-client</artifactId> |
| <version>${global_hbase_version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>log4j</artifactId> |
| <groupId>log4j</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-client</artifactId> |
| <version>${global_hadoop_version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-hdfs</artifactId> |
| <version>${global_hadoop_version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.kafka</groupId> |
| <artifactId>kafka_2.9.2</artifactId> |
| <version>${global_kafka_version}</version> |
| <exclusions> |
| <!--exclusion> <groupId>org.apache.zookeeper</groupId> <artifactId>zookeeper</artifactId> |
| </exclusion --> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.storm</groupId> |
| <artifactId>storm-core</artifactId> |
| <version>${global_storm_version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <artifactId>servlet-api</artifactId> |
| <groupId>javax.servlet</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>log4j-over-slf4j</artifactId> |
| <groupId>org.slf4j</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.storm</groupId> |
| <artifactId>storm-kafka</artifactId> |
| <version>${global_storm_version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.storm</groupId> |
| <artifactId>flux-core</artifactId> |
| <version>${global_flux_version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.storm</groupId> |
| <artifactId>storm</artifactId> |
| <version>${global_storm_version}</version> |
| <type>pom</type> |
| <scope>provided</scope> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>com.github.ptgoetz</groupId> |
| <artifactId>storm-hbase</artifactId> |
| <version>0.1.2</version> |
| </dependency> |
| <!-- dependency> <groupId>com.github.ptgoetz</groupId> <artifactId>storm-hdfs</artifactId> |
| <version>0.1.2</version> </dependency --> |
| <dependency> |
| <groupId>com.github.sheetaldolas</groupId> |
| <artifactId>storm-hdfs</artifactId> |
| <version>0.0.7-SNAPSHOT</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.storm</groupId> |
| <artifactId>storm-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-client</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| </dependencies> |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| </resource> |
| </resources> |
| <plugins> |
| |
| <plugin> |
| <!-- Separates the unit tests from the integration tests. --> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.12.4</version> |
| <configuration> |
| <!-- Skip the default running of this plug-in (or everything is run twice...see below) --> |
| <argLine>-Xmx2048m -XX:MaxPermSize=256m</argLine> |
| <skip>true</skip> |
| <!-- Show 100% of the lines from the stack trace (doesn't work) --> |
| <trimStackTrace>false</trimStackTrace> |
| </configuration> |
| <executions> |
| <execution> |
| <id>unit-tests</id> |
| <phase>test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <!-- Never skip running the tests when the test phase is invoked --> |
| <skip>false</skip> |
| <includes> |
| <!-- Include unit tests within integration-test phase. --> |
| <include>**/*Test.java</include> |
| </includes> |
| <excludes> |
| <!-- Exclude integration tests within (unit) test phase. --> |
| <exclude>**/*IntegrationTest.java</exclude> |
| </excludes> |
| </configuration> |
| </execution> |
| <execution> |
| <id>integration-tests</id> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <!-- Never skip running the tests when the integration-test phase is invoked --> |
| <skip>false</skip> |
| <includes> |
| <!-- Include integration tests within integration-test phase. --> |
| <include>**/*IntegrationTest.java</include> |
| </includes> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>1.4</version> |
| <configuration> |
| <createDependencyReducedPom>true</createDependencyReducedPom> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <artifactSet> |
| <excludes> |
| <exclude>storm:storm-core:*</exclude> |
| <exclude>storm:storm-lib:*</exclude> |
| <exclude>*slf4j*</exclude> |
| </excludes> |
| </artifactSet> |
| <!--relocations> |
| <relocation> |
| <pattern>com.google.common</pattern> |
| <shadedPattern>org.apache.metron.guava.common</shadedPattern> |
| </relocation> |
| </relocations--> |
| |
| <transformers> |
| <transformer |
| implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer"> |
| <resource>.yaml</resource> |
| </transformer> |
| <transformer |
| implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> |
| <transformer |
| implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| <mainClass></mainClass> |
| </transformer> |
| </transformers> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |