Author: jbonofre
Date: Mon Nov 10 13:22:20 2014
New Revision: 1637834
URL: http://svn.apache.org/r1637834
Log:
[SMX4-1900] Create OSGi bundle for geocoder-java 0.16
Added:
servicemix/smx4/bundles/trunk/geocoder-java-0.16/
servicemix/smx4/bundles/trunk/geocoder-java-0.16/pom.xml
servicemix/smx4/bundles/trunk/geocoder-java-0.16/src/
servicemix/smx4/bundles/trunk/geocoder-java-0.16/src/main/
servicemix/smx4/bundles/trunk/geocoder-java-0.16/src/main/resources/
servicemix/smx4/bundles/trunk/geocoder-java-0.16/src/main/resources/OSGI-INF/
servicemix/smx4/bundles/trunk/geocoder-java-0.16/src/main/resources/OSGI-INF/bundle.info
Modified:
servicemix/smx4/bundles/trunk/pom.xml
Added: servicemix/smx4/bundles/trunk/geocoder-java-0.16/pom.xml
URL:
http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/geocoder-java-0.16/pom.xml?rev=1637834&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/geocoder-java-0.16/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/geocoder-java-0.16/pom.xml Mon Nov 10
13:22:20 2014
@@ -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>10</version>
+ <relativePath>../bundles-pom/pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>org.apache.servicemix.bundles.geocoder-java</artifactId>
+ <packaging>bundle</packaging>
+ <version>0.16_1-SNAPSHOT</version>
+ <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+ <description>This OSGi bundle wraps ${pkgArtifactId}-${pkgVersion}
jar.</description>
+
+ <properties>
+ <pkgGroupId>com.google.code.geocoder-java</pkgGroupId>
+ <pkgArtifactId>geocoder-java</pkgArtifactId>
+ <pkgVersion>0.16</pkgVersion>
+ <servicemix.osgi.export.pkg>
+ com.google.code.geocoder
+ </servicemix.osgi.export.pkg>
+ <servicemix.osgi.import.pkg>
+ com.google.gson,
+ javax.annotation,
+ javax.crypto,
+ javax.crypto.spec,
+ org.apache.commons.codec.binary,
+ org.apache.commons.httpclient,
+ org.apache.commons.httpclient.methods,
+ org.apache.commons.logging;resolution:=optional,
+ org.slf4j;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>
+ <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>
Added:
servicemix/smx4/bundles/trunk/geocoder-java-0.16/src/main/resources/OSGI-INF/bundle.info
URL:
http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/geocoder-java-0.16/src/main/resources/OSGI-INF/bundle.info?rev=1637834&view=auto
==============================================================================
---
servicemix/smx4/bundles/trunk/geocoder-java-0.16/src/main/resources/OSGI-INF/bundle.info
(added)
+++
servicemix/smx4/bundles/trunk/geocoder-java-0.16/src/main/resources/OSGI-INF/bundle.info
Mon Nov 10 13:22:20 2014
@@ -0,0 +1,17 @@
+\u001B[1mSYNOPSIS\u001B[0m
+ ${project.description}
+
+ Original Maven URL:
+ \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+ Geocoding is the process of converting addresses (like "1600 Amphitheatre
Parkway, Mountain View, CA") into
+ geographic coordinates (like latitude 37.423021 and longitude
-122.083739), which you can use to place markers
+ or position the map.
+
+ Reverse geocoding is the process of converting geographic coordinates into
a human-readable address.
+
+ The Google Geocoding API provides a direct way to access a these services
via an HTTP request.
+
+\u001B[1mSEE ALSO\u001B[0m
+ \u001B[36mhttps://code.google.com/p/geocoder-java/\u001B[0m
Modified: servicemix/smx4/bundles/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/pom.xml?rev=1637834&r1=1637833&r2=1637834&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Mon Nov 10 13:22:20 2014
@@ -323,7 +323,8 @@
<module>gae-1.9.15</module>
<module>jsch-agentproxy-jsch-0.0.8</module>
<module>aws-java-sdk-1.9.3</module>
+ <module>geocoder-java-0.16</module>
<!-- add modules for all bundles to released in the next batch here -->
</modules>
-</project>
\ No newline at end of file
+</project>