GeoServer uses the cobertura-maven-plugin for code coverage. This plugin is
not compatible with Java 9 (due to a dependency on tools.jar), and it
doesn't look like there is going to be a new version anytime soon (or ever).

The plugin only appears to be referenced in the gwc pom
<https://github.com/geoserver/geoserver/blob/master/src/gwc/pom.xml#L166>
and the wms pom
<https://github.com/geoserver/geoserver/blob/master/src/wms/pom.xml>.
However, it is (was) our go-to solution for coverage, so an alternative is
necessary.

Last time a similar issue came up (no support for Java 8 code features in
coberatura), jacoco was suggested as an alternative. It has a mvn plugin
that seems to cover most of the same functionality.

I've created a PR here which replaces all uses of cobertura with jacoco,
and adds a jacoco profile for running tests with coverage:
https://github.com/geoserver/geoserver/pull/2706

Torben
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to