/**
* Invoke the liberty-maven-plugin to run the install-app goal.
*/
private void installApp(String installAppPackagesVal) throws MojoExecutionException {
Element deployPackages = element(name("deployPackages"), installAppPackagesVal);
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);
}