You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by jb...@apache.org on 2016/01/27 15:32:44 UTC
servicemix-bundles git commit: SM-2838 - Create OSGi bundle for
hadoop-client 2.7.2
Repository: servicemix-bundles
Updated Branches:
refs/heads/master 253e9d4b5 -> 989b6c409
SM-2838 - Create OSGi bundle for hadoop-client 2.7.2
Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo
Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/989b6c40
Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/989b6c40
Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/989b6c40
Branch: refs/heads/master
Commit: 989b6c409869e240d8474b8446630130afb5a863
Parents: 253e9d4
Author: Jean-Baptiste Onofré <jb...@apache.org>
Authored: Wed Jan 27 15:32:10 2016 +0100
Committer: Jean-Baptiste Onofré <jb...@apache.org>
Committed: Wed Jan 27 15:32:10 2016 +0100
----------------------------------------------------------------------
hadoop-client-2.7.2/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/989b6c40/hadoop-client-2.7.2/pom.xml
----------------------------------------------------------------------
diff --git a/hadoop-client-2.7.2/pom.xml b/hadoop-client-2.7.2/pom.xml
new file mode 100644
index 0000000..35c0652
--- /dev/null
+++ b/hadoop-client-2.7.2/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.2_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.2</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/989b6c40/hadoop-client-2.7.2/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/hadoop-client-2.7.2/src/main/resources/OSGI-INF/bundle.info b/hadoop-client-2.7.2/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..4dc4719
--- /dev/null
+++ b/hadoop-client-2.7.2/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/989b6c40/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 878d530..13c5cb0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -94,6 +94,7 @@
<module>spring-batch-infrastructure-3.0.6.RELEASE</module>
<module>saxon-9.7.0-2</module>
<module>gae-1.9.31</module>
+ <module>hadoop-client-2.7.2</module>
</modules>
</project>