Repository: servicemix-bundles Updated Branches: refs/heads/master 0667fbe10 -> f1c92dda9
[SM-3054] Create OSGi bundle for hbase 1.2.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/f1c92dda Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/f1c92dda Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/f1c92dda Branch: refs/heads/master Commit: f1c92dda9192a2aee0e5aabcbcfb73d5c3983fc8 Parents: 0667fbe Author: Jean-Baptiste Onofré <[email protected]> Authored: Sun Jul 17 07:49:26 2016 +0200 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Sun Jul 17 07:49:26 2016 +0200 ---------------------------------------------------------------------- hbase-1.2.2/pom.xml | 338 +++++++++++++++++++ .../src/main/resources/OSGI-INF/bundle.info | 24 ++ pom.xml | 1 + 3 files changed, 363 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/f1c92dda/hbase-1.2.2/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-1.2.2/pom.xml b/hbase-1.2.2/pom.xml new file mode 100644 index 0000000..c7afab6 --- /dev/null +++ b/hbase-1.2.2/pom.xml @@ -0,0 +1,338 @@ +<?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.hbase</artifactId> + <version>1.2.2_1-SNAPSHOT</version> + <packaging>bundle</packaging> + <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name> + <description>This OSGi bundle wraps hbase-common, hbase-client, hbase-prefix-tree, hbase-protocol, hbase-server, + hbase-hadoop-compat ${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.hbase</pkgGroupId> + <pkgArtifactId>hbase</pkgArtifactId> + <pkgVersion>1.2.2</pkgVersion> + <servicemix.osgi.export.pkg> + org.apache.hadoop.hbase + </servicemix.osgi.export.pkg> + <servicemix.osgi.import.pkg> + com.lmax.disruptor*;resolution:=optional, + com.sun.javadoc;resolution:=optional, + com.sun.tools.doclets.standard;resolution:=optional, + io.netty*;resolution:=optional, + javax.management*, + javax.rmi.ssl, + javax.tools, + junit.framework;resolution:=optional, + net.spy.memcached;resolution:=optional, + net.spy.memcached.internal;resolution:=optional, + net.spy.memcached.transcoders;resolution:=optional, + org.apache.commons.math.stat.descriptive, + org.apache.log4j*;resolution:=optional, + org.apache.htrace;resolution:=optional, + org.jcodings;resolution:=optional, + org.jcodings.specific;resolution:=optional, + org.jcodings.util;resolution:=optional, + org.joni;resolution:=optional, + org.junit;resolution:=optional, + org.junit.experimental.categories;resolution:=optional, + org.junit.rules;resolution:=optional, + org.junit.runner;resolution:=optional, + org.junit.runner.notification;resolution:=optional, + org.junit.runners;resolution:=optional, + org.mockito;resolution:=optional, + org.mockito.stubbing;resolution:=optional, + org.owasp.esapi;resolution:=optional, + org.owasp.esapi.errors;resolution:=optional, + com.google.common*;version="[12,20)", + com.google.protobuf, + com.ibm.uvm.tools;resolution:=optional, + com.kenai.jnr.x86asm;resolution:=optional, + com.sun.jdmk.comm;resolution:=optional, + com.sun.jersey*;resolution:=optional, + com.sun.net.httpserver;resolution:=optional, + com.sun.org.apache.xalan.internal.res;resolution:=optional, + com.sun.org.apache.xml.internal.utils;resolution:=optional, + com.sun.org.apache.xpath.internal;resolution:=optional, + com.sun.org.apache.xpath.internal.jaxp;resolution:=optional, + com.sun.org.apache.xpath.internal.objects;resolution:=optional, + com.sun.xml.fastinfoset.sax;resolution:=optional, + com.sun.xml.fastinfoset.stax;resolution:=optional, + com.thoughtworks.paranamer, + com.yammer.metrics*;resolution:=optional, + javax.annotation, + javax.annotation.security, + javax.crypto, + javax.crypto.spec, + javax.ejb;resolution:=optional, + javax.enterprise.context;resolution:=optional, + javax.enterprise.context.spi;resolution:=optional, + javax.enterprise.event;resolution:=optional, + javax.enterprise.inject;resolution:=optional, + javax.enterprise.inject.spi;resolution:=optional, + javax.enterprise.util;resolution:=optional, + javax.imageio, + javax.imageio.spi, + javax.imageio.stream, + javax.inject;resolution:=optional, + javax.interceptor;resolution:=optional, + javax.jmdns;resolution:=optional, + javax.jms;resolution:=optional, + javax.management, + javax.naming, + javax.naming.directory, + javax.net, + javax.net.ssl, + javax.persistence;resolution:=optional, + javax.script, + javax.security*, + javax.security.cert, + javax.servlet*, + javax.sql;resolution:=optional, + javax.xml.datatype, + javax.xml.namespace, + javax.xml.parsers, + javax.xml.transform, + javax.xml.transform.dom, + javax.xml.transform.sax, + javax.xml.transform.stream, + javax.xml.validation, + javax.xml.xpath, + joptsimple, + org.apache.avalon.framework.logger;resolution:=optional, + org.apache.bsf, + org.apache.bsf.util, + org.apache.commons.cli;version="[1.2,2)";resolution:=optional, + org.apache.commons.codec*;version="[1.4,2)", + org.apache.commons.collections*, + org.apache.commons.io*;version="[1,3)", + org.apache.commons.lang*;version="[2.5,3)", + org.apache.commons.logging*;resolution:=optional, + org.apache.hadoop*;version="[2,3)", + org.apache.jasper*;version="[5,7)", + org.apache.jute;resolution:=optional, + org.apache.log;resolution:=optional, + org.apache.log4j;resolution:=optional, + org.apache.oro.text.regex, + org.apache.zookeeper*;version="[3.4,4)";resolution:=optional, + org.cliffc.high_scale_lib;resolution:=optional, + org.codehaus.jackson*;version="[1.4,2)", + org.codehaus.jettison.json;version="[1.1,2)", + org.eclipse.core.resources;resolution:=optional, + org.eclipse.jface.text;resolution:=optional, + org.eclipse.osgi.util;resolution:=optional, + org.eclipse.text.edits;resolution:=optional, + org.jamon*;resolution:=optional, + org.jets3t.service, + org.jets3t.service.impl.rest.httpclient, + org.jets3t.service.model, + org.jets3t.service.security, + org.jgrapht;resolution:=optional, + org.jgrapht.graph;resolution:=optional, + org.jvnet.fastinfoset;resolution:=optional, + org.jvnet.staxex;resolution:=optional, + org.kosmix.kosmosfs.access;resolution:=optional, + org.mortbay*;version="[6,8)";resolution:=optional, + org.slf4j;resolution:=optional, + org.w3c.dom, + org.w3c.dom.bootstrap, + org.w3c.dom.ls, + org.w3c.dom.traversal, + org.xml.sax, + org.xml.sax.ext, + org.xml.sax.helpers, + sun.misc;resolution:=optional, + org.apache.hadoop.hbase.testclassification;resolution:=optional + </servicemix.osgi.import.pkg> + </properties> + + <dependencies> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>hbase-common</artifactId> + <version>${pkgVersion}</version> + <optional>false</optional> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>hbase-client</artifactId> + <version>${pkgVersion}</version> + <optional>false</optional> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>hbase-prefix-tree</artifactId> + <version>${pkgVersion}</version> + <optional>false</optional> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>hbase-protocol</artifactId> + <version>${pkgVersion}</version> + <optional>false</optional> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>hbase-server</artifactId> + <version>${pkgVersion}</version> + <optional>false</optional> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>hbase-hadoop-compat</artifactId> + <version>${pkgVersion}</version> + <optional>false</optional> + </dependency> + + <!-- sources --> +<!-- + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>hbase-common</artifactId> + <version>${pkgVersion}</version> + <optional>false</optional> + <classifier>sources</classifier> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>hbase-client</artifactId> + <version>${pkgVersion}</version> + <optional>false</optional> + <classifier>sources</classifier> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>hbase-prefix-tree</artifactId> + <version>${pkgVersion}</version> + <optional>false</optional> + <classifier>sources</classifier> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>hbase-protocol</artifactId> + <version>${pkgVersion}</version> + <optional>false</optional> + <classifier>sources</classifier> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>hbase-server</artifactId> + <version>${pkgVersion}</version> + <optional>false</optional> + <classifier>sources</classifier> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>hbase-hadoop-compat</artifactId> + <version>${pkgVersion}</version> + <optional>false</optional> + <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}:hbase-common</include> + <include>${pkgGroupId}:hbase-client</include> + <include>${pkgGroupId}:hbase-prefix-tree</include> + <include>${pkgGroupId}:hbase-protocol</include> + <include>${pkgGroupId}:hbase-server</include> + <include>${pkgGroupId}:hbase-hadoop-compat</include> + </includes> + </artifactSet> + <filters> + <filter> + <artifact>${pkgGroupId}:hbase-common</artifact> + <includes> + <include>hbase-default.xml</include> + </includes> + </filter> + <filter> + <artifact>${pkgGroupId}:hbase-client</artifact> + <excludes> + <exclude>**</exclude> + </excludes> + </filter> + <filter> + <artifact>${pkgGroupId}:hbase-prefix-tree</artifact> + <excludes> + <exclude>**</exclude> + </excludes> + </filter> + <filter> + <artifact>${pkgGroupId}:hbase-protocol</artifact> + <excludes> + <exclude>**</exclude> + </excludes> + </filter> + <filter> + <artifact>${pkgGroupId}:hbase-server</artifact> + <includes> + <include>hbase-webapps/**/*</include> + </includes> + </filter> + <filter> + <artifact>${pkgGroupId}:hbase-hadoop-compat</artifact> + <excludes> + <exclude>**</exclude> + </excludes> + </filter> + </filters> + <createDependencyReducedPom>true</createDependencyReducedPom> + <promoteTransitiveDependencies>true</promoteTransitiveDependencies> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/f1c92dda/hbase-1.2.2/src/main/resources/OSGI-INF/bundle.info ---------------------------------------------------------------------- diff --git a/hbase-1.2.2/src/main/resources/OSGI-INF/bundle.info b/hbase-1.2.2/src/main/resources/OSGI-INF/bundle.info new file mode 100644 index 0000000..a36404b --- /dev/null +++ b/hbase-1.2.2/src/main/resources/OSGI-INF/bundle.info @@ -0,0 +1,24 @@ +\u001B[1mSYNOPSIS\u001B[0m + ${project.description} + + Original Maven URL: + \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m + +\u001B[1mDESCRIPTION\u001B[0m + HBase is the Hadoop database. Think of it as a distributed, scalable, big data store. + + The main features are: + * Linear and modular scalability. + * Strictly consistent reads and writes. + * Automatic and configurable sharding of tables + * Automatic failover support between RegionServers. + * Convenient base classes for backing Hadoop MapReduce jobs with HBase tables. + * Easy to use Java API for client access. + * Block cache and Bloom Filters for real-time queries. + * Query predicate push down via server side Filters + * Thrift gateway and a REST-ful Web service that supports XML, Protobuf, and binary data encoding options + * Extensible jruby-based (JIRB) shell + * Support for exporting metrics via the Hadoop metrics subsystem to files or Ganglia; or via JMX + +\u001B[1mSEE ALSO\u001B[0m + \u001B[36mhttp://hbase.apache.org/\u001B[0m http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/f1c92dda/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 81d772e..3c9a3c8 100644 --- a/pom.xml +++ b/pom.xml @@ -77,6 +77,7 @@ <module>sparkjava-core-2.5</module> <module>gae-1.9.40</module> <module>aws-java-sdk-1.11.18</module> + <module>hbase-1.2.2</module> </modules> </project>
