SLING-11409: Upgrade to sling 48 (#1)
* SLING-11409: Upgrade to sling 48
* SLING-11409: fix dependencies scope
diff --git a/bnd.bnd b/bnd.bnd
new file mode 100644
index 0000000..2bad25d
--- /dev/null
+++ b/bnd.bnd
@@ -0,0 +1,2 @@
+-includeresource:\
+ @org.apache.felix.utils-*.jar!/org/apache/felix/utils/json/JSONWriter.class
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 596359b..abc448f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,13 +22,12 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.sling</groupId>
- <artifactId>sling</artifactId>
- <version>32</version>
+ <artifactId>sling-bundle-parent</artifactId>
+ <version>48</version>
</parent>
<artifactId>org.apache.sling.tooling.support.source</artifactId>
<version>1.0.5-SNAPSHOT</version>
- <packaging>bundle</packaging>
<name>Apache Sling Tooling Support Source</name>
@@ -37,28 +36,17 @@
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/sling-org-apache-sling-tooling-support-source.git</developerConnection>
<url>https://gitbox.apache.org/repos/asf?p=sling-org-apache-sling-tooling-support-source.git</url>
</scm>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Embed-Dependency>
- org.apache.felix.utils;inline=org/apache/felix/utils/json/JSONWriter.class
- </Embed-Dependency>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.core</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.service.component.annotations</artifactId>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
@@ -73,10 +61,12 @@
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>