From 00679aa9cade8b423598878eee1365149ea9ed90 Mon Sep 17 00:00:00 2001 From: Alexander Suter Date: Fri, 14 Jun 2024 16:39:24 +0200 Subject: [PATCH] XIVY-9730 Remove fallback for old jvm-module.options location --- .../ch/ivyteam/ivy/maven/engine/EngineModuleHints.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/main/java/ch/ivyteam/ivy/maven/engine/EngineModuleHints.java b/src/main/java/ch/ivyteam/ivy/maven/engine/EngineModuleHints.java index 8b0aec22..26c9671d 100644 --- a/src/main/java/ch/ivyteam/ivy/maven/engine/EngineModuleHints.java +++ b/src/main/java/ch/ivyteam/ivy/maven/engine/EngineModuleHints.java @@ -22,13 +22,8 @@ public static String loadFromJvmOptionsFile(File identifyAndGetEngineDirectory, private static List loadJvmOptions(File engineDir, Log log) { var jvmOptionsFile = engineDir.toPath().resolve("bin").resolve("jvm-module.options"); if (!Files.exists(jvmOptionsFile)) { - // Fallback: It was placed in another place in Axon Ivy Engine before 11.4.0 - log.info("File does not exist '" + jvmOptionsFile + "'"); - jvmOptionsFile = engineDir.toPath().resolve("configuration").resolve("jvm-module.options"); - if (!Files.exists(jvmOptionsFile)) { - log.warn("Couldn't load jvm module options from '" + jvmOptionsFile + "' file."); - return List.of(); - } + log.warn("Couldn't load jvm module options from '" + jvmOptionsFile + "' file."); + return List.of(); } try {