servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject servicemix-bundles git commit: [SM-2534] Create OSGi bundle for hadoop-client 2.7.0
Date Sat, 02 May 2015 07:58:58 GMT
Repository: servicemix-bundles
Updated Branches:
  refs/heads/master 051aea6e9 -> c4ae6b195


[SM-2534] Create OSGi bundle for hadoop-client 2.7.0


Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo
Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/c4ae6b19
Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/c4ae6b19
Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/c4ae6b19

Branch: refs/heads/master
Commit: c4ae6b19560a1b6c2e9e3360690eec458a4178cf
Parents: 051aea6
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Sat May 2 09:58:30 2015 +0200
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Sat May 2 09:58:30 2015 +0200

----------------------------------------------------------------------
 hadoop-client-2.7.0/pom.xml                     | 289 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  17 ++
 pom.xml                                         |   1 +
 3 files changed, 307 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/c4ae6b19/hadoop-client-2.7.0/pom.xml
----------------------------------------------------------------------
diff --git a/hadoop-client-2.7.0/pom.xml b/hadoop-client-2.7.0/pom.xml
new file mode 100644
index 0000000..1e29b12
--- /dev/null
+++ b/hadoop-client-2.7.0/pom.xml
@@ -0,0 +1,289 @@
+<?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.0_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>
+    </scm>
+
+    <properties>
+        <pkgGroupId>org.apache.hadoop</pkgGroupId>
+        <pkgVersion>2.7.0</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/c4ae6b19/hadoop-client-2.7.0/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/hadoop-client-2.7.0/src/main/resources/OSGI-INF/bundle.info b/hadoop-client-2.7.0/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..4dc4719
--- /dev/null
+++ b/hadoop-client-2.7.0/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/c4ae6b19/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index cc03d73..ea7a29c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -101,6 +101,7 @@
         <module>elasticsearch-1.5.2</module>
         <module>splunk-1.4.0.0</module>
         <module>jsch-0.1.52</module>
+        <module>hadoop-client-2.7.0</module>
     </modules>
 
 </project>


Mime
View raw message