You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2025/11/26 12:18:53 UTC
(sling-org-apache-sling-resource-filter) 01/02: SLING-13013 Update to Parent 62
This is an automated email from the ASF dual-hosted git repository.
sseifert pushed a commit to branch feature/SLING-13013-parent-62
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-resource-filter.git
commit c8f20c05c3fc697fe4823425800c7643e682dd99
Author: Stefan Seifert <st...@users.noreply.github.com>
AuthorDate: Wed Nov 26 12:55:16 2025 +0100
SLING-13013 Update to Parent 62
---
.sling-module.json | 5 +++++
pom.xml | 22 ++++++++++++++--------
src/test/resources/data.json | 28 ++++++++++++++--------------
3 files changed, 33 insertions(+), 22 deletions(-)
diff --git a/.sling-module.json b/.sling-module.json
new file mode 100644
index 0000000..cfad4d2
--- /dev/null
+++ b/.sling-module.json
@@ -0,0 +1,5 @@
+{
+ "jenkins": {
+ "jdks": [17, 21]
+ }
+}
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 9c67efd..72cdb87 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,7 +11,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling-bundle-parent</artifactId>
- <version>49</version>
+ <version>62</version>
<relativePath />
</parent>
@@ -22,7 +22,7 @@
<description>provides a set of utilities to create and handle streams</description>
<properties>
- <sling.java.version>8</sling.java.version>
+ <sling.java.version>11</sling.java.version>
</properties>
<scm>
@@ -61,12 +61,6 @@
<version>3.4</version>
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>org.apache.sling</groupId>
- <artifactId>org.apache.sling.testing.sling-mock</artifactId>
- <version>2.2.10</version>
- <scope>test</scope>
- </dependency>
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.api</artifactId>
@@ -90,5 +84,17 @@
<artifactId>org.osgi.service.component.annotations</artifactId>
<scope>provided</scope>
</dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.sling</groupId>
+ <artifactId>org.apache.sling.testing.sling-mock.junit4</artifactId>
+ <version>3.5.6</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
</project>
diff --git a/src/test/resources/data.json b/src/test/resources/data.json
index 8778ad5..c26f5df 100644
--- a/src/test/resources/data.json
+++ b/src/test/resources/data.json
@@ -4,9 +4,9 @@
"jcr:primaryType": "app:PageContent",
"jcr:title": "English",
"app:template": "/apps/sample/templates/homepage",
- "sling:resourceType": "sample/components/homepage",
- "jcr:createdBy": "admin",
- "created": "Thu Aug 07 2011 16:32:59 GMT+0200",
+ "sling:resourceType": "sample/components/homepage",
+ "jcr:createdBy": "admin",
+ "created": "2011-08-07T16:32:59.000+02:00",
"par": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "foundation/components/parsys",
@@ -23,9 +23,9 @@
"jcr:primaryType": "app:PageContent",
"jcr:title": "English",
"app:template": "/apps/sample/templates/homepage",
- "sling:resourceType": "sample/components/homepage",
- "jcr:createdBy": "admin",
- "created": "Thu Aug 07 2012 16:32:59 GMT+0200",
+ "sling:resourceType": "sample/components/homepage",
+ "jcr:createdBy": "admin",
+ "created": "2012-08-07T16:32:59.000+02:00",
"published": true,
"views" : 10,
"monkey": ["foo", "fish"],
@@ -46,9 +46,9 @@
"jcr:primaryType": "app:PageContent",
"jcr:title": "English",
"app:template": "/apps/sample/templates/homepage",
- "sling:resourceType": "sample/components/homepage",
- "jcr:createdBy": "admin",
- "created": "Thu Aug 07 2013 16:32:59 GMT+0200",
+ "sling:resourceType": "sample/components/homepage",
+ "jcr:createdBy": "admin",
+ "created": "2013-08-07T16:32:59.000+02:00",
"par": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "foundation/components/parsys",
@@ -67,8 +67,8 @@
"jcr:title": "English",
"app:template": "/apps/sample/templates/homepage",
"sling:resourceType": "sample/components/homepage",
- "jcr:createdBy": "admin",
- "created": "Thu Aug 07 2014 16:32:59 GMT+0200",
+ "jcr:createdBy": "admin",
+ "created": "2014-08-07T16:32:59.000+02:00",
"count" : 1.345666,
"par": {
"jcr:primaryType": "nt:unstructured",
@@ -88,9 +88,9 @@
"jcr:title": "Mongolian",
"app:template": "/apps/sample/templates/homepage",
"sling:resourceType": "sample/components/homepage",
- "views" : 3,
- "jcr:createdBy": "admin",
- "created": "Thu Aug 07 2015 16:30:59 GMT+0200",
+ "views" : 3,
+ "jcr:createdBy": "admin",
+ "created": "2015-08-07T16:30:59.000+02:00",
"par": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "foundation/components/parsys",