servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject servicemix-bundles git commit: [SM-3254] Create OSGi bundle for spatial4j 0.5
Date Sun, 19 Feb 2017 20:47:17 GMT
Repository: servicemix-bundles
Updated Branches:
  refs/heads/master 0b3a819dd -> 47a6e3e04


[SM-3254] Create OSGi bundle for spatial4j 0.5


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

Branch: refs/heads/master
Commit: 47a6e3e04ba7654d97c3743b2c4c152ca50976b7
Parents: 0b3a819
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Sun Feb 19 21:45:38 2017 +0100
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Sun Feb 19 21:45:38 2017 +0100

----------------------------------------------------------------------
 pom.xml                                         |  1 +
 spatial4j-0.5/pom.xml                           | 98 ++++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     | 15 +++
 3 files changed, 114 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/47a6e3e0/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index cb43d3c..82ee734 100644
--- a/pom.xml
+++ b/pom.xml
@@ -96,6 +96,7 @@
         <module>orbitz-consul-client-0.13.11</module>
         <module>htmlunit-2.24</module>
         <module>hbase-1.3.0</module>
+        <module>spatial4j-0.5</module>
     </modules>
 
 </project>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/47a6e3e0/spatial4j-0.5/pom.xml
----------------------------------------------------------------------
diff --git a/spatial4j-0.5/pom.xml b/spatial4j-0.5/pom.xml
new file mode 100644
index 0000000..388a2c2
--- /dev/null
+++ b/spatial4j-0.5/pom.xml
@@ -0,0 +1,98 @@
+<?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-SNAPSHOT</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.spatial4j</artifactId>
+    <packaging>bundle</packaging>
+    <version>0.5_1-SNAPSHOT</version>
+    <name>Apache ServiceMix :: Bundles :: SolrJ</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>
+    <tag>HEAD</tag>
+  </scm>
+
+    <properties>
+        <pkgGroupId>com.spatial4j</pkgGroupId>
+        <pkgArtifactId>spatial4j</pkgArtifactId>
+        <pkgVersion>0.5</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            com.spatial4j
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            com.vividsolutions.jts*;resolution:=optional
+        </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>
+                <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>
+            </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/47a6e3e0/spatial4j-0.5/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/spatial4j-0.5/src/main/resources/OSGI-INF/bundle.info b/spatial4j-0.5/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..023f135
--- /dev/null
+++ b/spatial4j-0.5/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
+    Spatial4j is a general purpose spatial / geospatial ASL licensed
+    open-source Java library. It's core capabilities are 3-fold: to
+    provide common geospatially-aware shapes, to provide distance
+    calculations and other math, and to read and write the shapes to
+    strings.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://spatial4j.github.com/spatial4j/\u001B[0m


Mime
View raw message