2011-11-19 01:24:32 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
Licensed 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
|
|
|
|
|
2019-05-28 07:29:44 +00:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2011-11-19 01:24:32 +00:00
|
|
|
|
|
|
|
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. See accompanying LICENSE file.
|
|
|
|
-->
|
2012-05-28 14:51:05 +00:00
|
|
|
<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
|
2019-05-27 06:24:59 +00:00
|
|
|
https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2011-11-19 01:24:32 +00:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-project</artifactId>
|
2020-03-29 17:54:25 +00:00
|
|
|
<version>3.4.0-SNAPSHOT</version>
|
2011-11-19 01:24:32 +00:00
|
|
|
<relativePath>../../hadoop-project</relativePath>
|
|
|
|
</parent>
|
|
|
|
<artifactId>hadoop-mapreduce-examples</artifactId>
|
2020-03-29 17:54:25 +00:00
|
|
|
<version>3.4.0-SNAPSHOT</version>
|
2011-11-19 01:24:32 +00:00
|
|
|
<description>Apache Hadoop MapReduce Examples</description>
|
|
|
|
<name>Apache Hadoop MapReduce Examples</name>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
2011-12-04 19:58:32 +00:00
|
|
|
<properties>
|
|
|
|
<mr.examples.basedir>${basedir}</mr.examples.basedir>
|
|
|
|
</properties>
|
|
|
|
|
2011-11-19 01:24:32 +00:00
|
|
|
<dependencies>
|
2012-08-15 19:10:52 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-cli</groupId>
|
|
|
|
<artifactId>commons-cli</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</dependency>
|
2011-11-19 01:24:32 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-mapreduce-client-jobclient</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2012-01-18 22:10:12 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-mapreduce-client-jobclient</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
2011-11-19 01:24:32 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2012-01-18 22:10:12 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
2011-11-19 01:24:32 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2015-10-13 22:24:24 +00:00
|
|
|
<artifactId>hadoop-hdfs-client</artifactId>
|
2012-05-11 15:00:48 +00:00
|
|
|
<scope>runtime</scope>
|
2011-11-19 01:24:32 +00:00
|
|
|
</dependency>
|
2012-01-18 22:10:12 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-hdfs</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-yarn-server-tests</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-mapreduce-client-app</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-mapreduce-client-app</artifactId>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2013-11-13 20:46:54 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.jersey.jersey-test-framework</groupId>
|
|
|
|
<artifactId>jersey-test-framework-grizzly2</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2012-01-18 22:10:12 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-mapreduce-client-hs</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2012-04-05 20:11:52 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hsqldb</groupId>
|
|
|
|
<artifactId>hsqldb</artifactId>
|
2012-08-06 18:14:47 +00:00
|
|
|
<scope>provided</scope>
|
2012-04-05 20:11:52 +00:00
|
|
|
</dependency>
|
2012-11-15 00:16:35 +00:00
|
|
|
<dependency>
|
2020-10-17 06:31:18 +00:00
|
|
|
<groupId>org.apache.hadoop.thirdparty</groupId>
|
|
|
|
<artifactId>hadoop-shaded-guava</artifactId>
|
2012-11-15 00:16:35 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2017-09-22 04:27:59 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</dependency>
|
2019-08-12 11:54:13 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2011-11-19 01:24:32 +00:00
|
|
|
</dependencies>
|
2011-11-21 20:50:20 +00:00
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2012-01-25 06:24:46 +00:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2011-11-21 20:50:20 +00:00
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2012-01-25 06:24:46 +00:00
|
|
|
<configuration>
|
2011-11-21 20:50:20 +00:00
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>org.apache.hadoop.examples.ExampleDriver</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2011-12-04 19:58:32 +00:00
|
|
|
|
|
|
|
<plugin>
|
2021-03-11 01:56:07 +00:00
|
|
|
<groupId>com.github.spotbugs</groupId>
|
|
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
2011-12-04 19:58:32 +00:00
|
|
|
<configuration>
|
|
|
|
<xmlOutput>true</xmlOutput>
|
|
|
|
<excludeFilterFile>${mr.examples.basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
|
|
|
|
<effort>Max</effort>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2013-01-14 14:35:45 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>src/main/java/org/apache/hadoop/examples/dancing/puzzle1.dta</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2021-10-11 07:22:50 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>de.skuzzle.enforcer</groupId>
|
|
|
|
<artifactId>restrict-imports-enforcer-rule</artifactId>
|
|
|
|
<version>${restrict-imports.enforcer.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>banned-illegal-imports</id>
|
|
|
|
<phase>process-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
|
|
|
|
<includeTestCode>true</includeTestCode>
|
|
|
|
<reason>Use hadoop-common provided VisibleForTesting rather than the one provided by Guava</reason>
|
|
|
|
<bannedImports>
|
|
|
|
<bannedImport>org.apache.hadoop.thirdparty.com.google.common.annotations.VisibleForTesting</bannedImport>
|
|
|
|
<bannedImport>com.google.common.annotations.VisibleForTesting</bannedImport>
|
|
|
|
</bannedImports>
|
|
|
|
</restrictImports>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2011-11-21 20:50:20 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2011-11-19 01:24:32 +00:00
|
|
|
</project>
|