[java code coverage] Re: “IllegalStateException: Incompatible execution data for class in…” exception from Jacoco when run fo

2016-10-29 Thread Evgeny Mandrikov
What means "no data in it"? It doesn't show any files? or it shows 0 for all files? On Wednesday, October 26, 2016 at 2:17:32 PM UTC+2, Keshaw Pandey wrote: > > > Thanks for the prompt reply. I was using 0.7.4.201502262128 version of > Jacoco. As you have suggested I've moved to the latest

Re: [java code coverage] EOFException on readExecutionData

2016-10-29 Thread Evgeny Mandrikov
Hi, You can switch output mode from file to tcpserver or tcpclient to obtain dump prior to killing of JVM. Or set jmx option to true to activate mbean and using it request dump into file prior to killing of JVM. Description of those options can be found at

Re: [java code coverage] default lifecycle phase of jacoco:prepare-agent

2016-10-29 Thread Mirko Friedenhagen
Hello, you mean skip when maven.test.skip is set? You may achieve this easily by referencing this property in the default-prepare-agent execution. There you may easily redefine the bound phase as well. I use jacoco in projects which have no tests run by surefire or failsafe but the invoker

[java code coverage] default lifecycle phase of jacoco:prepare-agent

2016-10-29 Thread andreas . mandel
Hello list, sorry if this has been already discussed. I just came across this and I'm not sure to understand it fully. I wonder why the jacoco:prepare-agent maven goal is bound to the very early lifecycle phase "initialize"? Wouldn't be a later phase be more reasonable? I assume in most