Did you declare the ant namespace?
If not, add xmlns:ant="jelly:ant" in your maven.xml's <project> element.
I'm not 100% sure that's helpful, but it should, afair.

HTH,

g

On 13/06/05, Craig McDaniel <[EMAIL PROTECTED]> wrote:
> 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
>

Reply via email to