From 0b857ef2b607b90d2c84c5d62d5903e1b7696163 Mon Sep 17 00:00:00 2001
From: Michael Hamann <michael.hamann@xwiki.com>
Date: Thu, 25 Jul 2024 13:21:03 +0200
Subject: [PATCH] [Misc] Fix Develocity cache

---
 .mvn/develocity.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.mvn/develocity.xml b/.mvn/develocity.xml
index bd0163b8ec0..b89cde48792 100644
--- a/.mvn/develocity.xml
+++ b/.mvn/develocity.xml
@@ -45,7 +45,7 @@
        more to save the goal outputs since they're not going to be re-used.
     -->
     <local>
-      <enabled><![CDATA[env['CI'] == null]]></enabled>
+      <enabled>#{env['CI'] == null}</enabled>
     </local>
     <remote>
       <!-- Notes:
@@ -53,7 +53,7 @@
       -->
       <enabled>true</enabled>
       <!-- Only CI jobs are allowed to store build outputs in the remote cache -->
-      <storeEnabled><![CDATA[isTrue(env['CI']) and isTrue(env['DEVELOCITY_ACCESS_KEY'])]]></storeEnabled>
+      <storeEnabled>#{env['CI'] != null}</storeEnabled>
       <server>
         <!-- Note: Remote cache authentication is handled in the .m2/.develocity/keys.properties file and not
              anymore in the Maven settings.xml file -->
-- 
GitLab