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 2015/05/02 07:18:56 UTC

servicemix-bundles git commit: [SM-2520] Create OSGi bundle for lightcouch 0.1.8

Repository: servicemix-bundles
Updated Branches:
  refs/heads/master f80e7eabe -> c4694da92


[SM-2520] Create OSGi bundle for lightcouch 0.1.8


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

Branch: refs/heads/master
Commit: c4694da928862654654afedccc6a15379c021738
Parents: f80e7ea
Author: Jean-Baptiste Onofré <jb...@apache.org>
Authored: Sat May 2 07:17:45 2015 +0200
Committer: Jean-Baptiste Onofré <jb...@apache.org>
Committed: Sat May 2 07:17:45 2015 +0200

----------------------------------------------------------------------
 lightcouch-0.1.8/pom.xml                        | 107 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  15 +++
 pom.xml                                         |   1 +
 3 files changed, 123 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/c4694da9/lightcouch-0.1.8/pom.xml
----------------------------------------------------------------------
diff --git a/lightcouch-0.1.8/pom.xml b/lightcouch-0.1.8/pom.xml
new file mode 100644
index 0000000..3c40e26
--- /dev/null
+++ b/lightcouch-0.1.8/pom.xml
@@ -0,0 +1,107 @@
+<?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.lightcouch</artifactId>
+    <version>0.1.8_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</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.lightcouch</pkgGroupId>
+        <pkgArtifactId>lightcouch</pkgArtifactId>
+        <pkgVersion>0.1.8</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.lightcouch
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            com.google.gson*;version="[2.2,3)",
+            javax.net.ssl,
+            org.apache.commons.codec.binary;version="[1.6,2)",
+            org.apache.commons.logging;resolution:=optional,
+            org.apache.http*;version="[4,5)"
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</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}:${pkgArtifactId}</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
+                                    <excludes>
+                                        <exclude>**/*</exclude>
+                                    </excludes>
+                                </filter>
+                            </filters>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/c4694da9/lightcouch-0.1.8/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/lightcouch-0.1.8/src/main/resources/OSGI-INF/bundle.info b/lightcouch-0.1.8/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..9e768e0
--- /dev/null
+++ b/lightcouch-0.1.8/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,15 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    LightCouch aims at providing a simple and easy-to-use API
+    for communicating with CouchDB databases.
+
+    It offers a powerful and lightweight interface with minimal
+    code-base and dependency.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://www.lightcouch.org/\u001B[0m

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/c4694da9/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 3e684ab..81ef32e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -87,6 +87,7 @@
         <module>kafka-clients-0.8.2.1</module>
         <module>bcprov-jdk15on-1.52</module>
         <module>aws-java-sdk-1.9.33</module>
+        <module>lightcouch-0.1.8</module>
     </modules>
 
 </project>