Maybe because you also have "<fork>false</fork>" that disables forking of 
JVM ?

Also clear that excerpt of pom.xml is not enough to reproduce your 
difficulty. So please provide full runnable example.

On Monday, February 27, 2017 at 9:52:12 PM UTC+1, Rohan Kulkarni wrote:
>
> I tried passing it explicitly in the spring-boot-maven-plugin but it still 
> did not generate the exec file for integration test. I can see it is 
> setting the argLine property correctly in the pre-integration-test step. 
> Not sure why that agent is not getting started.
>
> Rohan
>
>
> On Monday, February 27, 2017 at 2:35:08 PM UTC-6, Evgeny Mandrikov wrote:
>>
>> As stated in documentation about "prepare-agent" mojo at page 
>> http://www.jacoco.org/jacoco/trunk/doc/prepare-agent-mojo.html :
>>
>> Prepares a property pointing to the JaCoCo runtime agent that can be 
>>> passed as a VM argument to the application under test.
>>
>>
>> By default it will set "argLine" property, but spring-boot-maven-plugin 
>> doesn't take into account this property by default and you're not passing 
>> it explicitly , hence spring-boot-maven-plugin starts JVM without agent.
>>
>>

-- 
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/90064f05-fe7d-4cbf-84fb-2f6c32bf0deb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to