request.addPluginGroup("org.codehaus.mojo");
request.addPluginGroup("com.sonatype.maven.plugins");
request.addPluginGroup("org.sonatype.maven.plugins");
// Setup output colorization
StreamSet current = StreamJack.current();
StreamSet streams;
if (color == null || color) {
// Complain if the user asked for color and its not supported
if (color != null && !io.getTerminal().isAnsiSupported()) {
log.warn("ANSI color is not supported by the current terminal");
}
streams = new StreamSet(current.in, new ColorizingStream(current.out), new ColorizingStream(current.err));
}
else {
streams = current;
}
config.setStreams(streams);