axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AXIS2-4947) [patch] OSGi imports inappropriate for common environments
Date Thu, 04 May 2017 23:16:04 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-4947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15997484#comment-15997484
] 

Andreas Veithen edited comment on AXIS2-4947 at 5/4/17 11:15 PM:
-----------------------------------------------------------------

I agree 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.


was (Author: veithen):
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-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message