Question: Is it possible to set the jacoco dataFile property used by
jacoco:report using a user property?
Problem I'm trying to solve if there's a different solution:
In one of the projects at work we're unable to find jacoco results with
jacoco:report.
The project runs the following maven goals for unit tests
"jacoco:prepare-agent", "surefire:test", and "jacoco:report". This fails with
the following error:
[java] [INFO] --- jacoco-maven-plugin:0.7.1.201405082137:report
(default-cli) @ nexpose-root ---
[java] [INFO] Skipping JaCoCo execution due to missing execution data
file:/Users/ecarey/rapid7/nexpose/nexpose/src/target/jacoco.exec
The execution data file is not correct. The destFile is set using the
"jacoco.destFile" system property, but the dataFile does not respect this. I
attempted setting "jacoco.dataFile" to no avail.
--
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/40212d2d-57e2-4392-8c9d-a37e8ea3b8c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.