Closed PissedCapslock closed 5 years ago
Thank you for reporting.
As TEAM Engine must be built and run with Java 8 [1], there is an implicit requirement to also build and run test suites with Java 8. Can you please check if the errors also occur when using Java 8 (following you description, I guess, Java 8 works)?
However, I agree that it should be documented more clear what Java versions are supported by test suites (e.g. by configuring Maven compiler plugin and/or Maven enforcer plugin).
Also, a general plan must be developed to migrate TEAM Engine to newer Java versions.
[1] http://opengeospatial.github.io/teamengine/installation.html
Java8 indeed works.
Running
mvn install
when using OpenJDK11:results in errors like
This is caused by the fact that on Java11, certain classes have been removed from the JDK. The fix for this is trivial. Just add the following dependencies to the
pom.xml
file.That is however not sufficient to be able to run the tests. Doing
mvn install
with that fix results inThis is caused by https://bugs.openjdk.java.net/browse/JDK-8068749. The geotools bugtracker indicates this is fixed: https://osgeo-org.atlassian.net/browse/GEOT-5289. However, the libraries on which this repo depends look like a very old version of geotools of which the latest version was published on Maven in 2015.