Exception in thread "main" java.lang.ClassCastException: java.lang.AssertionError cannot be cast to java.lang.Exception at org.jvnet.jax_ws_commons.jaxws.Invoker.main(Invoker.java:87)
This was a known issue already, but not fixed by anyone yet. So I decided to fix it myself.
The fix was rather easy: not case the exception anymore and update the maven-plugin-plugin dependency.
Then in our project, besides using the custom build jaxws-maven-plugin, I also had to update the jaxws-rt dependency to the latest version (2.2.10-b140319.1121) because an older version caused a NPE in AbstractJaxwsMojo.isArgSupported(..). I tried to remove this dependency completely because the JDK also has contains javax.xml.ws packages, but the AbstractJaxwsMojo does not support that (yet).
Since the jaxws-maven-plugin is still in a Subversion repo, I created a new Git repo with my fix which is available at https://bitbucket.org/diversit/jaxws-maven-plugin.
Jaxws-common project home : https://jax-ws-commons.java.net/
Issue JAX_WS_COMMONS-129 : https://java.net/jira/browse/JAX_WS_COMMONS-129
Jaxwx-commons source code : https://java.net/projects/jax-ws-commons/sources/svn/show