| <?xml version="1.0" encoding="UTF-8"?> |
| <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"> |
| |
| <!-- |
| |
| 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.servicemix.bundles</groupId> |
| <artifactId>bundles-pom</artifactId> |
| <version>13</version> |
| <relativePath>../bundles-pom/pom.xml</relativePath> |
| </parent> |
| |
| <groupId>org.apache.servicemix.bundles</groupId> |
| <artifactId>org.apache.servicemix.bundles.hadoop-client</artifactId> |
| <version>3.1.1_2-SNAPSHOT</version> |
| <packaging>bundle</packaging> |
| <name>Apache ServiceMix :: Bundles :: hadoop-client</name> |
| <description>This OSGi bundle wraps ${pkgVersion} jar files.</description> |
| |
| <scm> |
| <connection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</connection> |
| <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</developerConnection> |
| <url>https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git</url> |
| <tag>HEAD</tag> |
| </scm> |
| |
| <properties> |
| <pkgGroupId>org.apache.hadoop</pkgGroupId> |
| <pkgVersion>3.1.1</pkgVersion> |
| <servicemix.osgi.export.pkg> |
| org.apache.hadoop |
| </servicemix.osgi.export.pkg> |
| <servicemix.osgi.import.pkg> |
| org.apache.directory.server.kerberos.shared.keytab;resolution:=optional, |
| org.fusesource.leveldbjni;resolution:=optional, |
| org.fusesource.leveldbjni.internal;resolution:=optional, |
| org.iq80.leveldb;resolution:=optional, |
| com.google.common*, |
| com.google.gson.stream;resolution:=optional, |
| com.google.inject;version="[3,4)", |
| com.google.inject.binder;version="[3,4)", |
| com.google.inject.servlet;version="[3,4)";resolution:=optional, |
| com.google.protobuf;version="[2.5,3)", |
| com.jcraft.jsch;resolution:=optional, |
| io.netty*;resolution:=optional, |
| javax.annotation, |
| javax.crypto*, |
| javax.management*, |
| javax.naming*, |
| javax.net*, |
| javax.security.auth*, |
| javax.security.sasl, |
| javax.servlet*;resolution:=optional, |
| javax.ws.rs*;resolution:=optional, |
| javax.xml.bind*;resolution:=optional, |
| javax.xml.parsers, |
| javax.xml.transform*, |
| org.xml.sax*, |
| org.w3c.dom, |
| com.sun.jersey*;resolution:=optional, |
| org.apache.avro*, |
| org.apache.commons.cli;version="[1.2,2)";resolution:=optional, |
| org.apache.commons.codec*;version="[1.4,2)", |
| org.apache.commons.collections*;version="[3.2,4)", |
| org.apache.commons.compress.archivers.tar;version="[1.4,2)", |
| org.apache.commons.configuration;version="[1.6,2)", |
| org.apache.commons.daemon;version="[1.0,2)";resolution:=optional, |
| org.apache.commons.httpclient*, |
| org.apache.commons.io*;version="[1.4,2)", |
| org.apache.commons.lang*;version="[2.6,3)", |
| org.apache.commons.logging*;version="[1.1,2)";resolution:=optional, |
| org.apache.commons.math3.util;version="[3.1,4)";resolution:=optional, |
| org.apache.commons.net*;version="[3.1,4)", |
| org.apache.curator;resolution:=optional, |
| org.apache.curator.ensemble;resolution:=optional, |
| org.apache.curator.ensemble.fixed;resolution:=optional, |
| org.apache.curator.framework;resolution:=optional, |
| org.apache.curator.framework.api;resolution:=optional, |
| org.apache.curator.framework.imps;resolution:=optional, |
| org.apache.curator.framework.listen;resolution:=optional, |
| org.apache.curator.framework.recipes.cache;resolution:=optional, |
| org.apache.curator.framework.recipes.locks;resolution:=optional, |
| org.apache.curator.framework.recipes.shared;resolution:=optional, |
| org.apache.curator.retry;resolution:=optional, |
| org.apache.curator.utils;resolution:=optional, |
| org.apache.http*;resolution:=optional, |
| org.apache.htrace;resolution:=optional, |
| org.apache.log4j*;resolution:=optional, |
| org.apache.jasper.runtime;resolution:=optional, |
| org.apache.tools.ant*;resolution:=optional, |
| org.apache.zookeeper*;version="[3.4,4)";resolution:=optional, |
| org.apache.xml.serialize;resolution:=optional, |
| org.codehaus.jackson*;version="[1.8,2)", |
| org.jboss.netty*;version="[3.6,4)";resolution:=optional, |
| org.mortbay*;version="[6.1,8)";resolution:=optional, |
| sun.net*;resolution:=optional, |
| org.htrace;resolution:=optional, |
| org.ietf.jgss;resolution:=optional, |
| org.slf4j;version="[1.7,2)";resolution:=optional, |
| org.znerd.xmlenc;resolution:=optional, |
| com.sun.org.apache.xml.internal.serialize;resolution:=optional, |
| com.sun.tools.doclets.standard;resolution:=optional, |
| jdiff;resolution:=optional, |
| sun.misc;resolution:=optional, |
| sun.nio.ch;resolution:=optional, |
| com.sun.javadoc;resolution:=optional, |
| com.sun.jndi.ldap;resolution:=optional |
| </servicemix.osgi.import.pkg> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>${pkgGroupId}</groupId> |
| <artifactId>hadoop-common</artifactId> |
| <version>${pkgVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>${pkgGroupId}</groupId> |
| <artifactId>hadoop-hdfs</artifactId> |
| <version>${pkgVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>${pkgGroupId}</groupId> |
| <artifactId>hadoop-mapreduce-client-app</artifactId> |
| <version>${pkgVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>${pkgGroupId}</groupId> |
| <artifactId>hadoop-yarn-api</artifactId> |
| <version>${pkgVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>${pkgGroupId}</groupId> |
| <artifactId>hadoop-mapreduce-client-core</artifactId> |
| <version>${pkgVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>${pkgGroupId}</groupId> |
| <artifactId>hadoop-mapreduce-client-jobclient</artifactId> |
| <version>${pkgVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>${pkgGroupId}</groupId> |
| <artifactId>hadoop-annotations</artifactId> |
| <version>${pkgVersion}</version> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <artifactSet> |
| <includes> |
| <include>${pkgGroupId}:hadoop-common</include> |
| <include>${pkgGroupId}:hadoop-hdfs</include> |
| <include>${pkgGroupId}:hadoop-mapreduce-client-app</include> |
| <include>${pkgGroupId}:hadoop-yarn-api</include> |
| <include>${pkgGroupId}:hadoop-mapreduce-client-core</include> |
| <include>${pkgGroupId}:hadoop-mapreduce-client-jobclient</include> |
| <include>${pkgGroupId}:hadoop-annotations</include> |
| </includes> |
| </artifactSet> |
| <filters> |
| <filter> |
| <artifact>${pkgGroupId}:hadoop-common</artifact> |
| <includes> |
| <include>META-INF/services/*</include> |
| <include>core-default.xml</include> |
| <include>common-version-info.properties</include> |
| </includes> |
| </filter> |
| <filter> |
| <artifact>${pkgGroupId}:hadoop-hdfs</artifact> |
| <includes> |
| <include>META-INF/services/*</include> |
| <include>hdfs-default.xml</include> |
| </includes> |
| </filter> |
| <filter> |
| <artifact>${pkgGroupId}:hadoop-mapreduce-client-app</artifact> |
| <includes> |
| <include>META-INF/services/*</include> |
| </includes> |
| </filter> |
| <filter> |
| <artifact>${pkgGroupId}:hadoop-yarn-api</artifact> |
| <excludes> |
| <exclude>**/*</exclude> |
| </excludes> |
| </filter> |
| <filter> |
| <artifact>${pkgGroupId}:hadoop-mapreduce-client-core</artifact> |
| <includes> |
| <include>META-INF/services/*</include> |
| <include>mapred-default.xml</include> |
| </includes> |
| </filter> |
| <filter> |
| <artifact>${pkgGroupId}:hadoop-mapreduce-client-jobclient</artifact> |
| <includes> |
| <include>META-INF/services/*</include> |
| </includes> |
| </filter> |
| <filter> |
| <artifact>${pkgGroupId}:hadoop-annotations</artifact> |
| <excludes> |
| <exclude>**/*</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| <promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
| <createDependencyReducedPom>true</createDependencyReducedPom> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |