mojohaus / cobertura-maven-plugin

Cobertura Maven Plugin
https://www.mojohaus.org/cobertura-maven-plugin/
25 stars 20 forks source link

Cobertura-plugin 2.7 modifies the build's log4j configuration #14

Open vincent-zurczak opened 8 years ago

vincent-zurczak commented 8 years ago

Hi. I don't know whether this issue is related to #6 or not. However, I have Maven modules that depend on libraries using SLF4j. And when I run mvn clean cobertura:cobertura on these modules, I see a lot of DEBUG outputs. Most of them are related to my dependencies. But, it seems Cobertura's LOG4j configuration overrides my global configuration.

So, said differently, when using the Cobertura plug-in in version 2.7 with my project, some modules display DEBUG logs they should not. The quiet property does not change anything. Swicthing back to the Cobertura plug-in 2.6 solves the issue (debug messages are not shown anymore).

dherik commented 6 years ago

The 2.7 version from Cobertura is the only version with support for integration tests. There is something to do about this DEBUG outputs?

I created a post on SO before see this issue.