This is an automated email from the ASF dual-hosted git repository. cziegeler pushed a commit to branch appmod/java-upgrade-20250910060318 in repository https://gitbox.apache.org/repos/asf/sling-samples.git
commit 873cbf317dfe91486c0a42a0b2162244f5371b34 Author: Carsten Ziegeler <[email protected]> AuthorDate: Wed Sep 10 09:00:54 2025 +0200 Updated Sling dependencies to Jakarta-compatible versions --- slingshot/pom.xml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/slingshot/pom.xml b/slingshot/pom.xml index 15603af..7207d33 100644 --- a/slingshot/pom.xml +++ b/slingshot/pom.xml @@ -75,19 +75,19 @@ <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.api</artifactId> - <version>2.11.0</version> + <version>3.0.2</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.scripting.jsp.taglib</artifactId> - <version>2.0.6</version> + <version>2.4.2</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.jcr.base</artifactId> - <version>2.2.2</version> + <version>3.2.0</version> <scope>provided</scope> </dependency> <dependency> @@ -96,6 +96,13 @@ <version>2.13.1</version> <scope>provided</scope> </dependency> + <!-- Jakarta Servlet API for testing with newer Sling --> + <dependency> + <groupId>jakarta.servlet</groupId> + <artifactId>jakarta.servlet-api</artifactId> + <version>6.0.0</version> + <scope>test</scope> + </dependency> <dependency> <groupId>javax.jcr</groupId> <artifactId>jcr</artifactId>
