I tried to use xdoclet plugin, but the class definition for xdoclet.modules.web.WebDocletTask cannot be found.
I have jars with Task definition classes in .maven\repository\xdoclet\jars: xdoclet-1.2.jar xdoclet-web-module-1.2b4.jar xdoclet-xdoclet-module-1.2.jar xdoclet-2.0-alpha-1-SNAPSHOT.jar
I have xdoclet plugin definition in \.maven\plugins\maven-xdoclet-plugin-1.2 and maven -g gives that there are xdoclet goals available that I need.
The exception I get is:
BUILD FAILED
com.werken.werkz.UnattainableGoalException: Unable to obtain goal [dmcsproject-dist] -- file:/C:/Documents and Settings/maciek/.maven/plugins/maven-xdoclet-plugin-1.2/:3223:81: <taskdef> taskdef class xdoclet.modules.web.WebDocletTask cannot be found
at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:387)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
...
File...... file:/C:/J2EE/eclipse-SDK-3.0M6-win32/workspace/MavenTest/
Element... maven:reactor
Line...... 12
Column.... 49
Unable to obtain goal [dmcsproject-dist] -- file:/C:/Documents and Settings/maci
ek/.maven/plugins/maven-xdoclet-plugin-1.2/:3223:81: <taskdef> taskdef class xdo
clet.modules.web.WebDocletTask cannot be found
Total time: 9 seconds
Finished at: Sun Jan 18 18:15:27 CET 2004
I checked the line 3223 in plugin.jelly as it is written in exception trace :
<taskdef name="webdoclet" classname="xdoclet.modules.web.WebDocletTask">
<classpath>
<path refid="maven.dependency.classpath"/>
<pathelement path="${plugin.getDependencyPath('xdoclet')}"/>
<pathelement path="${plugin.getDependencyPath('xdoclet+xjavadoc')}"/>
<pathelement path="${plugin.getDependencyPath('xdoclet+xdoclet-module')}"/>
<pathelement path="${plugin.getDependencyPath('commons-collections')}"/>
<pathelement path="${plugin.getDependencyPath('commons-logging')}"/>
<pathelement path="${plugin.getDependencyPath('log4j')}"/>
</classpath> </taskdef>
Could you help?
Regards
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
