Konstantin Priblouda a écrit :




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.



Hi Konstantin


Thank you for your answer. I am afraid to say that my project.xml contains the right dependencies:

.......
   <dependency>
       <id>xdoclet+web-module</id>
       <version>1.2</version>
   </dependency>

   <dependency>
       <id>xdoclet+xdoclet-module</id>
       <version>1.2</version>
   </dependency>
........

However, I tried to see how theses dependencies are recorded and I was surprised to see that no dependency has been actually recorded. Did I see the right thing?

My maven.xml contains:
 <goal name="xdoclet-webdoclet">
   <echo>inside xdoclet-webdoclet</echo>
   <echo>${maven.dependency.classpath}</echo>
   <attainGoal name="xdoclet:webdoclet"/>
 </goal>

and "maven maven xdoclet-webdoclet" gives me
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

xdoclet-webdoclet:
   [echo] inside xdoclet-webdoclet
   [echo]

BUILD FAILED
File...... file:/home/frederic/.maven/plugins/maven-xdoclet-plugin-1.2/
Element... taskdef
Line...... 3223
Column.... 81
taskdef class xdoclet.modules.web.WebDocletTask cannot be found
Total time: 5 seconds
Finished at: Thu Mar 04 18:18:21 CET 2004

As you see no dependency has been recorded.

Where is the problem?

Regards

Frédéric





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

Reply via email to