On Thursday, December 27, 2018 at 6:07:49 AM UTC-12, Evgeny Mandrikov wrote:
> On Thursday, December 27, 2018 at 6:36:57 AM UTC+1, [email protected] 
> wrote:I am thankful to you for replying on my query. At least it's better to 
> get stupid questions rather than getting none. 
> 
> To help you further more, 
> 
>      1. The Jacoco is supposed to generate "sites" folder in my target 
> directory which(sites) contains the tests report. I have used the same 
> configuration in my other project modules there it's worked fine for me. 
> However it's not working in 1-2 modules :( 
> 
>      2. When I run "mvn clean install" or "mvn clean verify" or "mvn -U clean 
> install jacoco:report -Dmaven.test.failure.ignore=true" command I can see 
> there are 51 tests executed successfully without any error. 
> 
>      3. I thought not to confuse you with bulky pom.xml but yeah if you need 
> it I can provide it to you for sure. 
> 
> 
> Once again:
> 
> "execution data file" that "jacoco:report" uses,
> is generated by agent
> that is executed during execution of maven-surefire-plugin.
> 
> 
> So what prevents you from debugging execution of maven-surefire-plugin to see 
> if it uses agent or not?
> Debug log ("mvn -X") will contain
> 
> 
> 
> 
> Forking command line: java 
> -javaagent:.../org.jacoco.agent-0.8.1-runtime.jar=destfile=...
> 
> 
> during execution of maven-surefire-plugin in case of presence of agent.
> 
> 
> Or what prevents you from comparison of executions and configurations of 
> maven-surefire-plugin (working one with non-working)?
> 
> 
> On Thursday, December 27, 2018 at 6:43:34 AM UTC+1, [email protected] 
> wrote:I am trying to send you the whole "pom.xml" file but the movement I 
> click on post button the message is getting deleted automatically. Maybe 
> because of it's line size I am unable to send it.
> 
> 
> Then share it on GitHub.

@Evgeny Mandrikov,
I have shared the whole "pom.xml" file on GitHub. Please have a look on it.

I have compared the configuration of "maven-surefire-plugin" and "jacoco 
plugin" both(working and non-working). I could not see single line of change in 
both the configurations. That's why I am more concerned about this strange 
behavior which is working at one place but not at other.

I think you have rightly pointed out that may be "agent" is not executing 
during "maven-surefire-plugin". I need to check it whether this is the real 
cause of concern or not.

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/00b8a64f-2e93-4507-ae97-2234797804a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to