SLING-3042 - do not export javax.script from org.apache.sling.scripting.api anymore
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1520551 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 8491004..e37fbe4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -43,6 +43,10 @@
<url>http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/api</url>
</scm>
+ <properties>
+ <sling.java.version>6</sling.java.version>
+ </properties>
+
<build>
<plugins>
<plugin>
@@ -55,9 +59,11 @@
<extensions>true</extensions>
<configuration>
<instructions>
- <Export-Package>
- org.apache.sling.scripting.api;version=2.1.0,
+ <Import-Package>
javax.script
+ </Import-Package>
+ <Export-Package>
+ org.apache.sling.scripting.api;version=2.1.0
</Export-Package>
</instructions>
</configuration>
@@ -74,14 +80,6 @@
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
</dependency>
-
- <dependency>
- <groupId>org.livetribe</groupId>
- <artifactId>livetribe-jsr223</artifactId>
- <version>2.0.6</version>
- <scope>compile</scope>
- </dependency>
-
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>