mirror of https://github.com/apache/maven.git
o Fixed logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824321 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a13a336cea
commit
05dc94a90e
|
@ -52,8 +52,6 @@ import org.codehaus.plexus.PlexusContainerException;
|
|||
import org.codehaus.plexus.classworlds.ClassWorld;
|
||||
import org.codehaus.plexus.component.repository.exception.ComponentLifecycleException;
|
||||
import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
|
||||
import org.codehaus.plexus.logging.Logger;
|
||||
import org.codehaus.plexus.logging.console.ConsoleLogger;
|
||||
import org.codehaus.plexus.util.StringUtils;
|
||||
import org.codehaus.plexus.util.cli.CommandLineUtils;
|
||||
import org.sonatype.plexus.components.cipher.DefaultPlexusCipher;
|
||||
|
@ -231,7 +229,7 @@ public class MavenCli
|
|||
}
|
||||
catch ( ComponentLookupException e )
|
||||
{
|
||||
CLIReportingUtils.showError( new ConsoleLogger( Logger.LEVEL_ERROR, Maven.class.getName() ), "Unable to start the embedder: ", e, showErrors );
|
||||
CLIReportingUtils.showError( logger, "Unable to start the embedder: ", e, showErrors );
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue