Hi,

So I have been trying to get jacoco to run some coverage reports for me,
and perhaps it is just a windows dependency, but I found it would not run
the coverage reports unless I commented out the <argLine> property in the
main geoserver/src/pom.xml.

This appears to be a known issue.  The jacoco documentation
suggests to use a configuration for the surefire plugin that references
project properties with late evaluation:
https://www.eclemma.org/jacoco/trunk/doc/prepare-agent-mojo.html#destFile

Long story short, the surefire version that geoserver is currently at
(2.12) doesn't support the @{property} syntax, but if we upgrade to >=2.17,
it does, and jacoco seems to work, at least in our community module.

Any suggestions?

I will try running a local jacoco over the entire project tonight and see
if that works.  I haven't been having a lot of luck running tests on my old
machine, unfortunately.

Cheers,
Peter
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to