Author: radu
Date: Thu Apr 13 09:36:37 2017
New Revision: 1791224
URL: http://svn.apache.org/viewvc?rev=1791224&view=rev
Log:
SLING-6780 - org.apache.sling.scripting.sightly.js.provider does not declare a
version range for the org.mozilla.javascript import
* applied patch from Vlad Băilescu
* also made sure that the org.apache.sling.commons.osgi is imported
correctly
Modified:
sling/trunk/bundles/scripting/sightly/js-use-provider/pom.xml
Modified: sling/trunk/bundles/scripting/sightly/js-use-provider/pom.xml
URL:
http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/sightly/js-use-provider/pom.xml?rev=1791224&r1=1791223&r2=1791224&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/sightly/js-use-provider/pom.xml (original)
+++ sling/trunk/bundles/scripting/sightly/js-use-provider/pom.xml Thu Apr 13
09:36:37 2017
@@ -68,6 +68,7 @@
<configuration>
<exportScr>true</exportScr>
<instructions>
+
<Import-Package>org.mozilla.javascript;version="[1.1,2)",*</Import-Package>
<Sling-Bundle-Resources>/libs/sling/sightly/js;path:=/SLING-INF/libs/sling/sightly/js</Sling-Bundle-Resources>
<Require-Capability>io.sightly;
filter:="(&(version>=1.0)(!(version>=2.0)))"</Require-Capability>
</instructions>
@@ -127,6 +128,12 @@
<version>1.2.0</version>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.sling</groupId>
+ <artifactId>org.apache.sling.commons.osgi</artifactId>
+ <version>2.2.0</version>
+ <scope>provided</scope>
+ </dependency>
<!-- HTL -->
<dependency>