This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Description
According to this one can simply declare a dependency to a XJC plugin and pass the xjcArg and that's it.
This is simply pointless and does not work. This plugin spawns a shell and passes all necessary stuff. The dependency is never used. One must add -B-classpah and PATH TO ALL JARS -B-Xinheritance.
It ends with this:
<xjcArg>-classpath</xjcArg>
<xjcArg>${settings.localRepository}/org/jvnet/jaxb2_commons/jaxb2-basics/0.6.5/jaxb2-basics-0.6.5.jar;${settings.localRepository}/org/jvnet/jaxb2_commons/jaxb2-basics-tools/0.6.5/jaxb2-basics-tools-0.6.5.jar;;${settings.localRepository}/org/jvnet/jaxb2_commons/jaxb2-basics-runtime/0.6.5/jaxb2-basics-runtime-0.6.5.jar;D:\mvn-repository\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;${settings.localRepository}/commons-lang/commons-lang/2.4/commons-lang-2.4.jar</xjcArg>
<xjcArg>-Xinheritance</xjcArg>
This works with -Xcommons-lang but not for plugins with a custom namespace in the bindings file. Though, this is a different (wsimport) issue.
Affected Versions
[2.3]