Hi!
We have a special case of usage. We have unit and integration test per micro-service. Up to here, is all working fine, JaCoCo generates reports and we can import them into sonar and all works fine. The problem is that we have another application that deploys the micro-services into docker machines (all with maven) and then it runs another suite of test that checks that all services in orchestration are working properly. The problem comes when we want to have also coverage of each service that, in this time, is running inside of a docker machine.
We thought on using the server-client modes of JaCoCo for solving this issue, but as long as all services run with the surefire and failsafe plugins, those will run the docker-maven-plugin with the argline configured that then will be provided to each running instance (inside of the docker). This leads to the same configuration (all of JaCoCo's agents are now server, none is client).
Any advice on how to configure JaCoCo with this architecture?
Thanks!