diff --git a/.gitlab/ci/configure_options.cmake b/.gitlab/ci/configure_options.cmake
index 5348c4403c004b3aa2a1b8c7af0d27598e088764..af362cb2dc1f8c5710cd5e4cf9ad851c2929f868 100644
--- a/.gitlab/ci/configure_options.cmake
+++ b/.gitlab/ci/configure_options.cmake
@@ -65,12 +65,7 @@ if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "java")
   set(VTK_MODULE_ENABLE_VTK_TestingRendering NO CACHE STRING "")
   set(VTK_MODULE_ENABLE_VTK_RenderingOpenXR NO CACHE STRING "" FORCE)
   set(VTK_VERSIONED_INSTALL "OFF" CACHE BOOL "" FORCE)
-  set(MAVEN_NATIVE_ARTIFACTS
-    Darwin-amd64
-    Darwin-arm64
-    Linux-amd64
-    Windows-amd64
-  )
+  set(MAVEN_NATIVE_ARTIFACTS "Darwin-amd64;Darwin-arm64;Linux-amd64;Windows-amd64" CACHE STRING "" FORCE)
 endif()
 
 # qt