From 06bc2d020ef9f0ef8b6324ae6c8b1d23d467c429 Mon Sep 17 00:00:00 2001 From: ucrhh Date: Fri, 12 Mar 2021 13:32:30 +0100 Subject: [PATCH] fill in possible path for jacoco agent --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a9c1d8f..8b1b370 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ mvn jacoco:prepare-agent test jacoco:report Then run the application with the JaCoCo agent: (adjust the path to the agent jar) ``` cp target/typicalc-1.0-SNAPSHOT.jar /tmp -java -javaagent:jacoco.agent.jar=port=36320,destfile=jacoco-it.exec,output=tcpserver /tmp/typicalc-1.0-SNAPSHOT.jar +java -javaagent:$HOME/.m2/repository/org/jacoco/org.jacoco.agent/0.8.6/org.jacoco.agent-0.8.6-runtime.jar=port=36320,destfile=jacoco-it.exec,output=tcpserver -jar /tmp/typicalc-1.0-SNAPSHOT.jar ``` To run the integration tests: