The XDoclet package version 1.2 contains also a plugin for Maven build system.
While being functional, it "features" a huge auto-generated plugin.jelly (about 1MB).
I found that _really_ odd, so I did some work to collapse its size using Jelly tags. The result is available here in source form, Maven-buildable.
Since I am interested at the moment only in Hibernate features of the plugin, I only replicated that, but I think it would be straightforward for a XDoclet guru to apply the generator machine that built the initial monster plugin.jelly into generating the new-style jelly using my tags. I hope the plugin.jelly you'll find inside the zip speaks for itself. Moreover I would be more than glad to offer any assistance I can in re-adding the full functionality using the taglib.