apns bundle should have MINA as optional
----------------------------------------
Key: SMX4-857
URL: https://issues.apache.org/jira/browse/SMX4-857
Project: ServiceMix 4
Issue Type: Task
Reporter: Claus Ibsen
Priority: Minor
The SMX bundle for APNS
http://repo2.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.java-apns/0.1.6_1/
Has this MANIFEST.MF
{code}
Manifest-Version: 1.0
Export-Package: com.notnoop.apns;uses:="com.notnoop.exceptions,javax.n
et,javax.net.ssl,com.notnoop.apns.internal,org.codehaus.jackson.map";
version="0.1.6",com.notnoop.exceptions;version="0.1.6",com.notnoop.ap
ns.internal;uses:="com.notnoop.apns,com.notnoop.exceptions,org.slf4j,
javax.net,javax.net.ssl,org.apache.mina.core.future,org.apache.mina.c
ore.buffer,org.apache.mina.filter.ssl,org.apache.mina.core.session,or
g.apache.mina.core.filterchain,org.apache.mina.core.service,org.apach
e.mina.transport.socket.nio";version="0.1.6"
Built-By: jb
Tool: Bnd-0.0.357
Bundle-Name: Apache ServiceMix :: Bundles :: apns
Created-By: Apache Maven Bundle Plugin
Bundle-Vendor: The Apache Software Foundation
Build-Jdk: 1.6.0_25
Bundle-Version: 0.1.6.1
Bnd-LastModified: 1306081286083
Bundle-ManifestVersion: 2
Bundle-Description: This OSGi bundle wraps apns 0.1.6 jar file.
Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
Bundle-DocURL: http://www.apache.org/
Bundle-SymbolicName: org.apache.servicemix.bundles.java-apns
Import-Package: javax.net,javax.net.ssl,org.apache.mina.core.buffer;ve
rsion="[1.1,2)",org.apache.mina.core.filterchain;version="[1.1,2)",or
g.apache.mina.core.future;version="[1.1,2)",org.apache.mina.core.serv
ice;version="[1.1,2)",org.apache.mina.core.session;version="[1.1,2)",
org.apache.mina.filter.ssl;version="[1.1,2)",org.apache.mina.transpor
t.socket.nio;version="[1.1,2)",org.codehaus.jackson.map;resolution:=o
ptional;version="[1.4,2)",org.slf4j;resolution:=optional;version="[1.
6,2)"
{code}
The problem is that Apache Mina is *optional* and its in fact Apache Mina 2.0+
that is needed.
The version ranges is therefore wrong.
Likewise Jackson is also *optional* as its only used for json notifications.
And we frankly need an OSGi bundle for Apache Mina 2.0 (if its not already OSGi
out of the box)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira