You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Daniel Leong <Da...@nettec.net> on 2003/02/13 16:56:00 UTC

Help request: XDoclet plugin

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

Re: Help request: XDoclet plugin

Posted by Colin Sampaleanu <co...@exis.com>.
Please do a search in this mailing list for emails during the last month 
with xdoclet in the subject, as there's been some discussion on 
basically the same topic. Basically, I would recommend not even using 
the plugin at this point and using xdoclet directly via maven.xml...


Daniel Leong wrote:

>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
>
>  
>