This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-event.git


The following commit(s) were added to refs/heads/master by this push:
     new fab0d65  SLING-11422 Require Java 11
fab0d65 is described below

commit fab0d65eb6425a809ca494da51c8efce7cb0e687
Author: Konrad Windszus <[email protected]>
AuthorDate: Fri Oct 10 17:28:29 2025 +0200

    SLING-11422 Require Java 11
    
    Fix ITs by explicitly adding Event API to paxexam.
---
 pom.xml                                                      | 2 ++
 src/test/java/org/apache/sling/event/it/JobsTestSupport.java | 1 +
 2 files changed, 3 insertions(+)

diff --git a/pom.xml b/pom.xml
index 2a3fa60..ee26cfa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -47,6 +47,8 @@
         <min.port>37000</min.port>
         <max.port>37999</max.port>
         
<project.build.outputTimestamp>2025-06-04T08:33:29Z</project.build.outputTimestamp>
+        <!-- Mockito does no longer support Java 8 -->
+        <minimalJavaBuildVersion>11</minimalJavaBuildVersion>
     </properties>
 
 
diff --git a/src/test/java/org/apache/sling/event/it/JobsTestSupport.java 
b/src/test/java/org/apache/sling/event/it/JobsTestSupport.java
index 8e3db2f..c654439 100644
--- a/src/test/java/org/apache/sling/event/it/JobsTestSupport.java
+++ b/src/test/java/org/apache/sling/event/it/JobsTestSupport.java
@@ -59,6 +59,7 @@ public abstract class JobsTestSupport extends TestSupport {
             // Sling Event
             testBundle("bundle.filename"),
             slingEvent(),
+            
mavenBundle().groupId("org.apache.sling").artifactId("org.apache.sling.event.api").versionAsInProject(),
             // testing configurations
             
newConfiguration("org.apache.sling.event.impl.jobs.jcr.PersistenceHandler")
                 .put(JobManagerConfiguration.PROPERTY_BACKGROUND_LOAD_DELAY, 
backgroundLoadDelay())

Reply via email to