2011-08-19 13:36:23 -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
|
|
|
|
|
|
|
|
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. 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"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
|
|
|
http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2011-08-19 13:36:23 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-project</artifactId>
|
2018-02-10 22:17:38 -05:00
|
|
|
<version>3.2.0-SNAPSHOT</version>
|
2011-08-19 13:36:23 -04:00
|
|
|
<relativePath>../hadoop-project</relativePath>
|
|
|
|
</parent>
|
2011-08-22 13:40:58 -04:00
|
|
|
<artifactId>hadoop-project-dist</artifactId>
|
2018-02-10 22:17:38 -05:00
|
|
|
<version>3.2.0-SNAPSHOT</version>
|
2011-08-22 13:40:58 -04:00
|
|
|
<description>Apache Hadoop Project Dist POM</description>
|
|
|
|
<name>Apache Hadoop Project Dist POM</name>
|
2011-08-19 13:36:23 -04:00
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<hadoop.tmp.dir>${project.build.directory}/test</hadoop.tmp.dir>
|
|
|
|
<test.build.data>${project.build.directory}/test/data</test.build.data>
|
|
|
|
<hadoop.log.dir>${project.build.directory}/log</hadoop.log.dir>
|
|
|
|
<test.build.webapps>${project.build.directory}/test-classes/webapps</test.build.webapps>
|
|
|
|
<test.cache.data>${project.build.directory}/test-classes</test.cache.data>
|
|
|
|
<test.build.classes>${project.build.directory}/test-classes</test.build.classes>
|
|
|
|
|
|
|
|
<hadoop.component>UNDEF</hadoop.component>
|
2016-03-04 18:42:04 -05:00
|
|
|
<snappy.lib></snappy.lib>
|
2011-08-19 13:36:23 -04:00
|
|
|
<bundle.snappy>false</bundle.snappy>
|
2013-08-11 01:51:34 -04:00
|
|
|
<bundle.snappy.in.bin>false</bundle.snappy.in.bin>
|
2017-01-04 09:46:25 -05:00
|
|
|
<zstd.lib></zstd.lib>
|
|
|
|
<bundle.zstd>false</bundle.zstd>
|
|
|
|
<bundle.zstd.in.bin>false</bundle.zstd.in.bin>
|
2016-03-04 18:42:04 -05:00
|
|
|
<isal.lib></isal.lib>
|
2016-01-15 17:05:21 -05:00
|
|
|
<bundle.isal>false</bundle.isal>
|
2016-03-04 18:42:04 -05:00
|
|
|
<openssl.lib></openssl.lib>
|
2014-07-03 19:40:31 -04:00
|
|
|
<bundle.openssl>false</bundle.openssl>
|
|
|
|
<bundle.openssl.in.bin>false</bundle.openssl.in.bin>
|
2011-08-19 13:36:23 -04:00
|
|
|
</properties>
|
2016-03-04 18:42:04 -05:00
|
|
|
|
2011-08-19 13:36:23 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-annotations</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>prepare-jar</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>prepare-test-jar</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.class</include>
|
2011-08-22 18:24:00 -04:00
|
|
|
<include>webapps/**</include>
|
2016-06-15 00:30:14 -04:00
|
|
|
<include>META-INF/LICENSE.txt</include>
|
|
|
|
<include>META-INF/NOTICE.txt</include>
|
2011-08-19 13:36:23 -04:00
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludeFilterFile>${basedir}/dev-support/findbugsExcludeFile.xml</excludeFilterFile>
|
2014-07-30 18:16:40 -04:00
|
|
|
<fork>true</fork>
|
|
|
|
<maxHeap>2048</maxHeap>
|
2011-08-19 13:36:23 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<configuration>
|
2017-07-31 18:09:34 -04:00
|
|
|
<maxmemory>768m</maxmemory>
|
2011-08-19 13:36:23 -04:00
|
|
|
<quiet>true</quiet>
|
|
|
|
<verbose>false</verbose>
|
|
|
|
<source>${maven.compile.source}</source>
|
|
|
|
<charset>${maven.compile.encoding}</charset>
|
|
|
|
<reportOutputDirectory>${project.build.directory}/site</reportOutputDirectory>
|
2016-11-02 21:34:33 -04:00
|
|
|
<destDir>${project.build.directory}/api</destDir>
|
2011-08-19 13:36:23 -04:00
|
|
|
<groups>
|
|
|
|
<group>
|
|
|
|
<title>${project.name} API</title>
|
|
|
|
<packages>org.apache.hadoop*</packages>
|
|
|
|
</group>
|
|
|
|
</groups>
|
|
|
|
|
|
|
|
<!-- switch on dependency-driven aggregation -->
|
|
|
|
<includeDependencySources>false</includeDependencySources>
|
|
|
|
|
|
|
|
<dependencySourceIncludes>
|
|
|
|
<!-- include ONLY dependencies I control -->
|
|
|
|
<dependencySourceInclude>org.apache.hadoop:hadoop-annotations</dependencySourceInclude>
|
|
|
|
</dependencySourceIncludes>
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>docs</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
2018-08-08 16:01:58 -04:00
|
|
|
<jdiff.stable.api>3.1.1</jdiff.stable.api>
|
2011-08-19 13:36:23 -04:00
|
|
|
<jdiff.stability>-unstable</jdiff.stability>
|
2015-04-04 16:52:01 -04:00
|
|
|
<!-- Commented out for HADOOP-11776 -->
|
|
|
|
<!-- Uncomment param name="${jdiff.compatibility}" in javadoc doclet if compatibility is not empty -->
|
2011-08-19 13:36:23 -04:00
|
|
|
<jdiff.compatibility></jdiff.compatibility>
|
|
|
|
<jdiff.javadoc.maxmemory>512m</jdiff.javadoc.maxmemory>
|
|
|
|
</properties>
|
2017-09-18 18:13:42 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>xerces</groupId>
|
|
|
|
<artifactId>xercesImpl</artifactId>
|
|
|
|
<version>${xerces.jdiff.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2011-08-19 13:36:23 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<executions>
|
2016-08-19 22:08:53 -04:00
|
|
|
<execution>
|
2011-08-19 13:36:23 -04:00
|
|
|
<goals>
|
|
|
|
<goal>javadoc</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>site</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>jdiff</groupId>
|
|
|
|
<artifactId>jdiff</artifactId>
|
|
|
|
<version>${jdiff.version}</version>
|
|
|
|
<overWrite>false</overWrite>
|
|
|
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
|
|
|
<destFileName>jdiff.jar</destFileName>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-annotations</artifactId>
|
2012-01-05 14:46:42 -05:00
|
|
|
<version>${project.version}</version>
|
2011-08-19 13:36:23 -04:00
|
|
|
<overWrite>false</overWrite>
|
|
|
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
|
|
|
<destFileName>hadoop-annotations.jar</destFileName>
|
|
|
|
</artifactItem>
|
2017-09-18 18:13:42 -04:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>xerces</groupId>
|
|
|
|
<artifactId>xercesImpl</artifactId>
|
|
|
|
<version>${xerces.jdiff.version}</version>
|
|
|
|
<overWrite>false</overWrite>
|
|
|
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
|
|
|
<destFileName>xerces.jar</destFileName>
|
|
|
|
</artifactItem>
|
2011-08-19 13:36:23 -04:00
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
2016-08-19 22:08:53 -04:00
|
|
|
|
|
|
|
<!-- Pre site -->
|
|
|
|
<execution>
|
|
|
|
<id>pre-site</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target if="is.hadoop.common.component">
|
|
|
|
<!-- HADOOP-13428: This is for workaround issues of JDiff
|
|
|
|
- https://sourceforge.net/p/javadiff/bugs/19/ -->
|
|
|
|
<exec executable="patch" input="dev-support/jdiff-workaround.patch" dir="${basedir}">
|
|
|
|
<arg value="-p3"/>
|
|
|
|
</exec>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
|
2011-08-19 13:36:23 -04:00
|
|
|
<execution>
|
|
|
|
<id>site</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target if="is.hadoop.component">
|
|
|
|
<mkdir dir="${project.build.directory}/docs-src"/>
|
|
|
|
|
|
|
|
<!-- Docs -->
|
|
|
|
<style basedir="${basedir}/src/main/resources"
|
|
|
|
destdir="${project.build.directory}/site"
|
|
|
|
includes="core-default.xml"
|
|
|
|
style="${basedir}/src/main/xsl/configuration.xsl"/>
|
|
|
|
|
|
|
|
<!-- Jdiff -->
|
|
|
|
<mkdir dir="${project.build.directory}/site/jdiff/xml"/>
|
|
|
|
|
|
|
|
<javadoc maxmemory="${jdiff.javadoc.maxmemory}" verbose="yes">
|
2016-09-27 14:26:45 -04:00
|
|
|
<doclet name="org.apache.hadoop.classification.tools.IncludePublicAnnotationsJDiffDoclet"
|
2011-08-19 13:36:23 -04:00
|
|
|
path="${project.build.directory}/hadoop-annotations.jar:${project.build.directory}/jdiff.jar">
|
|
|
|
<param name="-apidir" value="${project.build.directory}/site/jdiff/xml"/>
|
2015-04-04 16:52:01 -04:00
|
|
|
<param name="-apiname" value="${project.name} ${project.version}"/>
|
2011-08-19 13:36:23 -04:00
|
|
|
<param name="${jdiff.stability}"/>
|
|
|
|
</doclet>
|
|
|
|
<packageset dir="${basedir}/src/main/java"/>
|
|
|
|
<classpath>
|
|
|
|
<path refid="maven.compile.classpath"/>
|
|
|
|
</classpath>
|
|
|
|
</javadoc>
|
|
|
|
<javadoc sourcepath="${basedir}/src/main/java"
|
|
|
|
destdir="${project.build.directory}/site/jdiff/xml"
|
|
|
|
sourceFiles="${basedir}/dev-support/jdiff/Null.java"
|
|
|
|
maxmemory="${jdiff.javadoc.maxmemory}">
|
2016-09-27 14:26:45 -04:00
|
|
|
<doclet name="org.apache.hadoop.classification.tools.IncludePublicAnnotationsJDiffDoclet"
|
2017-09-18 18:13:42 -04:00
|
|
|
path="${project.build.directory}/hadoop-annotations.jar:${project.build.directory}/jdiff.jar:${project.build.directory}/xerces.jar">
|
2015-04-04 16:52:01 -04:00
|
|
|
<param name="-oldapi" value="${project.name} ${jdiff.stable.api}"/>
|
|
|
|
<param name="-newapi" value="${project.name} ${project.version}"/>
|
2011-08-19 13:36:23 -04:00
|
|
|
<param name="-oldapidir" value="${basedir}/dev-support/jdiff"/>
|
|
|
|
<param name="-newapidir" value="${project.build.directory}/site/jdiff/xml"/>
|
|
|
|
<param name="-javadocold"
|
2015-04-04 16:52:01 -04:00
|
|
|
value="http://hadoop.apache.org/docs/r${jdiff.stable.api}/api/"/>
|
2011-08-19 13:36:23 -04:00
|
|
|
<param name="-javadocnew" value="${project.build.directory}/site/api"/>
|
|
|
|
<param name="-stats"/>
|
|
|
|
<param name="${jdiff.stability}"/>
|
2015-04-04 16:52:01 -04:00
|
|
|
<!--param name="${jdiff.compatibility}"/-->
|
2011-08-19 13:36:23 -04:00
|
|
|
</doclet>
|
|
|
|
<classpath>
|
|
|
|
<path refid="maven.compile.classpath"/>
|
|
|
|
</classpath>
|
|
|
|
</javadoc>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2016-08-19 22:08:53 -04:00
|
|
|
|
|
|
|
<!-- post site phase -->
|
|
|
|
<execution>
|
|
|
|
<id>post-site</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target if="is.hadoop.common.component">
|
|
|
|
<!-- HADOOP-13428: Revert temporary patch-->
|
|
|
|
<exec executable="patch" input="dev-support/jdiff-workaround.patch" dir="${basedir}">
|
|
|
|
<arg value="-p3"/>
|
|
|
|
<arg value="-R"/>
|
|
|
|
</exec>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
|
2011-08-19 13:36:23 -04:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
2011-08-22 13:40:58 -04:00
|
|
|
<id>dist</id>
|
2011-08-19 13:36:23 -04:00
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2016-03-04 18:42:04 -05:00
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<version>${exec-maven-plugin.version}</version>
|
2011-08-19 13:36:23 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2011-08-22 13:40:58 -04:00
|
|
|
<id>pre-dist</id>
|
2011-08-19 13:36:23 -04:00
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
2016-03-04 18:42:04 -05:00
|
|
|
<goal>exec</goal>
|
2011-08-19 13:36:23 -04:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2016-05-16 15:05:02 -04:00
|
|
|
<executable>${shell-executable}</executable>
|
|
|
|
<workingDirectory>${project.build.directory}</workingDirectory>
|
|
|
|
<requiresOnline>false</requiresOnline>
|
|
|
|
<arguments>
|
|
|
|
<argument>${project.parent.basedir}/../dev-support/bin/dist-copynativelibs</argument>
|
|
|
|
<argument>--version=${project.version}</argument>
|
|
|
|
<argument>--builddir=${project.build.directory}</argument>
|
|
|
|
<argument>--artifactid=${project.artifactId}</argument>
|
|
|
|
<argument>--isalbundle=${bundle.isal}</argument>
|
|
|
|
<argument>--isallib=${isal.lib}</argument>
|
|
|
|
<argument>--openssllib=${openssl.lib}</argument>
|
|
|
|
<argument>--opensslbinbundle=${bundle.openssl.in.bin}</argument>
|
|
|
|
<argument>--openssllibbundle=${bundle.openssl}</argument>
|
|
|
|
<argument>--snappybinbundle=${bundle.snappy.in.bin}</argument>
|
|
|
|
<argument>--snappylib=${snappy.lib}</argument>
|
|
|
|
<argument>--snappylibbundle=${bundle.snappy}</argument>
|
2017-01-04 09:46:25 -05:00
|
|
|
<argument>--zstdbinbundle=${bundle.zstd.in.bin}</argument>
|
|
|
|
<argument>--zstdlib=${zstd.lib}</argument>
|
|
|
|
<argument>--zstdlibbundle=${bundle.zstd}</argument>
|
2016-05-16 15:05:02 -04:00
|
|
|
</arguments>
|
2011-08-19 13:36:23 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
2016-03-04 18:42:04 -05:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
2011-08-19 13:36:23 -04:00
|
|
|
<execution>
|
|
|
|
<id>tar</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2011-08-22 13:40:58 -04:00
|
|
|
<target if="tar">
|
2011-08-19 13:36:23 -04:00
|
|
|
<!-- Using Unix script to preserve symlinks -->
|
2011-08-22 13:40:58 -04:00
|
|
|
<echo file="${project.build.directory}/dist-maketar.sh">
|
HADOOP-8952. Enhancements to support Hadoop on Windows Server and Windows Azure environments. Contributed by Ivan Mitic, Chuan Liu, Ramya Sunil, Bikas Saha, Kanna Karanam, John Gordon, Brandon Li, Chris Nauroth, David Lao, Sumadhur Reddy Bolli, Arpit Agarwal, Ahmed El Baz, Mike Liddell, Jing Zhao, Thejas Nair, Steve Maine, Ganeshan Iyer, Raja Aluri, Giridharan Kesavan, Ramya Bharathi Nimmagadda.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1453486 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 14:15:18 -05:00
|
|
|
cd "${project.build.directory}"
|
|
|
|
tar cf - ${project.artifactId}-${project.version} | gzip > ${project.artifactId}-${project.version}.tar.gz
|
2011-08-19 13:36:23 -04:00
|
|
|
</echo>
|
2015-05-29 17:54:18 -04:00
|
|
|
<exec executable="${shell-executable}" dir="${project.build.directory}" failonerror="true">
|
2011-08-22 13:40:58 -04:00
|
|
|
<arg line="./dist-maketar.sh"/>
|
2011-08-19 13:36:23 -04:00
|
|
|
</exec>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-assemblies</artifactId>
|
2018-04-16 13:15:17 -04:00
|
|
|
<version>${hadoop.version}</version>
|
2011-08-19 13:36:23 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2011-08-22 13:40:58 -04:00
|
|
|
<id>dist</id>
|
2017-01-05 16:40:43 -05:00
|
|
|
<phase>package</phase>
|
2011-08-19 13:36:23 -04:00
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
<attach>false</attach>
|
|
|
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
|
|
|
<descriptorRefs>
|
2011-08-22 13:40:58 -04:00
|
|
|
<descriptorRef>hadoop-dist</descriptorRef>
|
2011-08-19 13:36:23 -04:00
|
|
|
</descriptorRefs>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2018-09-18 05:48:25 -04:00
|
|
|
<profile>
|
|
|
|
<id>doclet</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>(,10)</jdk>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<doclet>org.apache.hadoop.classification.tools.ExcludePrivateAnnotationsStandardDoclet</doclet>
|
|
|
|
<docletArtifacts>
|
|
|
|
<docletArtifact>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-annotations</artifactId>
|
|
|
|
<version>${hadoop.version}</version>
|
|
|
|
</docletArtifact>
|
|
|
|
</docletArtifacts>
|
|
|
|
<useStandardDocletOptions>true</useStandardDocletOptions>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2011-08-19 13:36:23 -04:00
|
|
|
</profiles>
|
|
|
|
</project>
|