I was using xdoclet:webdoclet goal by adding the
following dependency to my project.xml.

    <dependency>
      <groupId>xdoclet</groupId>
      <artifactId>xdoclet-web-module</artifactId>
      <version>1.2</version>
      <url>http://xdoclet.sf.net/</url>
    </dependency>

To avoid adding this dependency to each of my
projects, I tried to add this dependency in the
project.xml of xdoclet plug-in. It is not working - I
get the error 

taskdef class xdoclet.modules.web.WebDocletTask cannot
be found

But, printing the plugin dependency classpath before
the xdoclet:webdoclet goal by using a preGoal as shown
below prints xdoclet-web-module-1.2.jar with proper
path.

        <preGoal name="xdoclet:webdoclet">
            <echo message="***>> Dependency classpath =
${plugin.getDependencyClasspath()}"/>
        </preGoal>

Does that mean xdoclet-web-module-1.2.jar is in
plug-in's classpath and still the taskdef does not
find it ? Any clue(s) will be of great help.



                
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 

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

Reply via email to