sortpom.logger.MavenLogger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sortpom-maven-plugin Show documentation
Show all versions of sortpom-maven-plugin Show documentation
A Maven plugin that sorts the pom.xml file.
package sortpom.logger;
import org.apache.maven.plugin.logging.Log;
/**
* @author bjorn
* @since 2012-12-22
*/
public class MavenLogger implements SortPomLogger {
private final Log pluginLogger;
public MavenLogger(Log pluginLogger) {
this.pluginLogger = pluginLogger;
}
@Override
public void warn(String content) {
pluginLogger.warn(content);
}
@Override
public void info(String content) {
pluginLogger.info(content);
}
@Override
public void error(String content) {
pluginLogger.error(content);
}
}