If I use project.properties to override either maven.xdoclet.ejbdoclet.destDir or maven.xdoclet.hibernatedoclet.destDir property, then currenly the maven plugin simply ignores the new setting when adding the source path to source set.
Attached is a patch to fix this.
Rgds,
Neeme
Index: mavenplugin.xdt =================================================================== RCS file: /cvsroot/xdoclet/xdoclet/modules/xdoclet/src/xdoclet/modules/maven/resources/mavenplugin.xdt,v retrieving revision 1.8 diff -r1.8 mavenplugin.xdt 148c148 < <path id="<XDtMavenplugin:elementName/>.java.compile.src.set" location="${maven.build.dir}/xdoclet/<XDtMavenplugin:elementName/>"/> --- > <path id="<XDtMavenplugin:elementName/>.java.compile.src.set" >location="${maven.xdoclet.<XDtMavenplugin:elementName/>.destDir}"/>