Maven debug output
Imagine you are frustrated by one of the maven plugin and you want to turn the debug output on. Google debugging a maven plugin or maven debug output and you may still be out of luck. Here is the brute force way of doing it.
Open MAVEN_HOME/core/plexus-container-default-1.0-alpha-9.jar and edit org/codehaus/plexus/plexus-bootstrap.xml to set threshold to debug.
<component>
<role>org.codehaus.plexus.logging.LoggerManager</role>
<implementation>org.codehaus.plexus.logging.console.ConsoleLoggerManager</implementation>
<lifecycle-handler>basic</LIFECYCLE-HANDLER>
<configuration>
<threshold>debug</threshold>
</configuration>
</component>
4 Comments:
You can also use the option -X.
Man, people like you totally suck. What the hell is with the name of your blog? Why do you even blog?
+1 what s/he said.
Works also on Maven 2.x.
Edit maven-X-uber.jar
to find the plexus-bootstrap.xml file.
Thanks!!
Post a Comment
Subscribe to Post Comments [Atom]
<< Home