Hello,
I have written a JAXB plugin that allow to embed a Jelly script in an
*.xsd file.
Jelly is a scripting engine used by maven for exemple. With it, you can
generate dynamically source code.
At the moment my plugin is only a proof of concept and is far from being
fully tested but It can alredy do more than the code injector plugin.
If somebody is interested, I am ready to put it on jaxb2-commons.
Benoit Callebaut