Hi,

the agent needs to be configured for the JVM where your code under test is 
executed. If this is on a remote server the jacocoagent.jar needs to be on that 
server and the server JVM must be started with the respective command line 
options.

Our Maven goal only supports configuration of JVMs startet within the local 
Maven build. Upload of the agent to a remote server is not supported by our 
built-in tools.

Regards,
-marc

> On 26. Mar 2020, at 10:03, [email protected] wrote:
> 
> Is it possible to use jacoco plugin with maven, and a goal like prepare-agent 
> which will then upload this agent through maven to the server and then dump 
> the report into a local folder?
> 
> Or in all cases, to generate a report, do you need a jacoco agent running on 
> the server side (remotely) to connect to locally with e.g. maven?
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jacoco/069fc616-7c95-40de-bec6-1ec0919646fe%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jacoco/069fc616-7c95-40de-bec6-1ec0919646fe%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/A7DFD1BF-E5B7-4C08-A592-1980974766CD%40mountainminds.com.

Reply via email to