Project antProject = antTasks.getProject();
PropertyHelper propertyHelper = PropertyHelper
.getPropertyHelper(antProject);
propertyHelper.setNext(new AntPropertyHelper(exprEvaluator,
getLog()));
DefaultLogger antLogger = new DefaultLogger();
antLogger.setOutputPrintStream(System.out);
antLogger.setErrorPrintStream(System.err);
antLogger.setMessageOutputLevel(2);
antProject.addBuildListener(antLogger);
antProject.setBaseDir(mavenProject.getBasedir());
Path p = new Path(antProject);
p.setPath(StringUtils.join(mavenProject.getArtifacts().iterator(),
File.pathSeparator));