* This is a slightly modified version as shipped with polyglot Maven.
*/
public class CustomModelBuilder extends ModelBuilder {
public CustomModelBuilder(Model model) {
ExecuteManager executeManager = new ExecuteManagerImpl();
setProp(executeManager.getClass(), executeManager, "log",
new PlexusLoggerAdapter(LoggerFactory.getLogger(ExecuteManagerImpl.class)));
setProp(ModelBuilder.class, this, "executeManager", executeManager);
setProp(ModelBuilder.class, this, "log",
new PlexusLoggerAdapter(LoggerFactory.getLogger(ModelBuilder.class)));
try {