GroovyMavenDeployer mavenDeployer = createMavenDeployer(args);
return (GroovyMavenDeployer) add(mavenDeployer);
}
private GroovyMavenDeployer createMavenDeployer(Map args) {
GroovyMavenDeployer mavenDeployer = createMavenDeployer("dummyName");
String defaultName = RepositoryHandler.DEFAULT_MAVEN_DEPLOYER_NAME + "-" + System.identityHashCode(
mavenDeployer);
mavenDeployer.setName(getNameFromMap(args, defaultName));
return mavenDeployer;
}