I have configured the Maven JaCoCo plugin as follows in my pom.xml file:
UTF-8
I had the same trouble with jacoco and maven. It was related to a parent pom overwriting the configuration of surefire. In this case, that plugin didn't used the argument (for jvm argument) defining the agent.
The solution was to put the "argLine" configuration element back
maven-surefire-plugin
${argLine}
Full plugin conf looks like
maven-surefire-plugin
true
unit-test
test
test
${maven.test.skip}
${argLine}
**/*IntegrationTest.java
integration-test
integration-test
test
${skipITs}
${argLine}
**/*IntegrationTest.java
org.jacoco
jacoco-maven-plugin
0.5.10.201208310627
${maven.test.skip}
${basedir}/target/coverage-reports/jacoco-unit.exec
${basedir}/target/coverage-reports/jacoco-unit.exec
true
jacoco-initialize
prepare-agent
jacoco-site
verify
report
Hope it'll be usefull