apologies if this is a duplicate

Hi,

I've been trying to use the maven plugin to generate ejb classes but I'm getting the following error.

taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found

http://maven.apache.org/faq.html#classloader-property
according to the maven docs, taskdefs should be defined as follows

<ant:taskdef name="ejbdoclet" classname="xdoclet.modules.ejb.EjbDocletTask">
<ant:classpath>
<ant:path refid="maven.dependency.classpath"/>
<ant:pathelement location="${plugin.getDependencyPath('xdoclet')}"/>
<ant:pathelement location="${plugin.getDependencyPath('xdoclet:xjavadoc')}"/>
<ant:pathelement location="${plugin.getDependencyPath('xdoclet:xdoclet-module')}"/>
<ant:pathelement location="${plugin.getDependencyPath('commons-collections')}"/>
<ant:pathelement location="${plugin.getDependencyPath('commons-logging')}"/>
<ant:pathelement location="${plugin.getDependencyPath('log4j')}"/>
</ant:classpath>
</ant:taskdef>


this fixed the problem

cheers
Nathan




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to