From f9e48cde582907dc49d0781154a2f8c8556b6e74 Mon Sep 17 00:00:00 2001 From: dshimo Date: Wed, 17 Apr 2024 15:08:14 -0500 Subject: [PATCH] remove guard --- .../openliberty/tools/maven/server/PluginConfigSupport.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/liberty-maven-plugin/src/main/java/io/openliberty/tools/maven/server/PluginConfigSupport.java b/liberty-maven-plugin/src/main/java/io/openliberty/tools/maven/server/PluginConfigSupport.java index dde260e6c..195ea23a5 100644 --- a/liberty-maven-plugin/src/main/java/io/openliberty/tools/maven/server/PluginConfigSupport.java +++ b/liberty-maven-plugin/src/main/java/io/openliberty/tools/maven/server/PluginConfigSupport.java @@ -396,11 +396,7 @@ protected ServerConfigDocument getServerConfigDocument(CommonLoggerI log, File s } protected ServerConfigDocument getServerConfigDocument(CommonLoggerI log, File serverXML, Map libertyDirPropertyFiles) throws IOException { - if (scd == null || !scd.getServerXML().getCanonicalPath().equals(serverXML.getCanonicalPath())) { - scd = new ServerConfigDocument(log, libertyDirPropertyFiles); - } - - return scd; + return new ServerConfigDocument(log, libertyDirPropertyFiles); } protected String getAppsDirectory() {