Build fails on Ubuntu 18.04
Workaround: _JAVA_OPTIONS=-Djdk.net.URLClassPath.disableClassPathURLCheck=true mvn ...
Fails during the test stage with
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
The relevant log has:
Error: Could not find or load main class org.apache.maven.surefire.booter.ForkedBooter
For several fixes and workarounds see https://stackoverflow.com/questions/53010200/maven-surefire-could-not-find-forkedbooter-class/53016532