I went along and used Ant to convert my WSDL to code. For this, I downloaded jaxws-ri version 2.2.8 and came up with the following Ant script, which works. Now I can use the maven-antrun-plugin to call on the script.
<project>
<property name="jaxws.home" location="lib/jaxws-ri" />
<path id="jaxws.classpath">
<fileset dir="${jaxws.home}/lib" includes="jaxws-tools.jar" />
</path>
<taskdef classpathref="jaxws.classpath" name="wsimport" classname="com.sun.tools.ws.ant.WsImport" />
<wsimport keep="true" sourcedestdir="src/main/java" destdir="target/classes" extension="true" wsdl="src/main/java/test.wsdl">
<xjcarg value="-cp" />
<xjcarg file="lib/commons-logging-api-1.1.jar" />
<xjcarg value="-cp" />
<xjcarg file="lib/jaxb-xew-plugin-1.1.jar" />
<xjcarg value="-Xxew" />
<xjcarg value="-Xxew:instantiate lazy"/>
<xjcarg value="-Xxew:delete"/>
</wsimport>
</project>