hadoop-client-api
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client-api</artifactId>
<version>3.4.2</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
#%L
Apache Hadoop Client API
%%
Copyright (C) 2008 - 2025 Apache Software Foundation
%%
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.
#L%
-->
<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/maven-v4_0_0.xsd">
<parent>
<artifactId>hadoop-project</artifactId>
<groupId>org.apache.hadoop</groupId>
<version>3.4.2</version>
<relativePath>../../hadoop-project/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>hadoop-client-api</artifactId>
<name>Apache Hadoop Client API</name>
<version>3.4.2</version>
<description>Apache Hadoop Client</description>
<profiles>
<profile>
<id>shade</id>
<build>
<plugins>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<id>hadoop-java-sources</id>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
<goal>test-jar-no-fork</goal>
</goals>
<configuration>
<skipSource>true</skipSource>
</configuration>
</execution>
</executions>
<configuration>
<skipSource>true</skipSource>
</configuration>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>3.4.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>org.apache.hadoop:*</include>
</includes>
<excludes>
<exclude>org.xerial.snappy:*</exclude>
</excludes>
</artifactSet>
<filters>
<filter>
<artifact>org.apache.hadoop:hadoop-yarn-common</artifact>
<excludes>
<exclude>org/apache/hadoop/yarn/factories/package-info.class</exclude>
<exclude>org/apache/hadoop/yarn/util/package-info.class</exclude>
<exclude>org/apache/hadoop/yarn/factory/providers/package-info.class</exclude>
<exclude>org/apache/hadoop/yarn/client/api/impl/package-info.class</exclude>
<exclude>org/apache/hadoop/yarn/client/api/package-info.class</exclude>
</excludes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>org/</pattern>
<shadedPattern>org.apache.hadoop.shaded.org.</shadedPattern>
<excludes>
<exclude>org/apache/hadoop/*</exclude>
<exclude>org/apache/hadoop/**/*</exclude>
<exclude>org/slf4j/*</exclude>
<exclude>org/slf4j/**/*</exclude>
<exclude>org/apache/commons/logging/*</exclude>
<exclude>org/apache/commons/logging/**/*</exclude>
<exclude>org/apache/log4j/*</exclude>
<exclude>org/apache/log4j/**/*</exclude>
<exclude>**/pom.xml</exclude>
<exclude>org/ietf/jgss/*</exclude>
<exclude>org/omg/**/*</exclude>
<exclude>org/w3c/dom/*</exclude>
<exclude>org/w3c/dom/**/*</exclude>
<exclude>org/xml/sax/*</exclude>
<exclude>org/xml/sax/**/*</exclude>
<exclude>org/bouncycastle/*</exclude>
<exclude>org/bouncycastle/**/*</exclude>
<exclude>org/xerial/snappy/*</exclude>
<exclude>org/xerial/snappy/**/*</exclude>
<exclude>org/wildfly/openssl/*</exclude>
<exclude>org/wildfly/openssl/**/*</exclude>
</excludes>
</relocation>
<relocation>
<pattern>com/</pattern>
<shadedPattern>org.apache.hadoop.shaded.com.</shadedPattern>
<excludes>
<exclude>**/pom.xml</exclude>
<exclude>com/sun/tools/*</exclude>
<exclude>com/sun/javadoc/*</exclude>
<exclude>com/sun/security/*</exclude>
<exclude>com/sun/jndi/*</exclude>
<exclude>com/sun/management/*</exclude>
<exclude>com/sun/tools/**/*</exclude>
<exclude>com/sun/javadoc/**/*</exclude>
<exclude>com/sun/security/**/*</exclude>
<exclude>com/sun/jndi/**/*</exclude>
<exclude>com/sun/management/**/*</exclude>
<exclude>com/ibm/security/*</exclude>
<exclude>com/ibm/security/**/*</exclude>
</excludes>
</relocation>
<relocation>
<pattern>io/</pattern>
<shadedPattern>org.apache.hadoop.shaded.io.</shadedPattern>
<excludes>
<exclude>**/pom.xml</exclude>
<exclude>io/compression/*</exclude>
<exclude>io/compression/**/*</exclude>
<exclude>io/mapfile/*</exclude>
<exclude>io/mapfile/**/*</exclude>
<exclude>io/map/index/*</exclude>
<exclude>io/seqfile/*</exclude>
<exclude>io/seqfile/**/*</exclude>
<exclude>io/file/buffer/size</exclude>
<exclude>io/skip/checksum/errors</exclude>
<exclude>io/sort/*</exclude>
<exclude>io/serializations</exclude>
</excludes>
</relocation>
<relocation>
<pattern>javax/el/</pattern>
<shadedPattern>org.apache.hadoop.shaded.javax.el.</shadedPattern>
<excludes>
<exclude>**/pom.xml</exclude>
</excludes>
</relocation>
<relocation>
<pattern>javax/cache/</pattern>
<shadedPattern>org.apache.hadoop.shaded.javax.cache.</shadedPattern>
<excludes>
<exclude>**/pom.xml</exclude>
</excludes>
</relocation>
<relocation>
<pattern>javax/servlet/</pattern>
<shadedPattern>org.apache.hadoop.shaded.javax.servlet.</shadedPattern>
<excludes>
<exclude>**/pom.xml</exclude>
</excludes>
</relocation>
<relocation>
<pattern>javax/ws/</pattern>
<shadedPattern>org.apache.hadoop.shaded.javax.ws.</shadedPattern>
<excludes>
<exclude>**/pom.xml</exclude>
</excludes>
</relocation>
<relocation>
<pattern>net/</pattern>
<shadedPattern>org.apache.hadoop.shaded.net.</shadedPattern>
<excludes>
<exclude>**/pom.xml</exclude>
<exclude>net/topology/*</exclude>
<exclude>net/topology/**/*</exclude>
<exclude>net/jpountz/*</exclude>
<exclude>net/jpountz/**/*</exclude>
</excludes>
</relocation>
<relocation>
<pattern>okio/</pattern>
<shadedPattern>org.apache.hadoop.shaded.okio.</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer />
<transformer />
<transformer>
<resource>NOTICE.txt</resource>
</transformer>
<transformer>
<resource>META-INF/LICENSE.txt</resource>
<file>/build/source/hadoop-client-modules/hadoop-client-api/../../LICENSE.txt</file>
</transformer>
<transformer>
<resource>META-INF/NOTICE.txt</resource>
<file>/build/source/hadoop-client-modules/hadoop-client-api/../../NOTICE.txt</file>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>1.10</version>
<executions>
<execution>
<id>update-pom-license</id>
<phase>package</phase>
<goals>
<goal>update-file-header</goal>
</goals>
<configuration>
<licenseName>apache_v2</licenseName>
<includes>
<include>dependency-reduced-pom.xml</include>
</includes>
<canUpdateCopyright>false</canUpdateCopyright>
<roots>
<root>/build/source/hadoop-client-modules/hadoop-client-api</root>
</roots>
</configuration>
</execution>
</executions>
<configuration>
<canUpdateCopyright>false</canUpdateCopyright>
<roots>
<root>/build/source/hadoop-client-modules/hadoop-client-api</root>
</roots>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<os.detected.bitness>64</os.detected.bitness>
<os.detected.release.version>20.04</os.detected.release.version>
<os.detected.release.like.ubuntu>true</os.detected.release.like.ubuntu>
<os.detected.release>ubuntu</os.detected.release>
<os.detected.name>linux</os.detected.name>
<os.detected.release.like.debian>true</os.detected.release.like.debian>
<os.detected.classifier>linux-x86_64</os.detected.classifier>
<os.detected.arch>x86_64</os.detected.arch>
</properties>
</profile>
<profile>
<id>noshade</id>
<build>
<plugins>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<configuration>
<skipSource>true</skipSource>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.xerial.snappy</groupId>
<artifactId>snappy-java</artifactId>
<version>1.1.10.4</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<artifactId>org.osgi.core</artifactId>
<groupId>org.osgi</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<properties>
<maven.javadoc.skip>true</maven.javadoc.skip>
<shaded.dependency.prefix>org.apache.hadoop.shaded</shaded.dependency.prefix>
</properties>
</project>