You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ac...@apache.org on 2019/12/05 14:54:20 UTC

[servicemix-bundles] 03/03: [SM-4246] Create OSGi bundles for pulsar-* 2.4.2 - pulsar-client-admin

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicemix-bundles.git

commit 1863ec7a16affdf9a2ae037de475ca73e7728168
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Dec 5 15:53:02 2019 +0100

    [SM-4246] Create OSGi bundles for pulsar-* 2.4.2 - pulsar-client-admin
---
 pom.xml                                            |   1 +
 pulsar-client-admin-2.4.2/pom.xml                  | 105 +++++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info        |  39 ++++++++
 3 files changed, 145 insertions(+)

diff --git a/pom.xml b/pom.xml
index b96a87d..c62a785 100644
--- a/pom.xml
+++ b/pom.xml
@@ -43,6 +43,7 @@
 
     <modules>
        <module>pulsar-client-2.4.2</module>
+       <module>pulsar-client-admin-2.4.2</module>
     </modules>
 
 </project>
diff --git a/pulsar-client-admin-2.4.2/pom.xml b/pulsar-client-admin-2.4.2/pom.xml
new file mode 100644
index 0000000..dce08dc
--- /dev/null
+++ b/pulsar-client-admin-2.4.2/pom.xml
@@ -0,0 +1,105 @@
+<?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>14</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.pulsar-client-admin</artifactId>
+    <version>2.4.2_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://gitbox.apache.org/repos/asf/servicemix-bundles.git</connection>
+        <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</developerConnection>
+        <url>https://gitbox.apache.org/repos/asf?p=servicemix-bundles.git</url>
+    <tag>HEAD</tag>
+  </scm>
+
+    <properties>
+        <pkgGroupId>org.apache.pulsar</pkgGroupId>
+        <pkgArtifactId>pulsar-client-admin</pkgArtifactId>
+        <pkgVersion>2.4.2</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.apache.pulsar
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+        </dependency>
+
+        <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>
+                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                            <createDependencyReducedPom>true</createDependencyReducedPom>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>
diff --git a/pulsar-client-admin-2.4.2/src/main/resources/OSGI-INF/bundle.info b/pulsar-client-admin-2.4.2/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..c2b2126
--- /dev/null
+++ b/pulsar-client-admin-2.4.2/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,39 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    Apache Pulsar is an open-source distributed pub-sub messaging system originally created at Yahoo and now part
+    of the Apache Software Foundation.
+
+    * Pulsar Functions
+    Easily deploy lightweight compute logic using developer-friendly APIs without needing to run your own stream processing engine
+
+    * Proven in production
+    Pulsar has run in production at Yahoo scale for over 3 years, with millions of messages per second across millions of topics
+
+    * Horizontally scalable
+    Seamlessly expand capacity to hundreds of nodes
+
+    * Low latency with durability
+    Designed for low publish latency (< 5ms) at scale with strong durability guarantees
+
+    * Geo-replication
+    Designed for configurable replication between data centers across multiple geographic regions
+
+    * Multi-tenancy
+    Built from the ground up as a multi-tenant system. Supports isolation, authentication, authorization and quotas
+
+    * Persistent storage
+    Persistent message storage based on Apache BookKeeper. Provides IO-level isolation between write and read operations
+
+    * Client libraries
+    Flexible messaging models with high-level APIs for Java, C++, Python and GO
+
+    * Operability
+    REST Admin API for provisioning, administration, tools and monitoring. Deploy on bare metal or Kubernetes
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://pulsar.apache.org/\u001B[0m