You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Tim Donovan (JIRA)" <ji...@apache.org> on 2015/04/13 11:37:13 UTC

[jira] [Commented] (SLING-3944) org.apache.sling.scripting.java bundle exports javax.inject package in wrong version

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

Tim Donovan commented on SLING-3944:
------------------------------------

Just to add a comment here, I'm not entirely au fait with the intricacies of OSGI, but for two days and counting I've been trying to get Jersey Web Services libraries working in Felix with Sling also installed, and been facing an absolutely dependency nightmare hell related to this issue:

"....because it is exposed to package 'javax.inject' from bundle revisions org.apache.servicemix.bundles.javax-inject [432.0] and org.apache.sling.scripting.java [215.0] via two dependency chains".

> org.apache.sling.scripting.java bundle exports javax.inject package in wrong version
> ------------------------------------------------------------------------------------
>
>                 Key: SLING-3944
>                 URL: https://issues.apache.org/jira/browse/SLING-3944
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Scripting Java 2.0.10
>            Reporter: Markus Haack
>            Assignee: Oliver Lietz
>            Priority: Critical
>             Fix For: Scripting Java 2.0.12
>
>
> The org.apache.sling.scripting.java bundle exports the package javax.inject in the version of the bundle, which is wrong and should be fixed. 
> This can lead to bundle version problems for other bundles which depend on javax.inject in version "[1.0,2)" - the correct version (like Jersey Web Services libraries).
> Either export javax.inject with version 0.0.0 or even better with the correct version 1.0.0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)