After following the two minute introduction on the XDoclet2 website, I
still can not get the Hibernate XDoclet stuff to work. Maven complains
that it doesn't know about the <xdoclet> element below. Here is the
clip from my maven.xml:
<goal name="xdclt">
<taskdef name="xdoclet" classname="org.xdoclet.ant.XDocletTask"
classpathref="maven.dependency.classpath" />
<xdoclet>
<fileset dir="${pom.build.sourceDirectory}">
<include name="**/*.java"/>
</fileset>
<component classname="org.xdoclet.plugin.hibernate.HibernateMappingPlugin"
destdir="${maven.build.dir}/xdoclet/hibernatedoclet"/>
<!-- add more plugins here! -->
</xdoclet>
</goal>
Any clues?
--
Craig McDaniel