mam-dev / foss-parent

Parent POM for 1-and-1 open source projects using Maven.
http://1and1.github.io/foss-parent/github-report.html
Apache License 2.0
10 stars 4 forks source link

Avoid double addition of jacoco agent by using maven-surefire-report-plugin:report-only #19

Closed mfriedenhagen closed 11 years ago

mfriedenhagen commented 11 years ago

As mentioned in jacoco/jacoco#40 jacoco emits a lot of error messages when the agent is added twice. This is triggered by the forked lifecycle of maven-surefire-report-plugin:report.

As a workaround define two report sets for surefire and failsafe instead.

mfriedenhagen commented 11 years ago

Fixed with 4ab810717aafe343954a73ff8dc0c890648536ab.