title: cannot generate sources after switching os
body: <p>i recently switched from Ubuntu to Windows 10 and i can't generate sources any more.  the relevant section of my pom.xml is as follows</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
      &lt;artifactId&gt;cxf-codegen-plugin&lt;/artifactId&gt;
      &lt;version&gt;${cxf-codegen-plugin.version}&lt;/version&gt;
      &lt;executions&gt;
          &lt;execution&gt;
              &lt;id&gt;generate-sources&lt;/id&gt;
              &lt;phase&gt;generate-sources&lt;/phase&gt;
              &lt;configuration&gt;
                  &lt;sourceRoot&gt;${project.build.directory}/generated/cxf&lt;/sourceRoot&gt;
                  &lt;wsdlOptions&gt;
                      &lt;wsdlOption&gt;
                          &lt;wsdl&gt;${basedir}/src/main/resources/postcode/find_1_10.wsdl&lt;/wsdl&gt;
                          &lt;wsdlLocation&gt;classpath:postcode/find_1_10.wsdl&lt;/wsdlLocation&gt;
                          &lt;extraargs&gt;
                              &lt;extraarg&gt;-p&lt;/extraarg&gt;
                              &lt;extraarg&gt;uk.co.postcodeanywhere.services.find&lt;/extraarg&gt;
                          &lt;/extraargs&gt;
                      &lt;/wsdlOption&gt;                               
                      &lt;wsdlOption&gt;
                          &lt;wsdl&gt;${basedir}/src/main/resources/postcode/postzon_1_40.wsdl&lt;/wsdl&gt;
                          &lt;wsdlLocation&gt;classpath:postcode/postzon_1_40.wsdl&lt;/wsdlLocation&gt;
                          &lt;extraargs&gt;
                              &lt;extraarg&gt;-p&lt;/extraarg&gt;
                              &lt;extraarg&gt;uk.co.postcodeanywhere.services.postzon&lt;/extraarg&gt;
                          &lt;/extraargs&gt;
                      &lt;/wsdlOption&gt;
                      &lt;wsdlOption&gt;
                          &lt;wsdl&gt;${basedir}/src/main/resources/postcode/retrievebyaddress_1_20.wsdl&lt;/wsdl&gt;
                          &lt;wsdlLocation&gt;classpath:postcode/retrievebyaddress_1_20.wsdl&lt;/wsdlLocation&gt;
                          &lt;extraargs&gt;
                              &lt;extraarg&gt;-p&lt;/extraarg&gt;
                              &lt;extraarg&gt;uk.co.postcodeanywhere.services.retrievebyaddress&lt;/extraarg&gt;
                          &lt;/extraargs&gt;
                      &lt;/wsdlOption&gt;
                      &lt;wsdlOption&gt;
                          &lt;wsdl&gt;${basedir}/src/main/resources/postcode/retrievebyid_1_30.wsdl&lt;/wsdl&gt;
                          &lt;wsdlLocation&gt;classpath:postcode/retrievebyid_1_30.wsdl&lt;/wsdlLocation&gt;
                          &lt;extraargs&gt;
                              &lt;extraarg&gt;-p&lt;/extraarg&gt;
                              &lt;extraarg&gt;uk.co.postcodeanywhere.services.retrievebyid&lt;/extraarg&gt;
                          &lt;/extraargs&gt;
                      &lt;/wsdlOption&gt;
                  &lt;/wsdlOptions&gt;
              &lt;/configuration&gt;
              &lt;goals&gt;
                  &lt;goal&gt;wsdl2java&lt;/goal&gt;
              &lt;/goals&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>the error during the maven build is as follows</p>
  
  <pre><code>[WARNING] The POM for com.sun.xml.bind:jaxb-xjc:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
  [INFO] Running code generation in fork mode...
  [INFO] The java executable is C:\Java\jdk-11.0.1_windows-x64_bin\jdk-11.0.1\bin\java.exe
  [INFO] Building jar: C:\Users\MATTHE~1\AppData\Local\Temp\cxf-tmp-819761540992222663\cxf-codegen12512113659748193013.jar
  [INFO] Error occurred during initialization of boot layer
  [INFO] java.lang.module.FindException: Module java.xml.ws not found
  </code></pre>
  
  <p>i tried to test with jdk 8 but it seems to only download a JRE from the oracle website</p>