[ https://issues.apache.org/jira/browse/AXIS2-4947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15997484#comment-15997484 ]
Andreas Veithen commented on AXIS2-4947: ---------------------------------------- I agreed for javax.activation and javax.xml.stream because these packages are provided by the JRE. javax.ws.rs on the other hand would always be provided by a bundle and have a proper version number. Anyway, that import is effectively optional and I added resolution:=optional. > [patch] OSGi imports inappropriate for common environments > ---------------------------------------------------------- > > Key: AXIS2-4947 > URL: https://issues.apache.org/jira/browse/AXIS2-4947 > Project: Axis2 > Issue Type: Bug > Affects Versions: nightly > Environment: E.g. GlassFish 3.1 / Felix 3.x / Java 6 > Reporter: Ancoron Luciferis > Labels: osgi > Fix For: 1.7.5 > > Attachments: osgi-pom.xml.patch > > > Most common environments define all package exports issued by the framework > with the system version "0.0.0". > Because Axis2 OSGi specifies the following imports with higher versions it is > not possible to use the provided OSGi bundle as is and has to be modified: > javax.ws.rs; version=1.0, > javax.activation;version="1.1", > javax.xml.stream;resolution:=optional;version="1.0" > I'll attach a patch to fix this problem. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org