You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2015/05/04 06:40:41 UTC

servicemix-bundles git commit: [SM-2539]OSGi bundle for apns-java for version 1.0.x

Repository: servicemix-bundles
Updated Branches:
  refs/heads/master 313c59698 -> f510f2ad5


[SM-2539]OSGi bundle for apns-java for version 1.0.x


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

Branch: refs/heads/master
Commit: f510f2ad5eb4e24127a3b6e0384d7943f915253a
Parents: 313c596
Author: Freeman Fang <fr...@gmail.com>
Authored: Mon May 4 12:19:28 2015 +0800
Committer: Freeman Fang <fr...@gmail.com>
Committed: Mon May 4 12:19:28 2015 +0800

----------------------------------------------------------------------
 java-apns-1.0.0.Beta6/pom.xml                   | 106 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  25 +++++
 pom.xml                                         |   1 +
 3 files changed, 132 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/f510f2ad/java-apns-1.0.0.Beta6/pom.xml
----------------------------------------------------------------------
diff --git a/java-apns-1.0.0.Beta6/pom.xml b/java-apns-1.0.0.Beta6/pom.xml
new file mode 100644
index 0000000..bb62945
--- /dev/null
+++ b/java-apns-1.0.0.Beta6/pom.xml
@@ -0,0 +1,106 @@
+<?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>12</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.java-apns</artifactId>
+    <packaging>bundle</packaging>
+    <version>1.0.0.Beta6_1-SNAPSHOT</version>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description>
+
+    <properties>
+        <pkgGroupId>com.notnoop.apns</pkgGroupId>
+        <pkgArtifactId>apns</pkgArtifactId>
+        <pkgVersion>1.0.0.Beta6</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            com.notnoop
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            javax.net*,
+            org.apache.mina*;version="[2,3)";resolution:=optional,
+            org.slf4j*;version="[1.6,2)";resolution:=optional,
+            com.fasterxml.jackson.databind, 
+            org.apache.commons.httpclient*
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>true</optional>
+        </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>**/*.class</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/f510f2ad/java-apns-1.0.0.Beta6/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/java-apns-1.0.0.Beta6/src/main/resources/OSGI-INF/bundle.info b/java-apns-1.0.0.Beta6/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..302c059
--- /dev/null
+++ b/java-apns-1.0.0.Beta6/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,25 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    java-apns is a Java client for Apple Push Notification service (APNs). The library aims to provide a highly
+    scalable interface to the Apple server, while still being simple and modular.
+
+    The interface aims to require very minimal code to achieve the most common cases, but have it be reconfigurable
+    so you can even use your own networking connections or JSON library if necessary.
+
+    The features are:
+        * Easy to use, high performance APNS service API
+        * Supports Apple Feedback service
+        * Support Enhanced Apple Push Notification
+        * Easy to use with Apple certificates
+        * Easy to extend and reuse
+        * Easy to integrate with dependency injection frameworks
+        * Easy to setup custom notification payloads
+        * Supports connection pooling
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttps://github.com/notnoop/java-apns/\u001B[0m

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/f510f2ad/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 7cbb33a..6fca192 100644
--- a/pom.xml
+++ b/pom.xml
@@ -43,6 +43,7 @@
 
     <modules>
         <!-- add modules for all bundles to released in the next batch here -->
+        <module>java-apns-1.0.0.Beta6</module>
         <module>twitter4j-4.0.3</module>
         <module>aws-java-sdk-1.9.30</module>
         <module>docker-java-1.2.0</module>