throw new MojoExecutionException("Missing pre-installed assembly directory: " + geronimoHome);
}
}
//Add overrides , so users can customize config.xml before start server.
if (overrides != null) {
ServerInstanceData serverInstance = new ServerInstanceData();
serverInstance.setConfigFile("var/config/config.xml");
serverInstance.setName("default");
serverInstance.setConfigSubstitutionsFile("var/config/config-substitutions.properties");
serverInstance.setConfigSubstitutionsPrefix("org.apache.geronimo.config.substitution.");
serverInstance.setArtifactAliasesFile("var/config/artifact_aliases.properties");
try {
if (overrides != null) {
for (ServerOverride overrideItem : this.overrides) {
AttributesType attributes = overrideItem