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-testing-clients.git
The following commit(s) were added to refs/heads/master by this push:
new d10fa5c SLING-13033: Update dependencies (#55)
d10fa5c is described below
commit d10fa5cd1a59a0d6e3a1d5f6f9a4cc3970da6b11
Author: Ramon Bisswanger <[email protected]>
AuthorDate: Thu Dec 18 14:30:20 2025 +0100
SLING-13033: Update dependencies (#55)
---------
Co-authored-by: Ramon Bisswanger <[email protected]>
---
pom.xml | 25 ++++++++++------------
.../testing/clients/osgi/ServicesInfoTest.java | 12 +++++------
2 files changed, 17 insertions(+), 20 deletions(-)
diff --git a/pom.xml b/pom.xml
index 82cd54c..257b5ec 100644
--- a/pom.xml
+++ b/pom.xml
@@ -58,19 +58,19 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-exec</artifactId>
- <version>1.4.0</version>
+ <version>1.6.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
- <version>2.16.1</version>
+ <version>2.20.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
- <version>2.16.1</version>
+ <version>2.20.1</version>
<scope>compile</scope>
</dependency>
<dependency>
@@ -88,25 +88,24 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
- <version>3.14.0</version>
+ <version>3.20.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
- <version>1.17.2</version>
+ <version>1.21.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
- <version>1.7.36</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.xss</artifactId>
- <version>2.4.0</version>
+ <version>2.4.8</version>
<scope>compile</scope>
</dependency>
<dependency>
@@ -118,7 +117,7 @@
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.hapi.client</artifactId>
- <version>1.0.0</version>
+ <version>1.0.2</version>
<scope>compile</scope>
</dependency>
@@ -126,13 +125,12 @@
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.api</artifactId>
- <version>2.27.2</version>
+ <version>3.0.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.5</version>
+ <artifactId>javax.servlet-api</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
@@ -158,7 +156,7 @@
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
- <version>1.3</version>
+ <version>3.0</version>
<scope>test</scope>
</dependency>
<dependency>
@@ -171,13 +169,12 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
- <version>2.15.1</version>
+ <version>2.20.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
- <version>1.7.36</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/src/test/java/org/apache/sling/testing/clients/osgi/ServicesInfoTest.java
b/src/test/java/org/apache/sling/testing/clients/osgi/ServicesInfoTest.java
index 7937c51..be7c3bf 100644
--- a/src/test/java/org/apache/sling/testing/clients/osgi/ServicesInfoTest.java
+++ b/src/test/java/org/apache/sling/testing/clients/osgi/ServicesInfoTest.java
@@ -18,7 +18,7 @@
*/
package org.apache.sling.testing.clients.osgi;
-import org.hamcrest.Matchers;
+import org.hamcrest.CoreMatchers;
import org.junit.Assert;
import org.junit.Test;
@@ -26,14 +26,14 @@ public class ServicesInfoTest {
@Test
public void testSplitPseudoJsonValueArray() {
- Assert.assertThat(ServicesInfo.splitPseudoJsonValueArray("test"),
Matchers.contains("test"));
- Assert.assertThat(ServicesInfo.splitPseudoJsonValueArray("[]"),
Matchers.contains(""));
- Assert.assertThat(ServicesInfo.splitPseudoJsonValueArray("[one,
two]"), Matchers.contains("one", "two"));
- Assert.assertThat(ServicesInfo.splitPseudoJsonValueArray("[one,two]"),
Matchers.contains("one", "two"));
+ Assert.assertThat(ServicesInfo.splitPseudoJsonValueArray("test"),
CoreMatchers.hasItem("test"));
+ Assert.assertThat(ServicesInfo.splitPseudoJsonValueArray("[]"),
CoreMatchers.hasItem(""));
+ Assert.assertThat(ServicesInfo.splitPseudoJsonValueArray("[one,
two]"), CoreMatchers.hasItems("one", "two"));
+ Assert.assertThat(ServicesInfo.splitPseudoJsonValueArray("[one,two]"),
CoreMatchers.hasItems("one", "two"));
Assert.assertThat(
ServicesInfo.splitPseudoJsonValueArray(
"[java.lang.Runnable,
org.apache.sling.event.impl.jobs.queues.QueueManager,
org.osgi.service.event.EventHandler]"),
- Matchers.contains(
+ CoreMatchers.hasItems(
"java.lang.Runnable",
"org.apache.sling.event.impl.jobs.queues.QueueManager",
"org.osgi.service.event.EventHandler"));