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 2017/04/12 18:31:41 UTC

[jira] [Commented] (SLING-6780) org.apache.sling.scripting.sightly.js.provider does not declare a version range for the org.mozilla.javascript import

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

Oliver Lietz commented on SLING-6780:
-------------------------------------

[~radu.cotescu], [~vladb]: Do *not* depend on {{org.apache.sling.scripting.javascript}} when {{org.apache.sling.scripting.sightly.js.provider}} depends in fact on {{org.mozilla.javascript}}, see SLING-5731 and SLING-6668.

> org.apache.sling.scripting.sightly.js.provider does not declare a version range for the org.mozilla.javascript import
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-6780
>                 URL: https://issues.apache.org/jira/browse/SLING-6780
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Scripting Sightly JS Use Provider 1.0.10
>            Reporter: Vlad Bailescu
>            Assignee: Radu Cotescu
>             Fix For: Scripting HTL JS Use Provider 1.0.22
>
>
> The {{org.apache.sling.scripting.sightly.js.provider}} bundle is not declaring a version range for the {{org.mozilla.javascript}} import in its manifest. This can become a problem when someone installs an incompatible version. The solution is simple: declare an explicit dependency on {{org.apache.sling.scripting.javascript}} so that the bundle plugin can pick up the correct version range.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)