Strongly recommend against using the xdoclet maven plugin - it involves looking through the plugin.jelly source to determine the case of the initial letter for properties, a non-intuitive indexation for different subtasks, and in the end just does what's needed for the ant task.

Using the ant task in maven.xml is much, much simpler. Just run the xdoclet task into a temporary directory, and add that directory to your source path (sorry, can't remember off the top of my head how to do this, but you could always look in the maven xdoclet plugin.jelly... :-) ).


Matt


Melvin Dave P. Vivas,MCOM/3795 wrote:

Hi to all,

I'm new to maven. I would like to know how to use xdoclet with Maven.

Using ant, I had to use the xdoclet custom tasks.  How do I use xdoclet
by just editing project.xml?  I tried using maven.xml to generate the
MBeans but it's not quite nice because it's just like the ant way of
building the project...not really maven like :-)

I checked the xdoclet site but there's just one page of reference.  It
would be great if someone could point me to some code samples.

Cheers,

Melvin


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to