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 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
Hi Peter,
maybe make a PR to upgrade surefire, it will get build by Travis on Linux, JDK 8 and JDK 11,
and by Appveyor on Windows on JDK 8, if there are no issues with a newer version of surefire,
I’d take it
Cheers
Andrea
···
Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.