Hi David,

I think you have to declare the required XDoclet JAR files as dependencies in your project.xml file, e.g.

    <dependency>
      <groupId>xdoclet</groupId>
      <artifactId>xdoclet-ejb-module</artifactId>
      <version>1.2.1</version>
    </dependency>
    <dependency>
      <groupId>xdoclet</groupId>
      <artifactId>xdoclet-jboss-module</artifactId>
      <version>1.2.1</version>
    </dependency>
    <dependency>
      <groupId>xdoclet</groupId>
      <artifactId>xdoclet-web-module</artifactId>
      <version>1.2.1</version>
    </dependency>
    <dependency>
      <groupId>xdoclet</groupId>
      <artifactId>xdoclet-apache-module</artifactId>
      <version>1.2.1</version>
    </dependency>

Perhaps you need a few more.

Regards,

Leander

I'm having a devil of a time working with Maven & XDoclet for an existing project (internal) that uses both. I installed the latest Maven (v1.0) and I downloaded XDoclet v1.2.1. I put the xdoclet maven plugin file in my Maven plugins directory and I cleared my *.cache files underneath the cache folder.

So my first command to Maven was:
maven xdoclet:ejbdoclet

Some errors followed telling me, essentially, that ibiblio doesn't have xdoclet v1.2.1. So now what I did was take the xdoclet-*.jar files in the v1.2.1 distribution and put these into my repository. I also cleared those same cache files as earlier.

Now I get an error telling me this:
BUILD FAILED
File...... /Volumes/Macintosh HD/Users/dsmiley/.maven/cache/maven-xdoclet-plugin-1.2.1/plugin.jelly
Element... taskdef
Line...... 5871
Column.... 81
taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
Total time: 27 seconds
Finished at: Thu Sep 09 00:18:02 EDT 2004



Now I'm quite sure the class referenced is in: xdoclet-ejb-module-1.2.1.jar ("jar -tf"'ed the archive). Why can't Maven/Ant see it?


Thanks for any help.

~ David Smiley



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to