throw new MojoFailureException("Could not enhance libraries", e);
}
}
private void addIncludes(final FileSet fs) {
final AndSelector fsIncludes = new AndSelector();
if (includes == null) {
includes = new ArrayList<String>(1);
}
if (includes.size() == 0) {
includes.add("**/*");
}
for (final String inc : includes) {
final FilenameSelector fns = new FilenameSelector();
fns.setName(inc);
fsIncludes.add(fns);
}
fs.addAnd(fsIncludes);
}