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 2020/03/21 05:25:26 UTC

[servicemix-bundles] branch master updated: [SM-4348] Create OSGi bundle for hppc 0.7.1

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 3b66a02  [SM-4348] Create OSGi bundle for hppc 0.7.1
3b66a02 is described below

commit 3b66a0214aade0ad6baf8a300bd38a03be5ffa08
Author: Jean-Baptiste Onofré <jb...@apache.org>
AuthorDate: Sat Mar 21 06:24:59 2020 +0100

    [SM-4348] Create OSGi bundle for hppc 0.7.1
---
 hppc-0.7.1/pom.xml                                 | 95 ++++++++++++++++++++++
 hppc-0.7.1/src/main/resources/OSGI-INF/bundle.info | 12 +++
 pom.xml                                            |  1 +
 3 files changed, 108 insertions(+)

diff --git a/hppc-0.7.1/pom.xml b/hppc-0.7.1/pom.xml
new file mode 100644
index 0000000..aded18d
--- /dev/null
+++ b/hppc-0.7.1/pom.xml
@@ -0,0 +1,95 @@
+<?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.hppc</artifactId>
+    <version>0.7.1_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} shaded 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>
+  </scm>
+
+    <properties>
+        <pkgGroupId>com.carrotsearch</pkgGroupId>
+        <pkgArtifactId>hppc</pkgArtifactId>
+        <pkgVersion>0.7.1</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            com.carrotsearch.hppc
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            *
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>false</optional>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.8</source>
+                    <target>1.8</target>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <createDependencyReducedPom>true</createDependencyReducedPom>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>
diff --git a/hppc-0.7.1/src/main/resources/OSGI-INF/bundle.info b/hppc-0.7.1/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..f902d16
--- /dev/null
+++ b/hppc-0.7.1/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,12 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    High Performance Primitive Collections provides collections of primitive types
+    (maps, sets, stacks, lists) with open internals and an API twist.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttps://github.com/carrotsearch/hppc/wiki\u001B[0m
diff --git a/pom.xml b/pom.xml
index 1750299..10e9f28 100644
--- a/pom.xml
+++ b/pom.xml
@@ -119,6 +119,7 @@
         <module>dnsjava-3.0.1</module>
         <module>snmp4j-3.4.0</module>
         <module>janusgraph-core-0.4.1</module>
+        <module>hppc-0.7.1</module>
     </modules>
 
 </project>