--- Frederic Gedin <[EMAIL PROTECTED]> wrote: > Hello > > > I tried to build a simple web application repository > using maven 1.0 rc1 > and xdoclet 1.2. > If I have a manually written web.xml file, > everything works fine. > > Now if I want to rely on xdoclet to generate my > web.xml, I have the > following error message: > > taskdef class xdoclet.modules.web.WebDocletTask > cannot be found > > So I tried to build the sample directory in the > xdoclet distribution but > I got a similar result: > > taskdef class xdoclet.modules.ejb.EjbDocletTask > cannot be found > > But if I build the sample directory in the xdoclet > distribution using > ant, everything works fine! > > > Apparently, maven is include to load the xdoclet > modules in its > classpath. Unfortunately, I did not find why. Even > looking at the > mailing list archive.
you need to specify proper dependecies in your project. xdoclet maven plugin lists only core modules - and webdoclet is optional. <dependency> <id>xdoclet+web-module</id> <version>1.2b3 ( or whatever version is yours ) </version> </dependency> shall save your day. regards, ===== ----[ Konstantin Pribluda ( ko5tik ) ]---------------- Zu Verstärkung meines Teams suche ich ab Sofort einen Softwareentwickler[In] für die Festanstellung. Arbeitsort: Mainz Skills: Programieren, Kentnisse in OpenSource-Bereich ----[ http://www.pribluda.de ]------------------------ __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user