You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2023/06/02 11:38:19 UTC
[sling-org-apache-sling-servlets-get] 01/02: SLING-11897 - Default Get Servlet tests fail on Java 17
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-servlets-get.git
commit dacf09a6f4f6311bc110b423c6a37ed342b0466a
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri Jun 2 11:36:54 2023 +0200
SLING-11897 - Default Get Servlet tests fail on Java 17
- update to a more recent version of sling-mock-oak
- ensure that it is on the classpath before sling-mock.junit4, so that the Oak
dependency is not overridden
---
pom.xml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/pom.xml b/pom.xml
index ad813ee..ff2e23e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -151,6 +151,12 @@
<version>1.2.4</version>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.sling</groupId>
+ <artifactId>org.apache.sling.testing.sling-mock-oak</artifactId>
+ <scope>test</scope>
+ <version>3.1.10-1.44.0</version>
+ </dependency>
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.testing.sling-mock.junit4</artifactId>
@@ -181,12 +187,6 @@
<version>2.8.0</version>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.apache.sling</groupId>
- <artifactId>org.apache.sling.testing.sling-mock-oak</artifactId>
- <scope>test</scope>
- <version>2.1.10-1.16.0</version>
- </dependency>
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.servlet-helpers</artifactId>