Repository: servicemix-bundles Updated Branches: refs/heads/master 17ffff94b -> d481a7ecf
[SM-3219] Create OSGi bundle for hadoop-client 2.7.3 Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/d481a7ec Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/d481a7ec Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/d481a7ec Branch: refs/heads/master Commit: d481a7ecf40e0e88f7c2cdf04e530e12616c76e3 Parents: 17ffff9 Author: Jean-Baptiste Onofré <[email protected]> Authored: Tue Jan 17 06:01:48 2017 -0800 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Tue Jan 17 06:01:48 2017 -0800 ---------------------------------------------------------------------- hadoop-client-2.7.3/pom.xml | 290 +++++++++++++++++++ .../src/main/resources/OSGI-INF/bundle.info | 17 ++ pom.xml | 1 + 3 files changed, 308 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/d481a7ec/hadoop-client-2.7.3/pom.xml ---------------------------------------------------------------------- diff --git a/hadoop-client-2.7.3/pom.xml b/hadoop-client-2.7.3/pom.xml new file mode 100644 index 0000000..3d6428e --- /dev/null +++ b/hadoop-client-2.7.3/pom.xml @@ -0,0 +1,290 @@ +<?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>12</version> + <relativePath>../bundles-pom/pom.xml</relativePath> + </parent> + + <groupId>org.apache.servicemix.bundles</groupId> + <artifactId>org.apache.servicemix.bundles.hadoop-client</artifactId> + <version>2.7.3_1-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>2.7.3</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> + + <!-- sources --> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>hadoop-common</artifactId> + <version>${pkgVersion}</version> + <classifier>sources</classifier> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>hadoop-hdfs</artifactId> + <version>${pkgVersion}</version> + <classifier>sources</classifier> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>hadoop-mapreduce-client-app</artifactId> + <version>${pkgVersion}</version> + <classifier>sources</classifier> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>hadoop-yarn-api</artifactId> + <version>${pkgVersion}</version> + <classifier>sources</classifier> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>hadoop-mapreduce-client-core</artifactId> + <version>${pkgVersion}</version> + <classifier>sources</classifier> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>hadoop-mapreduce-client-jobclient</artifactId> + <version>${pkgVersion}</version> + <classifier>sources</classifier> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>hadoop-annotations</artifactId> + <version>${pkgVersion}</version> + <classifier>sources</classifier> + </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> http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/d481a7ec/hadoop-client-2.7.3/src/main/resources/OSGI-INF/bundle.info ---------------------------------------------------------------------- diff --git a/hadoop-client-2.7.3/src/main/resources/OSGI-INF/bundle.info b/hadoop-client-2.7.3/src/main/resources/OSGI-INF/bundle.info new file mode 100644 index 0000000..4dc4719 --- /dev/null +++ b/hadoop-client-2.7.3/src/main/resources/OSGI-INF/bundle.info @@ -0,0 +1,17 @@ +\u001B[1mSYNOPSIS\u001B[0m + ${project.description} + + Original Maven URL: + \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m + +\u001B[1mDESCRIPTION\u001B[0m + The Apache⢠Hadoop⢠project develops open-source software for reliable, scalable, distributed computing. + + The Apache Hadoop software library is a framework that allows for the distributed processing of large data sets + across clusters of computers using a simple programming model. It is designed to scale up from single servers + to thousands of machines, each offering local computation and storage. Rather than rely on hardware to deliver + high-avaiability, the library itself is designed to detect and handle failures at the application layer, so + delivering a highly-availabile service on top of a cluster of computers, each of which may be prone to failures. + +\u001B[1mSEE ALSO\u001B[0m + \u001B[36mhttp://hadoop.apache.org/\u001B[0m \ No newline at end of file http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/d481a7ec/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index c28a834..75341a9 100644 --- a/pom.xml +++ b/pom.xml @@ -72,6 +72,7 @@ <module>libphonenumber-8.0.1</module> <module>bcprov-jdk15on-1.56</module> <module>batik-1.8</module> + <module>hadoop-client-2.7.3</module> </modules> </project>
