2013-03-29 14:49:42 -04:00
|
|
|
<?xml version="1.0"?>
|
2019-05-21 15:34:25 -04:00
|
|
|
<project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2012-06-28 22:57:29 -04:00
|
|
|
<!--
|
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
-->
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
2017-08-19 04:23:52 -04:00
|
|
|
<artifactId>hbase-build-configuration</artifactId>
|
2012-06-28 22:57:29 -04:00
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-02-28 12:53:11 -05:00
|
|
|
<version>2.4.11-SNAPSHOT</version>
|
2017-08-19 04:23:52 -04:00
|
|
|
<relativePath>../hbase-build-configuration</relativePath>
|
2012-06-28 22:57:29 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>hbase-it</artifactId>
|
2015-07-15 06:12:36 -04:00
|
|
|
<name>Apache HBase - Integration Tests</name>
|
2012-06-28 22:57:29 -04:00
|
|
|
<description>Integration and System tests for HBase</description>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<!-- Test inclusion patterns used by failsafe configuration -->
|
|
|
|
<unittest.include>**/Test*.java</unittest.include>
|
|
|
|
<integrationtest.include>**/IntegrationTest*.java</integrationtest.include>
|
2015-02-09 21:54:43 -05:00
|
|
|
<!-- To Run Tests with a particular Xmx Value use -Dfailsafe.Xmx=XXXg -->
|
2015-12-01 12:59:42 -05:00
|
|
|
<failsafe.Xmx>4g</failsafe.Xmx>
|
2012-06-28 22:57:29 -04:00
|
|
|
<!-- To run a single integration test, use -Dit.test=IntegrationTestXXX -->
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<build>
|
2012-09-15 03:01:15 -04:00
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<!-- We depend on hbase-server test resources -->
|
|
|
|
<directory>../hbase-server/src/test/resources</directory>
|
2015-08-18 19:02:22 -04:00
|
|
|
<excludes>
|
|
|
|
<exclude>META-INF/NOTICE</exclude>
|
|
|
|
<exclude>META-INF/LICENSE</exclude>
|
|
|
|
</excludes>
|
2012-09-15 03:01:15 -04:00
|
|
|
</testResource>
|
2020-08-25 00:05:52 -04:00
|
|
|
<testResource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
</testResource>
|
2012-09-15 03:01:15 -04:00
|
|
|
</testResources>
|
2012-06-28 22:57:29 -04:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2013-03-29 14:49:42 -04:00
|
|
|
<!-- Make a jar and put the sources in the jar -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<!--Make it so assembly:single does nothing in here-->
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skipAssembly>true</skipAssembly>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2012-06-28 22:57:29 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<version>${surefire.version}</version>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.surefire</groupId>
|
|
|
|
<artifactId>surefire-junit4</artifactId>
|
|
|
|
<version>${surefire.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<configuration>
|
2012-09-15 03:01:15 -04:00
|
|
|
<includes>
|
2012-06-28 22:57:29 -04:00
|
|
|
<include>${integrationtest.include}</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>${unittest.include}</exclude>
|
|
|
|
<exclude>**/*$*</exclude>
|
|
|
|
</excludes>
|
|
|
|
<redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
|
|
|
|
<environmentVariables>
|
|
|
|
<LD_LIBRARY_PATH>${env.LD_LIBRARY_PATH}:${project.build.directory}/nativelib</LD_LIBRARY_PATH>
|
|
|
|
<DYLD_LIBRARY_PATH>${env.DYLD_LIBRARY_PATH}:${project.build.directory}/nativelib</DYLD_LIBRARY_PATH>
|
|
|
|
<MALLOC_ARENA_MAX>4</MALLOC_ARENA_MAX>
|
|
|
|
</environmentVariables>
|
2012-09-15 03:01:15 -04:00
|
|
|
<failIfNoTests>false</failIfNoTests>
|
|
|
|
<testFailureIgnore>false</testFailureIgnore>
|
2012-06-28 22:57:29 -04:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>integration-test</id>
|
2012-09-15 03:01:15 -04:00
|
|
|
<phase>integration-test</phase>
|
2012-06-28 22:57:29 -04:00
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>verify</id>
|
2012-09-15 03:01:15 -04:00
|
|
|
<phase>verify</phase>
|
2012-06-28 22:57:29 -04:00
|
|
|
<goals>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
<!-- Run integration tests with mvn verify -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>false</skip>
|
|
|
|
<forkMode>always</forkMode>
|
2012-09-15 03:01:15 -04:00
|
|
|
<!-- TODO: failsafe does timeout, but verify does not fail the build because of the timeout.
|
|
|
|
I believe it is a failsafe bug, we may consider using surefire -->
|
|
|
|
<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
|
2016-09-24 19:07:25 -04:00
|
|
|
<argLine>-enableassertions -Xmx${failsafe.Xmx}
|
2015-12-01 00:00:35 -05:00
|
|
|
-Djava.security.egd=file:/dev/./urandom -XX:+CMSClassUnloadingEnabled
|
|
|
|
-verbose:gc -XX:+PrintCommandLineFlags -XX:+PrintFlagsFinal</argLine>
|
2012-06-28 22:57:29 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-03-21 21:24:14 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>net.revelc.code</groupId>
|
|
|
|
<artifactId>warbucks-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2012-06-28 22:57:29 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<dependencies>
|
2019-03-25 09:25:15 -04:00
|
|
|
<!--This one is upfront to get in front of
|
|
|
|
any dependency that pulls in jersey-core.
|
|
|
|
Jersey-core has implemented version 1
|
|
|
|
Interfaces of what is in this dependency
|
|
|
|
which does version 2.-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
<artifactId>javax.ws.rs-api</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2012-06-28 22:57:29 -04:00
|
|
|
<!-- Intra-project dependencies -->
|
2014-10-07 02:16:22 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-annotations</artifactId>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-05-13 05:59:21 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-logging</artifactId>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2013-08-02 15:01:34 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-common</artifactId>
|
|
|
|
<type>jar</type>
|
|
|
|
</dependency>
|
2012-09-26 08:23:43 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2013-10-02 17:59:19 -04:00
|
|
|
<artifactId>hbase-protocol</artifactId>
|
2012-09-26 08:23:43 -04:00
|
|
|
</dependency>
|
2017-09-04 16:10:20 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-protocol-shaded</artifactId>
|
|
|
|
</dependency>
|
2013-08-02 15:01:34 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2013-10-02 17:59:19 -04:00
|
|
|
<artifactId>hbase-client</artifactId>
|
2013-08-02 15:01:34 -04:00
|
|
|
</dependency>
|
HBASE-18640 Move mapreduce out of hbase-server into separate module.
- Moves out o.a.h.h.{mapred, mapreduce} to new hbase-mapreduce module which depends
on hbase-server because of classes like *Snapshot{Input,Output}Format.java, WALs, replication, etc
- hbase-backup depends on it for WALPlayer and MR job stuff
- A bunch of tools needed to be pulled into hbase-mapreduce becuase of their dependencies on MR.
These are: CompactionTool, LoadTestTool, PerformanceEvaluation, ExportSnapshot
This is better place of them than hbase-server. But ideal place would be in separate hbase-tools module.
- There were some tests in hbase-server which were digging into these tools for static util funtions or
confs. Moved these to better/easily shared place. For eg. security related stuff to HBaseKerberosUtils.
- Note that hbase-mapreduce has secondPartExecution tests. On my machine they took like 20 min, so maybe
more on apache jenkins. That's basically equal reduction of runtime of hbase-server tests, which is a
big win!
Change-Id: Ieeb7235014717ca83ee5cb13b2a27fddfa6838e8
2017-08-20 17:34:16 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-mapreduce</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-mapreduce</artifactId>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-03-14 21:28:50 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-rsgroup</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-rsgroup</artifactId>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2013-10-02 17:59:19 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-server</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>${compat.module}</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-testing-util</artifactId>
|
2019-03-25 09:25:15 -04:00
|
|
|
<exclusions>
|
|
|
|
<!--This dependency pulls in hadoop-minicluster
|
|
|
|
which pulls in the below. It messes up
|
|
|
|
this build at assembly time. See HBASE-22029-->
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
<artifactId>jersey-core</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2013-08-02 15:01:34 -04:00
|
|
|
</dependency>
|
2020-04-24 15:32:15 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-endpoint</artifactId>
|
|
|
|
</dependency>
|
2013-08-02 15:01:34 -04:00
|
|
|
<dependency>
|
2017-07-07 01:43:46 -04:00
|
|
|
<groupId>org.apache.hbase.thirdparty</groupId>
|
|
|
|
<artifactId>hbase-shaded-miscellaneous</artifactId>
|
2013-08-02 15:01:34 -04:00
|
|
|
</dependency>
|
2015-01-21 16:12:57 -05:00
|
|
|
<dependency>
|
2015-12-15 15:11:27 -05:00
|
|
|
<groupId>io.dropwizard.metrics</groupId>
|
2015-01-21 16:12:57 -05:00
|
|
|
<artifactId>metrics-core</artifactId>
|
|
|
|
</dependency>
|
2013-08-02 15:01:34 -04:00
|
|
|
<dependency>
|
2017-12-18 05:14:30 -05:00
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
2013-08-02 15:01:34 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
2017-08-25 07:34:03 -04:00
|
|
|
<artifactId>commons-math3</artifactId>
|
2013-08-02 15:01:34 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2017-08-24 14:10:17 -04:00
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
2013-08-02 15:01:34 -04:00
|
|
|
</dependency>
|
2013-09-23 12:40:51 -04:00
|
|
|
<dependency>
|
2015-01-21 16:02:24 -05:00
|
|
|
<groupId>org.apache.htrace</groupId>
|
2017-10-26 17:23:42 -04:00
|
|
|
<artifactId>htrace-core4</artifactId>
|
2012-06-28 22:57:29 -04:00
|
|
|
</dependency>
|
2015-07-06 18:00:51 -04:00
|
|
|
<!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
|
2014-07-15 13:13:52 -04:00
|
|
|
<dependency>
|
2015-07-06 18:00:51 -04:00
|
|
|
<groupId>io.netty</groupId>
|
2014-07-15 13:13:52 -04:00
|
|
|
<artifactId>netty</artifactId>
|
2015-07-06 18:00:51 -04:00
|
|
|
<version>${netty.hadoop.version}</version>
|
|
|
|
<scope>test</scope>
|
2014-07-15 13:13:52 -04:00
|
|
|
</dependency>
|
2017-08-31 11:03:22 -04:00
|
|
|
<dependency>
|
2020-05-13 05:59:21 -04:00
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jul-to-slf4j</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2017-08-31 11:03:22 -04:00
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
2020-05-13 05:59:21 -04:00
|
|
|
<scope>test</scope>
|
2017-08-31 11:03:22 -04:00
|
|
|
</dependency>
|
2020-04-28 18:11:37 -04:00
|
|
|
<dependency>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-08-31 11:03:22 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2020-04-24 15:32:15 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-library</artifactId>
|
|
|
|
<scope>test</scope>
|
2017-08-31 11:03:22 -04:00
|
|
|
</dependency>
|
2017-12-07 22:45:41 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2012-06-28 22:57:29 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<!-- Skip the tests in this module -->
|
|
|
|
<profile>
|
2012-12-03 18:17:29 -05:00
|
|
|
<id>skipIntegrationTests</id>
|
2012-06-28 22:57:29 -04:00
|
|
|
<activation>
|
|
|
|
<property>
|
2012-12-03 18:17:29 -05:00
|
|
|
<name>skipIntegrationTests</name>
|
2012-06-28 22:57:29 -04:00
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<skipTests>true</skipTests>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
2019-01-30 03:20:33 -05:00
|
|
|
<profile>
|
|
|
|
<id>build-with-jdk11</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>[1.11,)</jdk>
|
|
|
|
</activation>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.xml.ws</groupId>
|
|
|
|
<artifactId>jaxws-ri</artifactId>
|
|
|
|
<type>pom</type>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
2016-09-21 09:13:00 -04:00
|
|
|
<!-- profile for building against Hadoop 2.x. This is the default -->
|
2012-06-28 22:57:29 -04:00
|
|
|
<profile>
|
|
|
|
<id>hadoop-2.0</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
2013-08-02 15:01:34 -04:00
|
|
|
<!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
|
2013-12-05 21:42:20 -05:00
|
|
|
<!--h2--><name>!hadoop.profile</name>
|
2012-06-28 22:57:29 -04:00
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2013-08-02 15:01:34 -04:00
|
|
|
<artifactId>hadoop-mapreduce-client-core</artifactId>
|
2017-07-07 01:43:46 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2013-08-02 15:01:34 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-mapreduce-client-jobclient</artifactId>
|
|
|
|
<type>test-jar</type>
|
2014-07-04 08:40:13 -04:00
|
|
|
<scope>test</scope>
|
2017-07-07 01:43:46 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2012-06-28 22:57:29 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2013-08-02 15:01:34 -04:00
|
|
|
<artifactId>hadoop-common</artifactId>
|
2012-06-28 22:57:29 -04:00
|
|
|
</dependency>
|
2016-11-02 17:48:21 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-minikdc</artifactId>
|
|
|
|
</dependency>
|
2012-06-28 22:57:29 -04:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>create-mrapp-generated-classpath</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>build-classpath</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- needed to run the unit test for DS to generate
|
|
|
|
the required classpath that is required in the env
|
|
|
|
of the launch container in the mini mr/yarn cluster
|
|
|
|
-->
|
|
|
|
<outputFile>${project.build.directory}/test-classes/mrapp-generated-classpath</outputFile>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
profile for building against Hadoop 3.0.x. Activate using:
|
|
|
|
mvn -Dhadoop.profile=3.0
|
|
|
|
-->
|
|
|
|
<profile>
|
|
|
|
<id>hadoop-3.0</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>hadoop.profile</name>
|
|
|
|
<value>3.0</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<hadoop.version>3.0-SNAPSHOT</hadoop.version>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-minicluster</artifactId>
|
2020-05-05 18:27:11 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
<artifactId>jsr311-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2012-06-28 22:57:29 -04:00
|
|
|
</dependency>
|
2016-11-02 17:48:21 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-minikdc</artifactId>
|
|
|
|
</dependency>
|
2012-06-28 22:57:29 -04:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>create-mrapp-generated-classpath</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>build-classpath</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- needed to run the unit test for DS to generate
|
|
|
|
the required classpath that is required in the env
|
|
|
|
of the launch container in the mini mr/yarn cluster
|
|
|
|
-->
|
|
|
|
<outputFile>${project.build.directory}/test-classes/mrapp-generated-classpath</outputFile>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2019-03-21 12:34:12 -04:00
|
|
|
<profile>
|
|
|
|
<id>eclipse-specific</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>m2e.version</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings
|
|
|
|
only. It has no influence on the Maven build itself.-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<lifecycleMappingMetadata>
|
|
|
|
<pluginExecutions>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<versionRange>[2.8,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>build-classpath</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore></ignore>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2012-06-28 22:57:29 -04:00
|
|
|
</profiles>
|
|
|
|
|
|
|
|
<reporting>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
2017-06-29 09:37:22 -04:00
|
|
|
<version>${surefire.version}</version>
|
2012-06-28 22:57:29 -04:00
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<id>integration-tests</id>
|
|
|
|
<reports>
|
|
|
|
<report>report-only</report>
|
|
|
|
</reports>
|
|
|
|
<configuration>
|
|
|
|
<outputName>failsafe-report</outputName>
|
|
|
|
<reportsDirectories>
|
|
|
|
<reportsDirectory>${project.build.directory}/failsafe-reports</reportsDirectory>
|
|
|
|
</reportsDirectories>
|
|
|
|
</configuration>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
|
|
|
|
|
|
|
</project>
|