Matthias Bünger opened MCLEAN-116 and commented
As stated multiple times in the Cleaner class, the Logger interface of this class does not provide a method to log exceptions and needs a refactoring
// ...
if (logDebug != null) {
// TODO: this Logger interface cannot log exceptions and needs refactoring
logDebug.log("Unable to fast delete directory: " + e);
}
// ...
private interface Logger {
void log(CharSequence message);
}
However: Many plugins, e.g. the javadoc-plugin or the pmg-plugin use the org.apache.maven.plugin.logging.Log interface. Therefor using this interface instead an own could be a better solution than adding a new method to the interface in the Cleaner class.
This ticket was created to have this task in the issue tracker
Affects: 3.3.2
Remote Links:
Matthias Bünger opened MCLEAN-116 and commented
As stated multiple times in the
Cleanerclass, theLoggerinterface of this class does not provide a method to log exceptions and needs a refactoringHowever: Many plugins, e.g. the javadoc-plugin or the pmg-plugin use the
org.apache.maven.plugin.logging.Loginterface. Therefor using this interface instead an own could be a better solution than adding a new method to the interface in theCleanerclass.This ticket was created to have this task in the issue tracker
Affects: 3.3.2
Remote Links: