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 2017/04/01 05:25:17 UTC

servicemix-bundles git commit: [SM-3286] Create OSGi bundle for qpid 6.1.2

Repository: servicemix-bundles
Updated Branches:
  refs/heads/master a0480792b -> 60bcf9a99


[SM-3286] Create OSGi bundle for qpid 6.1.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/60bcf9a9
Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/60bcf9a9
Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/60bcf9a9

Branch: refs/heads/master
Commit: 60bcf9a99d534154ee1179f45348df2cfca0d4df
Parents: a048079
Author: Jean-Baptiste Onofr� <jb...@apache.org>
Authored: Sat Apr 1 07:23:00 2017 +0200
Committer: Jean-Baptiste Onofr� <jb...@apache.org>
Committed: Sat Apr 1 07:23:00 2017 +0200

----------------------------------------------------------------------
 pom.xml                                         |   1 +
 qpid-6.1.2/pom.xml                              | 194 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  27 +++
 3 files changed, 222 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/60bcf9a9/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 7a7a0fe..1e1a302 100644
--- a/pom.xml
+++ b/pom.xml
@@ -70,6 +70,7 @@
         <module>elasticsearch-2.4.4</module>
         <module>gae-1.9.50</module>
         <module>docker-java-3.0.8</module>
+        <module>qpid-6.1.2</module>
     </modules>
 
 </project>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/60bcf9a9/qpid-6.1.2/pom.xml
----------------------------------------------------------------------
diff --git a/qpid-6.1.2/pom.xml b/qpid-6.1.2/pom.xml
new file mode 100644
index 0000000..b2c76f0
--- /dev/null
+++ b/qpid-6.1.2/pom.xml
@@ -0,0 +1,194 @@
+<?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>13</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.qpid</artifactId>
+    <packaging>bundle</packaging>
+    <version>6.1.2_1-SNAPSHOT</version>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps qpid-common and qpid-client ${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.qpid</pkgGroupId>
+        <pkgArtifactId>qpid</pkgArtifactId>
+        <pkgVersion>6.1.2</pkgVersion>
+        <servicemix.osgi.export>
+            org.apache.qpid.proton*;version=0.6,
+            org.apache.qpid*;version=${pkgVersion}
+        </servicemix.osgi.export>
+        <servicemix.osgi.import.pkg>
+            javax.crypto, 
+            javax.crypto.spec,
+            javax.jms*,
+            javax.naming*,
+            javax.net*,
+            javax.security*,
+            javax.transaction*,
+            javax.xml.bind;resolution:=optional,
+            edu.emory.mathcs.backport.java.util.concurrent;resolution:=optional,
+            org.bouncycastle*;resolution:=optional,
+            org.ietf.jgss;resolution:=optional,
+            org.slf4j;resolution:=optional
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}-common</artifactId>
+            <version>${pkgVersion}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.slf4j</groupId>
+                    <artifactId>slf4j-api</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}-client</artifactId>
+            <version>${pkgVersion}</version>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>proton-j</artifactId>
+            <version>0.12.1</version>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>proton-jms</artifactId>
+            <version>0.12.1</version>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}-common</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.slf4j</groupId>
+                    <artifactId>slf4j-api</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}-client</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>proton-j</artifactId>
+            <version>0.12.1</version>
+            <classifier>sources</classifier>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>proton-jms</artifactId>
+            <version>0.12.1</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}-common</include>
+                                    <include>${pkgGroupId}:${pkgArtifactId}-client</include>
+                                    <include>${pkgGroupId}:proton-api</include>
+                                    <include>${pkgGroupId}:proton-j-impl</include>
+                                    <include>${pkgGroupId}:proton-jms</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:${pkgArtifactId}-common</artifact>
+                                    <includes>
+                                        <include>common.bnd</include>
+                                        <include>qpidversion.properties</include>
+                                    </includes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:${pkgArtifactId}-client</artifact>
+                                    <includes>
+                                        <include>client.bnd</include>
+                                        <include>client.log4j</include>
+                                        <include>**/*.properties</include>
+                                    </includes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:proton-api</artifact>
+                                    <excludes>
+                                        <exclude>**/*</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:proton-j-impl</artifact>
+                                    <excludes>
+                                        <exclude>**/*</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:proton-jms</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/60bcf9a9/qpid-6.1.2/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/qpid-6.1.2/src/main/resources/OSGI-INF/bundle.info b/qpid-6.1.2/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..a3b306c
--- /dev/null
+++ b/qpid-6.1.2/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,27 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URLs:
+        \u001B[33mmvn:${pkgGroupId}/qpid-common/${pkgVersion}\u001B[0m
+        \u001B[33mmvn:${pkgGroupId}/qpid-client/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    Apache Qpid is a cross-platform Enterprise Messaging system which implements the Advanced Message Queuing Protocol
+    (AMQP), providing message brokers written in C++ and Java, along with clients for C++, Java JMS, .Net, Python,
+    and Ruby.
+
+    Enterprise Messaging systems let programs communicate by exchanging messages, much as people communicate by
+    exchanging email. Unlike email, enterprise messaging systems provide guaranteed delivery, speed, security, and
+    freedom from spam. Until recently, there was no open standard for Enterprise Messaging systems, so programmers
+    either wrote their own, or used expensive proprietary systems.
+
+    AMQP is the first open standard for Enterprise Messaging. It is designed to support messaging for just about any
+    distributed or business application. Routing can be configured flexibly, easily supporting common messaging
+    paradigms like point-to-point, fanout, publish-subscribe, and request-response.
+
+    Apache Qpid implements the latest AMQP specification, providing transaction management, queuing, distribution,
+    security, management, clustering, federation and heterogeneous multi-platform support and a lot more.
+    And Apache Qpid is extremely fast. Apache Qpid aims to be 100% AMQP Compliant.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://qpid.apache.org/\u001B[0m