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

ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/master by this push:
     new 938f006cca Switching crosschecks to JDK 24-ea (#855)
938f006cca is described below

commit 938f006cca6ea0a87af308903b9fc2b76b009916
Author: Francesco Chicchiriccò <[email protected]>
AuthorDate: Fri Oct 25 15:22:58 2024 +0200

    Switching crosschecks to JDK 24-ea (#855)
---
 .github/workflows/crosschecks.yml |  2 +-
 pom.xml                           | 42 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/crosschecks.yml 
b/.github/workflows/crosschecks.yml
index 9ec1330744..1474e9d4ef 100644
--- a/.github/workflows/crosschecks.yml
+++ b/.github/workflows/crosschecks.yml
@@ -33,7 +33,7 @@ jobs:
       fail-fast: false
       matrix:
         language: ['java']
-        java: [ '21', '23-ea' ]
+        java: [ '21', '24-ea' ]
         os: [ubuntu-latest, windows-latest, macos-latest]
 
     steps:
diff --git a/pom.xml b/pom.xml
index 21dc7170b1..54e0d7472f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2341,6 +2341,48 @@ under the License.
         </plugins>
       </build>
     </profile>
+
+    <profile>
+      <id>jdk24</id>
+
+      <activation>
+        <jdk>[24,)</jdk>
+      </activation>
+
+      <properties>
+        <mockito.version>5.14.2</mockito.version>
+        <byte-buddy.version>1.15.7</byte-buddy.version>
+      </properties>
+
+      <dependencyManagement>
+        <dependencies>
+          <dependency>
+            <groupId>org.mockito</groupId>
+            <artifactId>mockito-junit-jupiter</artifactId>
+            <version>${mockito.version}</version>
+            <scope>test</scope>
+          </dependency>
+          <dependency>
+            <groupId>org.mockito</groupId>
+            <artifactId>mockito-core</artifactId>
+            <version>${mockito.version}</version>
+            <scope>test</scope>
+          </dependency>
+          <dependency>
+            <groupId>net.bytebuddy</groupId>
+            <artifactId>byte-buddy</artifactId>
+            <version>${byte-buddy.version}</version>
+            <scope>test</scope>
+          </dependency>
+          <dependency>
+            <groupId>net.bytebuddy</groupId>
+            <artifactId>byte-buddy-agent</artifactId>
+            <version>${byte-buddy.version}</version>
+            <scope>test</scope>
+          </dependency>
+        </dependencies>
+      </dependencyManagement>
+    </profile>
   </profiles>
 
   <modules>

Reply via email to