this.license);
try {
final Project antProject = new Project();
antProject.init();
CloverMergeTask merge = new CloverMergeTask();
merge.setProject(antProject);
merge.init();
merge.setInitString(getCloverMergeDatabase());
CloverMergeTask.CloverDbSet dbSet = new CloverMergeTask.CloverDbSet();
dbSet.setProject(antProject);
dbSet.setIncludes(includes);
dbSet.setDir(baseDir);
if (span != null) {
dbSet.setSpan(new Interval(span));
}
merge.addCloverDbSet(dbSet);
merge.execute();
} catch (BuildException e) {
throw new MojoExecutionException(e.getMessage(), e);
}
}