| <!--. |
| 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-platform</artifactId> |
| <version>0.5.0</version> |
| </parent> |
| <artifactId>metron-api</artifactId> |
| <name>metron-api</name> |
| <description>Metron API</description> |
| <url>https://metron.apache.org/</url> |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <flume.version>${global_flume_version}</flume.version> |
| <hadoop.version>${global_hadoop_version}</hadoop.version> |
| <slf4j.version>${global_slf4j_version}</slf4j.version> |
| <zookeeper.version>3.4.5.2.0.6.0-76</zookeeper.version> |
| <logger.version>1.2.15</logger.version> |
| |
| <storm-kafka-client.version>1.0.1</storm-kafka-client.version> |
| <storm-hdfs.version>0.0.7-SNAPSHOT</storm-hdfs.version> |
| <storm-hbase.version>0.0.5-SNAPSHOT</storm-hbase.version> |
| |
| <spring.integration.version>3.0.0.RELEASE</spring.integration.version> |
| <spring.version>3.2.6.RELEASE</spring.version> |
| <commons-fileupload.version>1.2.2</commons-fileupload.version> |
| <commons-io.version>2.4</commons-io.version> |
| <commons-configuration.version>1.10</commons-configuration.version> |
| <commons-lang.version>2.6</commons-lang.version> |
| <commons-collections.version>3.2.1</commons-collections.version> |
| <commons-beanutils.version>1.8.3</commons-beanutils.version> |
| <commons-jexl.version>2.1.1</commons-jexl.version> |
| <junit.version>${global_junit_version}</junit.version> |
| <hamcrest.version>1.3</hamcrest.version> |
| <mockito.version>1.9.5</mockito.version> |
| <elastic-search.version>1.3.0</elastic-search.version> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>org.jboss.resteasy</groupId> |
| <artifactId>jaxrs-api</artifactId> |
| <version>3.0.4.Final</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-pcap</artifactId> |
| <version>${project.parent.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-beanutils</groupId> |
| <artifactId>commons-beanutils</artifactId> |
| <version>${commons-beanutils.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-jexl</artifactId> |
| <version>${commons-jexl.version}</version> |
| </dependency> |
| |
| <dependency> |
| <artifactId>commons-configuration</artifactId> |
| <groupId>commons-configuration</groupId> |
| <version>${commons-configuration.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-api-mockito</artifactId> |
| <version>1.5</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-core</artifactId> |
| <version>1.5</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-module-junit4</artifactId> |
| <version>1.5</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>joda-time</groupId> |
| <artifactId>joda-time</artifactId> |
| <version>2.3</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${global_hbase_guava_version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-common</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> |
| </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.springframework.integration</groupId> |
| <artifactId>spring-integration-http</artifactId> |
| <version>${spring.integration.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-webmvc</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.resteasy</groupId> |
| <artifactId>resteasy-jaxrs</artifactId> |
| <version>3.0.1.Final</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.resteasy</groupId> |
| <artifactId>resteasy-jaxb-provider</artifactId> |
| <version>3.0.1.Final</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.resteasy</groupId> |
| <artifactId>async-http-servlet-3.0</artifactId> |
| <version>3.0.1.Final</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| <version>9.3.0.M0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-servlet</artifactId> |
| <version>9.3.0.M0</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>${global_shade_version}</version> |
| <configuration> |
| <createDependencyReducedPom>true</createDependencyReducedPom> |
| <artifactSet> |
| <excludes> |
| <exclude>*slf4j*</exclude> |
| </excludes> |
| </artifactSet> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <filters> |
| <filter> |
| <artifact>*:*</artifact> |
| <excludes> |
| <exclude>META-INF/*.SF</exclude> |
| <exclude>META-INF/*.DSA</exclude> |
| <exclude>META-INF/*.RSA</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| <relocations> |
| <relocation> |
| <pattern>com.google.common</pattern> |
| <shadedPattern>org.apache.metron.guava</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.apache.commons.configuration</pattern> |
| <shadedPattern>org.apache.metron.commons.configuration</shadedPattern> |
| </relocation> |
| </relocations> |
| <transformers> |
| <transformer |
| implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer"> |
| <resources> |
| <resource>.yaml</resource> |
| <resource>LICENSE.txt</resource> |
| <resource>ASL2.0</resource> |
| <resource>NOTICE.txt</resource> |
| </resources> |
| </transformer> |
| <!-- UNCOMMENT THIS IF YOU NEED TO REGENERATE THE BEST GUESS NOTICES FILE WHICH REQUIRES PRUNING EVERY RELEASE --> |
| <!--transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer"> |
| <addHeader>false</addHeader> |
| <projectName>${project.name}</projectName> |
| </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> |