Add package to integration test instructions

This commit is contained in:
Arne Keller 2021-03-12 13:13:08 +01:00
parent caeb2fca84
commit daf3fb51e6

View File

@ -60,6 +60,7 @@ mvn jacoco:prepare-agent test jacoco:report
Then run the application with the JaCoCo agent: (adjust the path to the agent jar) Then run the application with the JaCoCo agent: (adjust the path to the agent jar)
``` ```
mvn package -Pproduction
cp target/typicalc-1.0-SNAPSHOT.jar /tmp 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:jacoco.agent.jar=port=36320,destfile=jacoco-it.exec,output=tcpserver /tmp/typicalc-1.0-SNAPSHOT.jar
``` ```