throw new MojoFailureException(String.format("templateName ('%s') not found", templateName));
if (isBlank(template.getSolutionStack()))
throw new MojoFailureException(String.format("Please define solutionStack/ in template %s", templateName));
CreateConfigurationTemplateRequest req = new CreateConfigurationTemplateRequest(applicationName, templateName);
req.setSolutionStackName(template.getSolutionStack());
req.setOptionSettings(Arrays.asList(template.getOptionSettings()));
return getService().createConfigurationTemplate(req);
}