See http://wiki.codehaus.org/maven/CreatingEjbApplications for a decent use case for maven and xdoclet. I would recommend avoiding the xdoclet maven plugin and using good old ant scripts from maven.xml. As previously mentioned, the xdoclet maven plugin is bloated and cryptic to work with.
Ryan > -----Original Message----- > From: Kevin Hagel [mailto:[EMAIL PROTECTED] > Sent: Monday, March 15, 2004 1:36 PM > To: Maven Users List > Subject: Re: What does the XDoclet plugin expects? > > maven can often be considered an Ant wrapper, I've found it much easier > to embed "ant" script rather than "maven" script to deal with xdoclet. > xdoclet's plugin methods for assigning values is awkward and impenetrable. > Look in your repository for the expanded xdoclet plugins, look in the > plugin.properties file, you'll see the defaults being set. Then look in > the plugin.jelly for how they're being used. be careful, this file is > some 11,000 lines of code! > > Marco Tedone wrote: > > >Hi, I'm reading the documentation on the XDoclet website about the Maven > >plugin. However, I don't know what the "xdoclet:ejbdoclet" goal expects > in > >the maven.xml file. I've got a folder /src under which java, webapp, etc. > >are stored. When I point my cursor to /src and type "maven > >xdoclet:ejbdoclet" nothing happens. > > > >I had an Ant file with an ejbdoclet element defined in it. I specified > all > >the patterns in there, and it was working fine. I guess the xdoclet Maven > >plugin avoids us from specifying an ejbdoclet target in our maven.xml, > and > >the use of the properties should drive how the application applies the > >transformation patterns. > > > >Could anyone please initiate me on this? > > > >Thanks, > > > >Marco > > > > > > > >--------------------------------------------------------------------- > >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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]