We should be able to override the user properties for the target/source version via the Maven command line in the Java 9 builds.
But that probably does not solve the problem, right? We'd also need to be able to specify additional compiler arguments via the Maven command line. -- Richard > On 21.03.2017, at 23:19, Marshall Schor <[email protected]> wrote: > > We have some builds on Jenkins set up to run using Java 9. > > I see some issues around no class def found for > javax/xml/bind/DatatypeConverter. > > Others see this same issue: https://bugs.openjdk.java.net/browse/JDK-8157670 > > But it's not a bug, it's intentional: > http://mail.openjdk.java.net/pipermail/jdk9-dev/2016-May/004309.html > > When I add the --add-modules java.xml.bind to the compiler, it then complains > that you can't do that if your compile target is Java 8. > > > Maybe this will get fixed before Java 9 comes out. If not, it looks like for > java 9 testing, we'll have to specify the target level is 9. > > -Marshall
