Hi,

I'd like to ask for a little help with the XDoclet plug-in please.

I've seen 2 references for how to set this up:

 * http://xdoclet.sourceforge.net/maven-plugin.html
 * http://jakarta.apache.org/turbine/maven/reference/plugins/xdoclet/

They're slightly different, and I can't get either to work.  I'm using
XDoclet 1.2b2, and trying to use Maven 0.7 or 0.8 beta.  (I like those
betas... )

Some problems I'm having:

1) What do I put in my maven.xml to the make XDoclet plug-in run before the
java:compile goal?

The line,

        <project
xmlns:maven="jelly:org.apache.maven.jelly.tags.project.MavenTagLibrary">

doesn't work for my new Maven 0.8, it gives the error,

        java.lang.ClassNotFoundException:
org.apache.maven.jelly.tags.project.MavenTagLibrary

2) What dependencies do I need in my project.xml?

The jakarta maven docs say version 1.2, and xdoclet help says 1.2b2.  I'm
assuming 1.2bs for now...

3) Despite getting the right jars in my local repository, I still get the
following error,

java:compile:
   [echo] Running ejbdoclet...

BUILD FAILED
null:4767:81: <taskdef> taskdef class xdoclet.modules.ejb.EjbDocletTask
cannot be found
Total time:  5 seconds


I really like both XDoclet and Maven, so purlease can somebody point me in
the right direction here?


Regards and thanks,


Dan Leong

Reply via email to