SLING-9079 - [HTL] HTL/Sightly REPL not building with Java > 8
* Updated parent
* Removed maven-bundle-plugin and moved configuration to bnd-maven-plugin
diff --git a/bnd.bnd b/bnd.bnd
new file mode 100644
index 0000000..8d2f5a7
--- /dev/null
+++ b/bnd.bnd
@@ -0,0 +1,2 @@
+Sling-Initial-Content: SLING-INF;overwrite=true
+Require-Capability: io.sightly; filter:="(&(version>=1.0)(!(version>=2.0)))"
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 0dcd712..9ffbd91 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,15 +20,14 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.apache.sling</groupId>
- <artifactId>sling</artifactId>
- <version>30</version>
+ <artifactId>sling-bundle-parent</artifactId>
+ <version>35</version>
<relativePath />
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>org.apache.sling.scripting.sightly.repl</artifactId>
<version>1.0.7-SNAPSHOT</version>
- <packaging>bundle</packaging>
<name>Apache Sling Scripting HTL Read-Eval-Print Loop Environment</name>
<description>REPL for Apache Sling Scripting HTL engine</description>
@@ -69,18 +68,6 @@
<plugins>
<plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <exportScr>true</exportScr>
- <instructions>
- <Sling-Initial-Content>SLING-INF;overwrite=true</Sling-Initial-Content>
- <Require-Capability>io.sightly; filter:="(&(version>=1.0)(!(version>=2.0)))"</Require-Capability>
- </instructions>
- </configuration>
- </plugin>
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>