diff --git a/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java b/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java index e6e15d2c31..0db5b4b29f 100644 --- a/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java +++ b/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java @@ -127,7 +127,7 @@ public class DefaultClassRealmManager return mavenRealm; } - private void importMavenApi( Map imports, boolean importSlf4japi ) + private void importMavenApi( Map imports ) { ClassRealm coreRealm = getCoreRealm(); @@ -219,10 +219,7 @@ public class DefaultClassRealmManager // imports.put( "com.google.inject.util.*", coreRealm ); // SLF4J - if ( importSlf4japi ) - { - imports.put( "org.slf4j.*", coreRealm ); - } + imports.put( "org.slf4j.*", coreRealm ); } /**