On Fri, 6 Jul 2018, Stuart Pook wrote: > I didn't want to upgrade to Java-10 either because scala does not appear
FWIW (still not finished, need a proper write-up) I managed to hack our projects to get them build with either 8 or 10, using <release>8</release> in maven-compiler-plugin when on anything newer. That includes workarounds around bugs in Debian’s OpenJDK package only patched in Debian’s maven-javadoc-plugin, which is inaccessible from a regular mvn invocation AFAICT, and injecting javax.annotations into dependencies… but after sweat and pain I converted the two most pressing projects, discovering that stuff uploaded to Maven Central is *also* built without --release 7 (even if -source 1.7 -target 1.7 is used) and thus java > 8 will soon become a requirement to build java stuff *anyway* even if targetting 8 for runtime… ☹, //mirabilos, as I said, still need to write it up properly -- tarent solutions GmbH Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/ Tel: +49 228 54881-393 • Fax: +49 228 54881-235 HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941 Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg