I have a legacy JavaFX app which compiles and runs correctly on JDK 1.8. To move to JDK 10 I've added these to the pom.xml:
<dependency>
    <groupId>javax.xml.bind</groupId>
    <artifactId>jaxb-api</artifactId>
    <version>2.3.0</version>
</dependency>
    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.7.0</version>
        <configuration>
            <release>10</release>
            <compilerArgs>
                <arg>--add-modules</arg>
                <arg>javax.xml.bind</arg>
            </compilerArgs>
        </configuration>
    </plugin>
Running mvn clean install -DskipTests with JDK 10.0.1 and mvn 3.3.9 gives
module not found: javax.xml.bind
Do I need a newer version of maven? I can't find anything on the maven web site about JDK 10 version requirements.
It doesn't seem to be related to JavaFX. What am I missing?
 
    