Hi, I'm just starting to use the Maven plugin to build the EJBs.

I declared the xdoclet plugin as follows:

<dependency>
<groupId>xdoclet</groupId>
<artifactId>maven-xdoclet-plugin</artifactId>
<version>1.2</version>
<type>plugin</type>
<url>http://xdoclet.sourceforge.net/</url>
</dependency>

I've got also the following dependencies in my project:

<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet</artifactId>
<version>1.2</version>
<url>http://xdoclet.sourceforge.net/</url>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-ejb-module</artifactId>
<version>1.2</version>
<url>http://xdoclet.sourceforge.net/</url>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-jboss-module</artifactId>
<version>1.2</version>
<url>http://xdoclet.sourceforge.net/</url>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-jmx-module</artifactId>
<version>1.2</version>
<url>http://xdoclet.sourceforge.net/</url>
</dependency>

However, when I run

maven xdoclet:ejbdoclet I obtain the following exception:

BUILD FAILED
File...... file:/C:/Documents and
Settings/mtedone/.maven/plugins/maven-xdoclet-plugin-1.2/
Element... taskdef
Line...... 5746
Column.... 81
taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
Total time: 4 seconds
Finished at: Sun Mar 14 19:26:09 GMT 2004

Obviously the EjbDocletTask class is not in the classpath, although I
declared it as a dependency. How could I solve this problem?

Many thanks,

Marco



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

Reply via email to