Hi,
Regarding the maven2 jaxb-2.x plugin, i think it is based on XJC AntTask.
Have you looked at the maven2 plugin for jaxb-1.x that is a clean
implementation?
Two of the benefits are:
1. Up-to-date check is easier to control.
2. Accurate control of logging infos.
Notice that the implementation provides for extending it by other
plugins (that's the reason for so many abstract methods), since it is
the base plugin for maven-hj2-plugin.
Older versions had simpler code.
The code can be checked-out from here:
https://maven-jaxb1-plugin.dev.java.net/
Regards,
Kostis