For weeks, I\'ve been wrestling with maven, getting it to deploy our project \"properly.\"
I\'m almost done but I have one stubborn little problem:
When I use th
Upgrade to Maven 3.1.x or higher - see http://maven.apache.org/maven-logging.html
The standard Maven distribution, from Maven 3.1.0 onward, uses the SLF4J API for logging combined with the SLF4J Simple implementation.
Now with simplelogger we have fine-grained control over log messages. To identify which logger is causing the unwanted messages, edit MAVEN_HOME/conf/logging/simplelogger.properties and change the following:
org.slf4j.simpleLogger.showLogName=true
Observe the unwanted garbage in your build output:
[INFO] org.codehaus.plexus.archiver.jar.JarArchiver - META-INF/MANIFEST.MF already added, skipping
Back in simplelogger.properties, reduce logging level for the offending logger(s) by class name (also set showLogName back to false)
org.slf4j.simpleLogger.log.org.codehaus.plexus.archiver.jar.JarArchiver=warn