mirror of https://github.com/apache/maven.git
o Merge branch 'master' into eclipse-aether
Conflicts: maven-embedder/src/main/java/org/slf4j/impl/MavenSlf4jSimpleFriend.java pom.xml
This commit is contained in:
commit
f50ae7b059
|
@ -19,6 +19,9 @@ package org.slf4j.impl;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.slf4j.ILoggerFactory;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* Utility for Maven to access Slf4j-Simple internals through package access.
|
||||
* Use with precaution, since this is not normally intended for production use.
|
||||
|
@ -28,6 +31,10 @@ public class MavenSlf4jSimpleFriend
|
|||
public static void init()
|
||||
{
|
||||
SimpleLogger.init();
|
||||
SimpleLoggerFactory.INSTANCE.reset();
|
||||
ILoggerFactory loggerFactory = LoggerFactory.getILoggerFactory();
|
||||
if ( loggerFactory instanceof SimpleLoggerFactory )
|
||||
{
|
||||
( (SimpleLoggerFactory) loggerFactory ).reset();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -58,8 +58,8 @@
|
|||
<cipherVersion>1.7</cipherVersion>
|
||||
<modelloVersion>1.7</modelloVersion>
|
||||
<jxpathVersion>1.3</jxpathVersion>
|
||||
<slf4jVersion>1.7.3</slf4jVersion>
|
||||
<aetherVersion>0.9.0.M2</aetherVersion>
|
||||
<slf4jVersion>1.7.4</slf4jVersion>
|
||||
<maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
|
||||
<!-- Control the name of the distribution and information output by mvn -->
|
||||
<distributionId>apache-maven</distributionId>
|
||||
|
|
Loading…
Reference in New Issue