You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Oliver Lietz (JIRA)" <ji...@apache.org> on 2015/05/06 13:30:00 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=14530372#comment-14530372 ] 

Oliver Lietz commented on SLING-3944:
-------------------------------------

I don't think so (it's generated by Bnd). Did you encounter any problems?

Still I think embedding {{javax.inject}} into Sling's bundles is not a good idea, but [~cziegeler] and [~justinedelson] have a different opinion.

> 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
>
>         Attachments: Screen Shot 2015-05-06 at 12.36.05.png
>
>
> 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)