December 2014
Intermediate to advanced
298 pages
6h 22m
English
Everything does not work fine all the time. The connectivity to an external repository or a server can fail due to many reasons. Maven debugging helps you to nail down the root cause in such a situation. To run Maven with debug level logs enabled, use the following command:
$ mvn clean install -X
Maven 3.1.0 and higher versions use the SLF4J logging API. The following logging configuration available at MAVEN_HOME/conf/logging/simplelogger.properties can be used to alter the default behavior of Maven logging:
org.slf4j.simpleLogger.defaultLogLevel=info org.slf4j.simpleLogger.showDateTime=false org.slf4j.simpleLogger.showThreadName=false org.slf4j.simpleLogger.showLogName=false org.slf4j.simpleLogger.logFile=System.out org.slf4j.simpleLogger.levelInBrackets=true ...
Read now
Unlock full access