From 3db95056035804b304fa0a311bfb74c19d2327a9 Mon Sep 17 00:00:00 2001 From: Evie Lau Date: Mon, 7 Aug 2023 16:27:14 -0500 Subject: [PATCH] Rename parameter to appMonitorTrigger --- .../io/openliberty/tools/maven/applications/DeployMojo.java | 2 +- .../openliberty/tools/maven/server/StartDebugMojoSupport.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/liberty-maven-plugin/src/main/java/io/openliberty/tools/maven/applications/DeployMojo.java b/liberty-maven-plugin/src/main/java/io/openliberty/tools/maven/applications/DeployMojo.java index af5452f87..eb92c47b0 100644 --- a/liberty-maven-plugin/src/main/java/io/openliberty/tools/maven/applications/DeployMojo.java +++ b/liberty-maven-plugin/src/main/java/io/openliberty/tools/maven/applications/DeployMojo.java @@ -111,7 +111,7 @@ private void doDeploy() throws IOException, MojoExecutionException, TransformerE } // create applicationMonitor configuration in configDropins/defaults - appMonXml.writeAppMonitorConfigXmlDocument(serverDirectory, applicationMonitorValue); + appMonXml.writeAppMonitorConfigXmlDocument(serverDirectory, appMonitorTrigger); } private void installSpringBootApp() throws MojoExecutionException, IOException { diff --git a/liberty-maven-plugin/src/main/java/io/openliberty/tools/maven/server/StartDebugMojoSupport.java b/liberty-maven-plugin/src/main/java/io/openliberty/tools/maven/server/StartDebugMojoSupport.java index 386b34342..b9a0a5797 100644 --- a/liberty-maven-plugin/src/main/java/io/openliberty/tools/maven/server/StartDebugMojoSupport.java +++ b/liberty-maven-plugin/src/main/java/io/openliberty/tools/maven/server/StartDebugMojoSupport.java @@ -124,8 +124,8 @@ public abstract class StartDebugMojoSupport extends ServerFeatureSupport { @Parameter protected List jvmOptions; - @Parameter(property = "applicationMonitor") - protected String applicationMonitorValue; + @Parameter(property = "appMonitorTrigger") + protected String appMonitorTrigger; /** * The current plugin's descriptor. This is auto-filled by Maven 3.