2013-03-29 14:49:42 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
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>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2017-07-06 17:13:26 -04:00
|
|
|
<artifactId>hbase-build-configuration</artifactId>
|
2022-10-23 23:50:48 -04:00
|
|
|
<version>${revision}</version>
|
2017-07-06 17:13:26 -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>
|
|
|
|
|
|
|
|
<dependencies>
|
2022-03-19 07:44:25 -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-12 00:03:30 -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>
|
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>
|
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>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>
|
2017-08-22 20:14:48 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-backup</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>
|
2020-12-09 10:28:50 -05:00
|
|
|
<groupId>io.opentelemetry</groupId>
|
|
|
|
<artifactId>opentelemetry-api</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-12 00:03:30 -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>
|
2021-03-19 21:21:25 -04:00
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-api</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
2020-05-12 00:03:30 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2021-03-19 21:21:25 -04:00
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-1.2-api</artifactId>
|
2020-05-12 00:03:30 -04:00
|
|
|
<scope>test</scope>
|
2017-08-31 11:03:22 -04:00
|
|
|
</dependency>
|
2020-04-28 18:11:37 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<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:44:14 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2012-06-28 22:57:29 -04:00
|
|
|
</dependencies>
|
|
|
|
|
2022-05-01 10:15:04 -04:00
|
|
|
<build>
|
2012-09-15 03:01:15 -04:00
|
|
|
<testResources>
|
2020-08-25 00:05:52 -04:00
|
|
|
<testResource>
|
2012-09-15 03:01:15 -04:00
|
|
|
<!-- We depend on hbase-server test resources -->
|
|
|
|
<directory>../hbase-server/src/test/resources</directory>
|
2012-06-28 22:57:29 -04:00
|
|
|
<excludes>
|
2015-08-18 19:02:22 -04:00
|
|
|
<exclude>META-INF/NOTICE</exclude>
|
|
|
|
<exclude>META-INF/LICENSE</exclude>
|
2012-06-28 22:57:29 -04:00
|
|
|
</excludes>
|
2020-08-25 00:05:52 -04:00
|
|
|
</testResource>
|
|
|
|
<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 -->
|
2022-05-01 10:15:04 -04:00
|
|
|
<plugin>
|
2012-06-28 22:57:29 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-03-29 14:49:42 -04:00
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2018-03-20 03:46:51 -04:00
|
|
|
</plugin>
|
2022-05-01 10:15:04 -04:00
|
|
|
<plugin>
|
2013-03-29 14:49:42 -04:00
|
|
|
<!--Make it so assembly:single does nothing in here-->
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
2012-06-28 22:57:29 -04:00
|
|
|
<configuration>
|
2013-03-29 14:49:42 -04:00
|
|
|
<skipAssembly>true</skipAssembly>
|
2012-06-28 22:57:29 -04:00
|
|
|
</configuration>
|
2018-03-20 03:46:51 -04:00
|
|
|
</plugin>
|
2022-05-01 10:15:04 -04:00
|
|
|
<plugin>
|
2012-06-28 22:57:29 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<version>${surefire.version}</version>
|
|
|
|
<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>
|
2019-01-30 03:20:33 -05:00
|
|
|
<dependencies>
|
2020-05-12 00:03:30 -04:00
|
|
|
<dependency>
|
2012-06-28 22:57:29 -04:00
|
|
|
<groupId>org.apache.maven.surefire</groupId>
|
|
|
|
<artifactId>surefire-junit4</artifactId>
|
|
|
|
<version>${surefire.version}</version>
|
2021-03-19 21:21:25 -04:00
|
|
|
</dependency>
|
2012-06-28 22:57:29 -04:00
|
|
|
</dependencies>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>integration-test</id>
|
2022-05-01 10:15:04 -04:00
|
|
|
<goals>
|
2012-06-28 22:57:29 -04:00
|
|
|
<goal>integration-test</goal>
|
2022-05-01 10:15:04 -04:00
|
|
|
</goals>
|
2012-09-15 03:01:15 -04:00
|
|
|
<phase>integration-test</phase>
|
2012-06-28 22:57:29 -04:00
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>verify</id>
|
2022-05-01 10:15:04 -04:00
|
|
|
<goals>
|
2012-06-28 22:57:29 -04:00
|
|
|
<goal>verify</goal>
|
2022-05-01 10:15:04 -04:00
|
|
|
</goals>
|
2012-09-15 03:01:15 -04:00
|
|
|
<phase>verify</phase>
|
2012-06-28 22:57:29 -04:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2019-03-21 12:34:12 -04:00
|
|
|
</pluginManagement>
|
2022-05-01 10:15:04 -04:00
|
|
|
|
2012-06-28 22:57:29 -04:00
|
|
|
<plugins>
|
|
|
|
<!-- Run integration tests with mvn verify -->
|
2022-05-01 10:15:04 -04:00
|
|
|
<plugin>
|
2019-03-21 12:34:12 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2012-06-28 22:57:29 -04:00
|
|
|
<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
|
2023-03-10 14:14:43 -05:00
|
|
|
-verbose:gc -XX:+PrintCommandLineFlags -XX:+PrintFlagsFinal @{jacocoArgLine}</argLine>
|
2012-06-28 22:57:29 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2022-05-01 10:15:04 -04:00
|
|
|
<plugin>
|
2018-03-20 03:46:51 -04:00
|
|
|
<groupId>net.revelc.code</groupId>
|
|
|
|
<artifactId>warbucks-maven-plugin</artifactId>
|
2012-06-28 22:57:29 -04:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2022-05-01 10:15:04 -04:00
|
|
|
</build>
|
|
|
|
|
2012-06-28 22:57:29 -04:00
|
|
|
<reporting>
|
|
|
|
<plugins>
|
2022-05-01 10:15:04 -04:00
|
|
|
<plugin>
|
2019-03-21 12:34:12 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2012-06-28 22:57:29 -04:00
|
|
|
<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>
|
2022-05-01 10:15:04 -04:00
|
|
|
|
2012-06-28 22:57:29 -04:00
|
|
|
<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>
|
2020-04-16 06:57:40 -04:00
|
|
|
<!-- Profile for building against Hadoop 3.0.0. Activate by default -->
|
2012-06-28 22:57:29 -04:00
|
|
|
<profile>
|
|
|
|
<id>hadoop-3.0</id>
|
|
|
|
<activation>
|
2020-04-16 06:57:40 -04:00
|
|
|
<property>
|
|
|
|
<name>!hadoop.profile</name>
|
|
|
|
</property>
|
2012-06-28 22:57:29 -04:00
|
|
|
</activation>
|
|
|
|
<properties>
|
2020-04-16 06:57:40 -04:00
|
|
|
<hadoop.version>${hadoop-three.version}</hadoop.version>
|
2012-06-28 22:57:29 -04:00
|
|
|
</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>
|
|
|
|
<goals>
|
|
|
|
<goal>build-classpath</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<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/>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2012-06-28 22:57:29 -04:00
|
|
|
</profiles>
|
|
|
|
|
|
|
|
</project>
|