[
https://issues.apache.org/jira/browse/SLING-6780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15967358#comment-15967358
]
Konrad Windszus commented on SLING-6780:
----------------------------------------
As written in https://github.com/apache/sling/pull/213#discussion_r111349248 I
don't agree with the import range. This should IMHO be [1.7,2) and I would
prefer to automatically generate through bnd, by exchanging the dependency
Rhino in
https://github.com/vladbailescu/sling/blob/0ec63ac17191b8b2ad839924d39c11e32435192e/bundles/scripting/sightly/js-use-provider/pom.xml#L174
with the service mix bundle (added in 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: make sure we declare a correct version range
> for {{org.mozilla.javascript}} import.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)