mirror of https://github.com/apache/maven.git
fixed indentation
This commit is contained in:
parent
aa0b71ca62
commit
25bae5acd7
|
@ -387,29 +387,27 @@ public class MavenCli
|
||||||
|
|
||||||
DefaultPlexusContainer container = null;
|
DefaultPlexusContainer container = null;
|
||||||
|
|
||||||
ContainerConfiguration cc = new DefaultContainerConfiguration()
|
ContainerConfiguration cc = new DefaultContainerConfiguration()
|
||||||
.setClassWorld( cliRequest.classWorld )
|
.setClassWorld( cliRequest.classWorld )
|
||||||
.setRealm( setupContainerRealm( cliRequest ) )
|
.setRealm( setupContainerRealm( cliRequest ) )
|
||||||
.setClassPathScanning( PlexusConstants.SCANNING_INDEX )
|
.setClassPathScanning( PlexusConstants.SCANNING_INDEX )
|
||||||
.setAutoWiring( true )
|
.setAutoWiring( true )
|
||||||
.setName( "maven" );
|
.setName( "maven" );
|
||||||
|
|
||||||
container = new DefaultPlexusContainer( cc, new AbstractModule()
|
container = new DefaultPlexusContainer( cc, new AbstractModule()
|
||||||
|
{
|
||||||
|
protected void configure()
|
||||||
{
|
{
|
||||||
|
bind( ILoggerFactory.class ).toInstance( slf4jLoggerFactory );
|
||||||
|
}
|
||||||
|
} );
|
||||||
|
|
||||||
protected void configure()
|
// NOTE: To avoid inconsistencies, we'll use the TCCL exclusively for lookups
|
||||||
{
|
container.setLookupRealm( null );
|
||||||
bind( ILoggerFactory.class ).toInstance( slf4jLoggerFactory );
|
|
||||||
}
|
|
||||||
|
|
||||||
} );
|
container.setLoggerManager( plexusLoggerManager );
|
||||||
|
|
||||||
// NOTE: To avoid inconsistencies, we'll use the TCCL exclusively for lookups
|
customizeContainer( container );
|
||||||
container.setLookupRealm( null );
|
|
||||||
|
|
||||||
container.setLoggerManager( plexusLoggerManager );
|
|
||||||
|
|
||||||
customizeContainer( container );
|
|
||||||
|
|
||||||
container.getLoggerManager().setThresholds( cliRequest.request.getLoggingLevel() );
|
container.getLoggerManager().setThresholds( cliRequest.request.getLoggingLevel() );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue