| <?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> |
| <groupId>org.apache.metron</groupId> |
| <artifactId>Metron</artifactId> |
| <version>0.2.0BETA</version> |
| <packaging>pom</packaging> |
| <name>Metron</name> |
| <description>Metron Top Level Project</description> |
| <url>https://metron.incubator.apache.org/</url> |
| <modules> |
| <module>metron-analytics</module> |
| <module>metron-platform</module> |
| <module>metron-deployment</module> |
| </modules> |
| <properties> |
| <twitter>@ApacheMetron</twitter> |
| <global_opencsv_version>3.7</global_opencsv_version> |
| <global_storm_version>0.10.0</global_storm_version> |
| <global_flux_version>0.10.0</global_flux_version> |
| <global_pcap_version>1.7.1</global_pcap_version> |
| <global_kafka_version>0.8.2.2</global_kafka_version> |
| <global_hadoop_version>2.7.1</global_hadoop_version> |
| <global_hbase_version>1.1.1</global_hbase_version> |
| <global_flume_version>1.5.2</global_flume_version> |
| <global_elasticsearch_version>2.3.3</global_elasticsearch_version> |
| <global_json_simple_version>1.1.1</global_json_simple_version> |
| <global_metrics_version>3.0.2</global_metrics_version> |
| <global_junit_version>4.4</global_junit_version> |
| <global_guava_version>17.0</global_guava_version> |
| <global_hbase_guava_version>12.0</global_hbase_guava_version> |
| <global_json_schema_validator_version>2.2.5</global_json_schema_validator_version> |
| <global_slf4j_version>1.7.7</global_slf4j_version> |
| <global_opencsv_version>3.7</global_opencsv_version> |
| <global_java_version>1.8</global_java_version> |
| <global_solr_version>5.2.1</global_solr_version> |
| <global_mockito_version>1.10.19</global_mockito_version> |
| <global_shade_version>2.4.3</global_shade_version> |
| <global_jackson_version>2.7.4</global_jackson_version> |
| </properties> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${global_mockito_version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <!-- Separates the unit tests from the integration tests. --> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.18</version> |
| <configuration> |
| <!-- Skip the default running of this plug-in (or everything is run twice...see below) --> |
| <argLine>-Xmx2048m</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> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.5.1</version> |
| <configuration> |
| <source>${global_java_version}</source> |
| <target>${global_java_version}</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>cobertura-maven-plugin</artifactId> |
| <version>2.7</version> |
| <configuration> |
| <check /> |
| <formats> |
| <format>html</format> |
| </formats> |
| <aggregate>true</aggregate> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>0.12</version> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <excludes> |
| <exclude>dependencies_with_url.csv</exclude> |
| <exclude>**/README.md</exclude> |
| <exclude>**/VERSION</exclude> |
| <exclude>**/*.json</exclude> |
| <exclude>**/*.tokens</exclude> |
| <exclude>**/*.log</exclude> |
| <exclude>**/*.template</exclude> |
| <exclude>**/.*</exclude> |
| <exclude>**/.*/**</exclude> |
| <exclude>**/*.seed</exclude> |
| <exclude>**/*.iml</exclude> |
| <exclude>**/ansible.cfg</exclude> |
| <exclude>**/*.rpm</exclude> |
| <exclude>site/**</exclude> |
| <exclude>**/src/main/resources/patterns/**</exclude> |
| <exclude>**/src/main/sample/patterns/**</exclude> |
| <exclude>**/src/test/resources/**</exclude> |
| <exclude>**/src/main/sample/data/**</exclude> |
| <exclude>**/dependency-reduced-pom.xml</exclude> |
| <exclude>**/target/**</exclude> |
| <exclude>**/bro-plugin-kafka/build/**</exclude> |
| <exclude>**/files/opensoc-ui</exclude> |
| <!-- pickle file - binary format --> |
| <exclude>**/packaging/ambari/src/main/resources/common-services/KIBANA/4.5.1/package/scripts/dashboard/*.p</exclude> |
| <exclude>**/src/main/resources/common-services/KIBANA/4.5.1/package/scripts/dashboard/dashboard.p</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |