Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Commit

Permalink
Use default appsDirectory parm in deploy goal
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Kurz <skurz@us.ibm.com>
  • Loading branch information
scottkurz committed Sep 16, 2019
1 parent a7f9416 commit c94ca75
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit c94ca75

Please sign in to comment.