2011-08-02 12:37:57 -04: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-29 04:39:49 -04:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2011-08-02 12:37:57 -04: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 10:51:05 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2019-05-27 02:28:21 -04:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2011-08-02 12:37:57 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-main</artifactId>
|
2019-09-04 04:11:36 -04:00
|
|
|
<version>3.1.4-SNAPSHOT</version>
|
2011-08-02 12:37:57 -04:00
|
|
|
<description>Apache Hadoop Main</description>
|
|
|
|
<name>Apache Hadoop Main</name>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
2012-10-17 16:49:44 -04:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.cenqua.clover</groupId>
|
|
|
|
<artifactId>clover</artifactId>
|
|
|
|
<!-- Use the version needed by maven-clover-plugin -->
|
|
|
|
<version>3.0.2</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2011-10-17 13:06:42 -04:00
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
2013-01-22 15:09:48 -05:00
|
|
|
<id>${distMgmtStagingId}</id>
|
|
|
|
<name>${distMgmtStagingName}</name>
|
|
|
|
<url>${distMgmtStagingUrl}</url>
|
2011-10-17 13:06:42 -04:00
|
|
|
</repository>
|
|
|
|
<snapshotRepository>
|
2013-01-22 15:09:48 -05:00
|
|
|
<id>${distMgmtSnapshotsId}</id>
|
2011-10-17 13:06:42 -04:00
|
|
|
<name>${distMgmtSnapshotsName}</name>
|
|
|
|
<url>${distMgmtSnapshotsUrl}</url>
|
|
|
|
</snapshotRepository>
|
2011-10-28 20:16:16 -04:00
|
|
|
<site>
|
|
|
|
<id>apache.website</id>
|
|
|
|
<url>scpexe://people.apache.org/www/hadoop.apache.org/docs/r${project.version}</url>
|
|
|
|
</site>
|
2011-10-17 13:06:42 -04:00
|
|
|
</distributionManagement>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
2013-01-22 15:09:48 -05:00
|
|
|
<id>${distMgmtSnapshotsId}</id>
|
2011-10-17 13:06:42 -04:00
|
|
|
<name>${distMgmtSnapshotsName}</name>
|
|
|
|
<url>${distMgmtSnapshotsUrl}</url>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>repository.jboss.org</id>
|
2019-05-27 02:28:21 -04:00
|
|
|
<url>https://repository.jboss.org/nexus/content/groups/public/</url>
|
2011-10-17 13:06:42 -04:00
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
2011-08-02 12:37:57 -04:00
|
|
|
<licenses>
|
|
|
|
<license>
|
2014-12-16 06:04:36 -05:00
|
|
|
<name>Apache License, Version 2.0</name>
|
2019-05-27 02:28:21 -04:00
|
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
2011-08-02 12:37:57 -04:00
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<organization>
|
|
|
|
<name>Apache Software Foundation</name>
|
2019-05-27 02:28:21 -04:00
|
|
|
<url>https://www.apache.org</url>
|
2011-08-02 12:37:57 -04:00
|
|
|
</organization>
|
|
|
|
|
2011-10-17 13:06:42 -04:00
|
|
|
<properties>
|
2013-01-22 15:09:48 -05:00
|
|
|
<distMgmtSnapshotsId>apache.snapshots.https</distMgmtSnapshotsId>
|
2011-10-17 13:06:42 -04:00
|
|
|
<distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName>
|
|
|
|
<distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
|
2013-01-22 15:09:48 -05:00
|
|
|
<distMgmtStagingId>apache.staging.https</distMgmtStagingId>
|
|
|
|
<distMgmtStagingName>Apache Release Distribution Repository</distMgmtStagingName>
|
|
|
|
<distMgmtStagingUrl>https://repository.apache.org/service/local/staging/deploy/maven2</distMgmtStagingUrl>
|
2014-01-23 17:29:23 -05:00
|
|
|
|
|
|
|
<!-- platform encoding override -->
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
2015-01-29 11:47:59 -05:00
|
|
|
|
|
|
|
<!-- maven plugin versions -->
|
|
|
|
<maven-deploy-plugin.version>2.8.1</maven-deploy-plugin.version>
|
2017-05-04 21:22:34 -04:00
|
|
|
<maven-site-plugin.version>3.6</maven-site-plugin.version>
|
2016-03-04 00:11:36 -05:00
|
|
|
<maven-stylus-skin.version>1.5</maven-stylus-skin.version>
|
2015-01-29 11:47:59 -05:00
|
|
|
<maven-antrun-plugin.version>1.7</maven-antrun-plugin.version>
|
|
|
|
<maven-assembly-plugin.version>2.4</maven-assembly-plugin.version>
|
2017-10-25 10:40:33 -04:00
|
|
|
<maven-dependency-plugin.version>3.0.2</maven-dependency-plugin.version>
|
2017-08-09 00:16:31 -04:00
|
|
|
<maven-enforcer-plugin.version>3.0.0-M1</maven-enforcer-plugin.version>
|
2017-10-31 00:51:26 -04:00
|
|
|
<maven-javadoc-plugin.version>3.0.0-M1</maven-javadoc-plugin.version>
|
2016-06-14 19:03:20 -04:00
|
|
|
<maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
|
2016-11-27 23:10:31 -05:00
|
|
|
<maven-remote-resources-plugin.version>1.5</maven-remote-resources-plugin.version>
|
|
|
|
<maven-resources-plugin.version>3.0.1</maven-resources-plugin.version>
|
2017-07-27 16:04:32 -04:00
|
|
|
<apache-rat-plugin.version>0.12</apache-rat-plugin.version>
|
2015-01-29 11:47:59 -05:00
|
|
|
<wagon-ssh.version>1.0</wagon-ssh.version>
|
|
|
|
<maven-clover2-plugin.version>3.3.0</maven-clover2-plugin.version>
|
|
|
|
<maven-bundle-plugin.version>2.5.0</maven-bundle-plugin.version>
|
|
|
|
<lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
|
2018-03-02 20:08:17 -05:00
|
|
|
<maven-checkstyle-plugin.version>3.0.0</maven-checkstyle-plugin.version>
|
2019-04-01 23:44:37 -04:00
|
|
|
<checkstyle.version>8.19</checkstyle.version>
|
2016-10-21 19:41:30 -04:00
|
|
|
<dependency-check-maven.version>1.4.3</dependency-check-maven.version>
|
2015-05-29 17:54:18 -04:00
|
|
|
|
|
|
|
<shell-executable>bash</shell-executable>
|
2011-10-17 13:06:42 -04:00
|
|
|
</properties>
|
|
|
|
|
2011-08-02 12:37:57 -04:00
|
|
|
<modules>
|
|
|
|
<module>hadoop-project</module>
|
2011-08-22 13:40:58 -04:00
|
|
|
<module>hadoop-project-dist</module>
|
2011-08-02 12:37:57 -04:00
|
|
|
<module>hadoop-assemblies</module>
|
2013-01-18 17:35:58 -05:00
|
|
|
<module>hadoop-maven-plugins</module>
|
2011-08-24 20:20:52 -04:00
|
|
|
<module>hadoop-common-project</module>
|
|
|
|
<module>hadoop-hdfs-project</module>
|
2012-08-08 01:22:27 -04:00
|
|
|
<module>hadoop-yarn-project</module>
|
2011-08-24 20:20:52 -04:00
|
|
|
<module>hadoop-mapreduce-project</module>
|
2011-10-06 21:01:18 -04:00
|
|
|
<module>hadoop-tools</module>
|
2011-10-11 20:27:32 -04:00
|
|
|
<module>hadoop-dist</module>
|
2012-02-01 12:35:14 -05:00
|
|
|
<module>hadoop-minicluster</module>
|
2016-12-15 14:44:59 -05:00
|
|
|
<module>hadoop-client-modules</module>
|
2015-05-01 14:11:50 -04:00
|
|
|
<module>hadoop-build-tools</module>
|
2017-01-20 13:36:31 -05:00
|
|
|
<module>hadoop-cloud-storage-project</module>
|
2011-08-02 12:37:57 -04:00
|
|
|
</modules>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2013-09-16 07:30:47 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2015-01-29 11:47:59 -05:00
|
|
|
<version>${maven-dependency-plugin.version}</version>
|
2013-09-16 07:30:47 -04:00
|
|
|
</plugin>
|
2011-08-02 12:37:57 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
2015-01-29 11:47:59 -05:00
|
|
|
<version>${maven-enforcer-plugin.version}</version>
|
2012-02-09 15:26:19 -05:00
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireMavenVersion>
|
|
|
|
<version>[3.0.2,)</version>
|
|
|
|
</requireMavenVersion>
|
|
|
|
<requireJavaVersion>
|
2016-05-16 18:45:39 -04:00
|
|
|
<version>[1.8,)</version>
|
2012-02-09 15:26:19 -05:00
|
|
|
</requireJavaVersion>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
2011-08-02 12:37:57 -04:00
|
|
|
</plugin>
|
2012-05-01 14:51:58 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
2015-01-29 11:47:59 -05:00
|
|
|
<version>${maven-assembly-plugin.version}</version>
|
2012-05-01 14:51:58 -04:00
|
|
|
</plugin>
|
2011-08-05 14:47:53 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
2015-01-29 11:47:59 -05:00
|
|
|
<version>${maven-deploy-plugin.version}</version>
|
2011-08-05 14:47:53 -04:00
|
|
|
</plugin>
|
2011-08-02 12:37:57 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
2015-01-29 11:47:59 -05:00
|
|
|
<version>${apache-rat-plugin.version}</version>
|
2011-08-02 12:37:57 -04:00
|
|
|
</plugin>
|
2011-10-13 18:38:03 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
2015-01-29 11:47:59 -05:00
|
|
|
<version>${maven-antrun-plugin.version}</version>
|
2011-10-13 18:38:03 -04:00
|
|
|
</plugin>
|
2011-10-20 17:38:58 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
2015-01-29 11:47:59 -05:00
|
|
|
<version>${maven-site-plugin.version}</version>
|
2012-02-08 16:09:13 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency><!-- add support for ssh/scp -->
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
|
|
<artifactId>wagon-ssh</artifactId>
|
2015-01-29 11:47:59 -05:00
|
|
|
<version>${wagon-ssh.version}</version>
|
2012-02-08 16:09:13 -05:00
|
|
|
</dependency>
|
2017-05-04 21:22:34 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.doxia</groupId>
|
|
|
|
<artifactId>doxia-module-markdown</artifactId>
|
2017-12-29 19:59:25 -05:00
|
|
|
<version>1.8</version>
|
2017-05-04 21:22:34 -04:00
|
|
|
</dependency>
|
2012-02-08 16:09:13 -05:00
|
|
|
</dependencies>
|
2011-10-20 17:38:58 -04:00
|
|
|
</plugin>
|
2015-05-05 14:26:31 -04:00
|
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings only.
|
2012-02-06 16:33:27 -05:00
|
|
|
It has no influence on the Maven build itself.-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
2015-01-29 11:47:59 -05:00
|
|
|
<version>${lifecycle-mapping.version}</version>
|
2012-02-06 16:33:27 -05:00
|
|
|
<configuration>
|
|
|
|
<lifecycleMappingMetadata>
|
|
|
|
<pluginExecutions>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
2013-10-23 22:30:39 -04:00
|
|
|
<versionRange>[1.7,)</versionRange>
|
2012-02-06 16:33:27 -05:00
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore></ignore>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<versionRange>[2.2,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>testResources</goal>
|
|
|
|
<goal>resources</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore></ignore>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.avro</groupId>
|
|
|
|
<artifactId>avro-maven-plugin</artifactId>
|
|
|
|
<versionRange>[1.5.3,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>schema</goal>
|
|
|
|
<goal>protocol</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore></ignore>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.codehaus.mojo.jspc</groupId>
|
|
|
|
<artifactId>jspc-maven-plugin</artifactId>
|
|
|
|
<versionRange>[2.0-alpha-3,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore></ignore>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2013-09-16 07:30:47 -04:00
|
|
|
<versionRange>[2.4,)</versionRange>
|
2012-02-06 16:33:27 -05:00
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
<goal>build-classpath</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore></ignore>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<versionRange>[1.2,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore></ignore>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<versionRange>[2.3.1,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore></ignore>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2012-10-17 16:49:44 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.atlassian.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-clover2-plugin</artifactId>
|
2015-01-29 11:47:59 -05:00
|
|
|
<version>${maven-clover2-plugin.version}</version>
|
2012-10-17 16:49:44 -04:00
|
|
|
</plugin>
|
2013-11-14 18:52:53 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
2015-01-29 11:47:59 -05:00
|
|
|
<version>${maven-bundle-plugin.version}</version>
|
2013-11-14 18:52:53 -05:00
|
|
|
</plugin>
|
2015-05-01 14:11:50 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<version>${maven-checkstyle-plugin.version}</version>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-build-tools</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
|
|
<artifactId>checkstyle</artifactId>
|
|
|
|
<version>${checkstyle.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<configuration>
|
|
|
|
<configLocation>checkstyle/checkstyle.xml</configLocation>
|
2016-09-16 17:26:42 -04:00
|
|
|
<suppressionsLocation>checkstyle/suppressions.xml</suppressionsLocation>
|
2016-05-06 20:20:47 -04:00
|
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
2015-05-01 14:11:50 -04:00
|
|
|
<failOnViolation>false</failOnViolation>
|
|
|
|
<outputFile>${project.build.directory}/test/checkstyle-errors.xml</outputFile>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-05-24 21:29:45 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.owasp</groupId>
|
|
|
|
<artifactId>dependency-check-maven</artifactId>
|
|
|
|
<version>${dependency-check-maven.version}</version>
|
|
|
|
</plugin>
|
2011-08-02 12:37:57 -04:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<inherited>false</inherited>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>clean</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>pre-clean</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>default</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>validate</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>site</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>pre-site</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
2013-01-14 09:37:12 -05:00
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>.gitattributes</exclude>
|
|
|
|
<exclude>.gitignore</exclude>
|
|
|
|
<exclude>.git/**</exclude>
|
|
|
|
<exclude>.idea/**</exclude>
|
2016-10-27 19:01:23 -04:00
|
|
|
<exclude>**/build/**</exclude>
|
2015-05-05 14:26:31 -04:00
|
|
|
<exclude>**/patchprocess/**</exclude>
|
2016-10-27 19:01:23 -04:00
|
|
|
<exclude>**/*.js</exclude>
|
2013-01-14 09:37:12 -05:00
|
|
|
</excludes>
|
|
|
|
</configuration>
|
2011-10-28 20:16:16 -04:00
|
|
|
</plugin>
|
2012-01-05 14:46:42 -05:00
|
|
|
<plugin>
|
2011-10-28 20:16:16 -04:00
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-descriptor</id>
|
|
|
|
<goals>
|
|
|
|
<goal>attach-descriptor</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2011-08-02 12:37:57 -04:00
|
|
|
</plugin>
|
2013-11-14 18:52:53 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
|
<inherited>true</inherited>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
</plugin>
|
2015-05-01 14:11:50 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<version>${maven-checkstyle-plugin.version}</version>
|
|
|
|
</plugin>
|
2016-05-24 21:29:45 -04:00
|
|
|
<plugin>
|
|
|
|
<!-- OWASP's dependency-check plugin will scan the third party
|
|
|
|
dependencies of this project for known CVEs (security
|
|
|
|
vulnerabilities against them). It will produce a report
|
|
|
|
in target/dependency-check-report.html. To invoke, run
|
2016-10-21 19:41:30 -04:00
|
|
|
'mvn dependency-check:aggregate'. Note that this plugin
|
|
|
|
requires maven 3.1.1 or greater.
|
2016-05-24 21:29:45 -04:00
|
|
|
-->
|
|
|
|
<groupId>org.owasp</groupId>
|
|
|
|
<artifactId>dependency-check-maven</artifactId>
|
|
|
|
<version>${dependency-check-maven.version}</version>
|
|
|
|
</plugin>
|
2011-08-02 12:37:57 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2015-05-05 14:26:31 -04:00
|
|
|
|
2011-11-01 00:47:10 -04:00
|
|
|
<reporting>
|
|
|
|
<excludeDefaults>true</excludeDefaults>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2015-01-29 11:47:59 -05:00
|
|
|
<version>${maven-javadoc-plugin.version}</version>
|
2012-02-09 15:26:19 -05:00
|
|
|
<inherited>false</inherited>
|
2011-11-01 00:47:10 -04:00
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<id>aggregate</id>
|
|
|
|
<configuration>
|
|
|
|
<maxmemory>1024m</maxmemory>
|
|
|
|
<quiet>true</quiet>
|
|
|
|
<verbose>false</verbose>
|
|
|
|
<source>${maven.compile.source}</source>
|
|
|
|
<charset>${maven.compile.encoding}</charset>
|
|
|
|
<reportOutputDirectory>${project.build.directory}/site</reportOutputDirectory>
|
|
|
|
<destDir>hadoop-project/api</destDir>
|
|
|
|
<!-- Non-public APIs -->
|
2015-01-23 17:10:44 -05:00
|
|
|
<excludePackageNames>org.apache.hadoop.authentication*,org.apache.hadoop.mapreduce.v2.proto,org.apache.hadoop.yarn.proto,org.apache.hadoop.yarn.server*,org.apache.hadoop.yarn.webapp*</excludePackageNames>
|
2011-11-01 00:47:10 -04:00
|
|
|
<groups>
|
|
|
|
<group>
|
|
|
|
<title>Common</title>
|
|
|
|
<packages>org.apache.hadoop*</packages>
|
|
|
|
</group>
|
2015-01-23 17:10:44 -05:00
|
|
|
<group>
|
|
|
|
<title>HDFS</title>
|
|
|
|
<packages>org.apache.hadoop.hdfs*</packages>
|
|
|
|
</group>
|
2011-11-01 00:47:10 -04:00
|
|
|
<group>
|
|
|
|
<title>MapReduce</title>
|
|
|
|
<packages>org.apache.hadoop.mapred*</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>YARN</title>
|
|
|
|
<packages>org.apache.hadoop.yarn*</packages>
|
|
|
|
</group>
|
|
|
|
</groups>
|
|
|
|
<doclet>org.apache.hadoop.classification.tools.IncludePublicAnnotationsStandardDoclet</doclet>
|
|
|
|
<docletArtifacts>
|
|
|
|
<docletArtifact>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-annotations</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</docletArtifact>
|
|
|
|
</docletArtifacts>
|
|
|
|
<useStandardDocletOptions>true</useStandardDocletOptions>
|
2015-05-05 14:26:31 -04:00
|
|
|
|
2011-11-01 00:47:10 -04:00
|
|
|
<!-- switch on dependency-driven aggregation -->
|
|
|
|
<includeDependencySources>false</includeDependencySources>
|
2015-05-05 14:26:31 -04:00
|
|
|
|
2011-11-01 00:47:10 -04:00
|
|
|
<dependencySourceIncludes>
|
|
|
|
<!-- include ONLY dependencies I control -->
|
|
|
|
<dependencySourceInclude>org.apache.hadoop:hadoop-annotations</dependencySourceInclude>
|
|
|
|
</dependencySourceIncludes>
|
2015-05-05 14:26:31 -04:00
|
|
|
|
2011-11-01 00:47:10 -04:00
|
|
|
</configuration>
|
|
|
|
<reports>
|
|
|
|
<report>aggregate</report>
|
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
|
|
|
|
2012-08-15 15:10:52 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2015-01-29 11:47:59 -05:00
|
|
|
<version>${maven-dependency-plugin.version}</version>
|
2012-08-15 15:10:52 -04:00
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<reports>
|
|
|
|
<report>analyze-report</report>
|
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
2011-11-01 00:47:10 -04:00
|
|
|
</plugins>
|
|
|
|
</reporting>
|
2015-05-05 14:26:31 -04:00
|
|
|
|
2011-10-13 18:38:03 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>src</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
2012-02-09 15:26:19 -05:00
|
|
|
<inherited>false</inherited>
|
2011-10-13 18:38:03 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>src-dist</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
<attach>false</attach>
|
2011-11-17 19:19:53 -05:00
|
|
|
<finalName>hadoop-${project.version}-src</finalName>
|
2011-10-13 18:38:03 -04:00
|
|
|
<outputDirectory>hadoop-dist/target</outputDirectory>
|
|
|
|
<!-- Not using descriptorRef and hadoop-assembly dependency -->
|
|
|
|
<!-- to avoid making hadoop-main to depend on a module -->
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>hadoop-assemblies/src/main/resources/assemblies/hadoop-src.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
2012-02-09 15:26:19 -05:00
|
|
|
<inherited>false</inherited>
|
2011-10-13 18:38:03 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>src-dist-msg</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<echo/>
|
2011-11-17 19:19:53 -05:00
|
|
|
<echo>Hadoop source tar available at: ${basedir}/hadoop-dist/target/hadoop-${project.version}-src.tar.gz</echo>
|
2011-10-13 18:38:03 -04:00
|
|
|
<echo/>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2011-11-03 02:20:46 -04:00
|
|
|
<profile>
|
|
|
|
<id>sign</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
2016-06-14 19:03:20 -04:00
|
|
|
<version>${maven-gpg-plugin.version}</version>
|
2011-11-03 02:20:46 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>sign-artifacts</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>sign</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2012-10-17 16:49:44 -04:00
|
|
|
<profile>
|
|
|
|
<id>clover</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
<property>
|
|
|
|
<name>clover</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<cloverLicenseLocation>${user.home}/.clover.license</cloverLicenseLocation>
|
|
|
|
<cloverDatabase>${project.build.directory}/clover/hadoop-coverage.db</cloverDatabase>
|
2015-05-05 14:26:31 -04:00
|
|
|
<!-- NB: This additional parametrization is made in order
|
2013-01-25 15:53:17 -05:00
|
|
|
to be able to re-define these properties with "-Dk=v" maven options.
|
2015-05-05 14:26:31 -04:00
|
|
|
By some reason the expressions declared in clover
|
|
|
|
docs like "${maven.clover.generateHtml}" do not work in that way.
|
|
|
|
However, the below properties are confirmed to work: e.g.
|
|
|
|
-DcloverGenHtml=false switches off the Html generation.
|
2013-01-25 15:53:17 -05:00
|
|
|
The default values provided here exactly correspond to Clover defaults, so
|
|
|
|
the behavior is 100% backwards compatible. -->
|
|
|
|
<cloverAlwaysReport>true</cloverAlwaysReport>
|
|
|
|
<cloverGenHtml>true</cloverGenHtml>
|
|
|
|
<cloverGenXml>true</cloverGenXml>
|
|
|
|
<cloverGenHistorical>false</cloverGenHistorical>
|
2012-10-17 16:49:44 -04:00
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.atlassian.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-clover2-plugin</artifactId>
|
|
|
|
<configuration>
|
2012-11-20 16:22:20 -05:00
|
|
|
<includesAllSourceRoots>false</includesAllSourceRoots>
|
2012-10-17 16:49:44 -04:00
|
|
|
<includesTestSourceRoots>true</includesTestSourceRoots>
|
|
|
|
<licenseLocation>${cloverLicenseLocation}</licenseLocation>
|
|
|
|
<cloverDatabase>${cloverDatabase}</cloverDatabase>
|
|
|
|
<targetPercentage>50%</targetPercentage>
|
|
|
|
<outputDirectory>${project.build.directory}/clover</outputDirectory>
|
2013-01-25 15:53:17 -05:00
|
|
|
<alwaysReport>${cloverAlwaysReport}</alwaysReport>
|
|
|
|
<generateHtml>${cloverGenHtml}</generateHtml>
|
|
|
|
<generateXml>${cloverGenXml}</generateXml>
|
|
|
|
<generateHistorical>${cloverGenHistorical}</generateHistorical>
|
2013-10-14 14:25:04 -04:00
|
|
|
<excludes>
|
|
|
|
<exclude>**/examples/**/*.java</exclude>
|
|
|
|
<exclude>**/hamlet/*.java</exclude>
|
|
|
|
<exclude>**/ha/proto/*.java</exclude>
|
|
|
|
<exclude>**/protocol/proto/*.java</exclude>
|
|
|
|
<exclude>**/compiler/generated/*.java</exclude>
|
|
|
|
<exclude>**/protobuf/*.java</exclude>
|
|
|
|
<exclude>**/v2/proto/*.java</exclude>
|
|
|
|
<exclude>**/yarn/proto/*.java</exclude>
|
|
|
|
<exclude>**/security/proto/*.java</exclude>
|
|
|
|
<exclude>**/tools/proto/*.java</exclude>
|
|
|
|
<exclude>**/hs/proto/*.java</exclude>
|
|
|
|
</excludes>
|
2012-10-17 16:49:44 -04:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>clover-setup</id>
|
|
|
|
<phase>process-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>setup</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>clover</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>clover</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2011-10-13 18:38:03 -04:00
|
|
|
</profiles>
|
2011-08-02 12:37:57 -04:00
|
|
|
</project>
|