diff --git a/boost-maven/boost-runtimes/runtime-openliberty/src/main/java/boost/runtimes/openliberty/LibertyRuntime.java b/boost-maven/boost-runtimes/runtime-openliberty/src/main/java/boost/runtimes/openliberty/LibertyRuntime.java index 007e8803..fc2b5383 100644 --- a/boost-maven/boost-runtimes/runtime-openliberty/src/main/java/boost/runtimes/openliberty/LibertyRuntime.java +++ b/boost-maven/boost-runtimes/runtime-openliberty/src/main/java/boost/runtimes/openliberty/LibertyRuntime.java @@ -258,15 +258,14 @@ private void installMissingFeatures() throws MojoExecutionException { } /** - * Invoke the liberty-maven-plugin to run the install-app goal. + * Invoke the liberty-maven-plugin to run the deploy goal. */ - private void installApp(String installAppPackagesVal) throws MojoExecutionException { + private void installApp(String deployPackagesVal) throws MojoExecutionException { - Element deployPackages = element(name("deployPackages"), installAppPackagesVal); + Element deployPackages = element(name("deployPackages"), deployPackagesVal); Element serverNameElement = element(name("serverName"), serverName); Xpp3Dom configuration = configuration(deployPackages, serverNameElement, getRuntimeArtifactElement()); - configuration.addChild(element(name("appsDirectory"), "apps").toDom()); executeMojo(getPlugin(), goal("deploy"), configuration, env); }