Open apjanke opened 2 years ago
Oh, you know what? Looks like this output was not from the Maven surefire plugin, but from the antrun plugin running the ant JUnit test. So it's not under the direct control of the pom.xml
; it's controlled by build.xml
; that's probably why my attempts to quiet surefire didn't work. I turned off the antrun junit tests in #21, and all this output disappeared. :)
And, haha, guess what? In pom.xml's <build><plugins><plugin><configuration>
for maven-surefire-plugin, there's a <skip>true</skip>
, which means surefire isn't running any tests at all. I removed that <skip>true</skip>
, and surefire went to running tests, and there were several failures. I guess that's why log4j is calling out to ant for its unit testing? I put the <skip>true</skip>
back in, because I just want to get it building first.
The
site
andassembly
targets in log4j output hundreds of lines of detailed JUnit test progress and results.Seems especially gross that, it looks like, unit tests that check that log4j throws exceptions in certain cases output those expected-exception stack traces.
I'd rather not see that unless I explicitly ask for it. See if there's a way to turn all that off. Only output failures and errors by default.