Personally I'm not aware of such example and not being a daily user of spring-boot don't want to spend time on building one, however:
If you can provide minimalistic example, then I can have a look at it. Also setting of JVM arguments for spring-boot-maven-plugin should be as easy as described in their documentation - https://docs.spring.io/spring-boot/docs/current/maven-plugin/examples/run-debug.html So something like: <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <executions> <execution> <id>jacoco-initialize-it</id> <phase>pre-integration-test</phase> <goals> <goal>prepare-agent</goal> </goals> <configuration> <propertyName>jacocoAgent</propertyName> </configuration> </execution> and then <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <jvmArguments>${jacocoAgent}</jvmArguments> </configuration> And so question is - is it what you did? Regards, Evgeny On Thursday, June 15, 2017 at 8:47:01 AM UTC+2, Martin Dietze wrote: > > Am Mittwoch, 14. Juni 2017 20:49:27 UTC+2 schrieb Evgeny Mandrikov: >> >> >> 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 JaCoCo >> agent. >> > > Thank you for your reply. I tried to set this in both the failsafe and > spring-boot maven plugin, but it had no effect. Is there an example that I > could take a look at? > -- 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/5d11132b-7089-475e-8de0-7e77396534e1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
