--- Frederic Gedin <[EMAIL PROTECTED]> wrote:Well, running "maven -X xdoclet-webdoclet" gives me:
file:/home/frederic/.maven/plugins/maven-xdoclet-plugin-1.2/
__ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT
xdoclet-webdoclet: [echo] inside xdoclet-webdoclet [echo]
BUILD FAILED File......
Element... taskdef Line...... 3223 Column.... 81 taskdef class xdoclet.modules.web.WebDocletTask cannot be found Total time: 5 seconds Finished at: Thu Mar 04 18:18:21 CET 2004
As you see no dependency has been recorded.
Where is the problem?
this is almost always due to missing dependency... not especially one from xdoclet.
maven -X coud tell you more information on what is
missing... ( a whole lot more... )
__ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT
[DEBUG] Adding reference: maven.dependency.classpath -> /home/frederic/.maven/repository/log4j/jars/log4j-1.2.8.jar:/home/frederic/.maven/repository/turbine/jars/turbine-2.3.jar:/home/frederic/.maven/repository/servletapi/jars/servletapi-2.3.jar:/home/frederic/.maven/repository/xdoclet/jars/xdoclet-web-module-1.2.jar:/home/frederic/.maven/repository/xdoclet/jars/xdoclet-xdoclet-module-1.2.jar
[available] [VERBOSE] Found: src/main/java
[available] [VERBOSE] Found: src/test/java
[DEBUG] Adding reference: maven-classpath ->
[DEBUG] Adding reference: maven.compile.src.set ->
[DEBUG] Adding reference: maven.test.compile.src.set ->
[DEBUG] Adding reference: maven.dependency.classpath ->
[DEBUG] Adding reference: maven-classpath ->
[DEBUG] Adding reference: maven.compile.src.set ->
[DEBUG] Adding reference: maven.test.compile.src.set ->
xdoclet-webdoclet:
[echo] inside xdoclet-webdoclet
[echo]
[DEBUG] Adding reference: maven.dependency.classpath -> /home/frederic/.maven/repository/commons-collections/jars/commons-collections-2.1.jar:/home/frederic/.maven/repository/commons-logging/jars/commons-logging-1.1-dev.jar:/home/frederic/.maven/repository/log4j/jars/log4j-1.2.6.jar:/home/frederic/.maven/repository/xdoclet/jars/xdoclet-1.2.jar:/home/frederic/.maven/repository/xdoclet/jars/xdoclet-xdoclet-module-1.2.jar:/home/frederic/.maven/repository/xjavadoc/jars/xjavadoc-1.0.2.jar
[DEBUG] Adding reference: maven-classpath ->
[DEBUG] Adding reference: maven.compile.src.set ->
[DEBUG] Adding reference: maven.test.compile.src.set ->
xdoclet:webdoclet:
[taskdef] [DEBUG] Finding class xdoclet.modules.web.WebDocletTask
[taskdef] [DEBUG] Finding class xdoclet.DocletTask
[taskdef] [DEBUG] Finding class xjavadoc.ant.XJavadocTask
BUILD FAILED
File...... file:/home/frederic/.maven/plugins/maven-xdoclet-plugin-1.2/
Element... taskdef
Line...... 3223
Column.... 81
taskdef class xdoclet.modules.web.WebDocletTask cannot be found
com.werken.werkz.UnattainableGoalException: Unable to obtain goal [xdoclet-webdoclet] -- file:/home/frederic/.maven/plugins/maven-xdoclet-plugin-1.2/:3223:81: <taskdef> taskdef class xdoclet.modules.web.WebDocletTask cannot be found
at com.werken.werkz.Goal.fire(Goal.java:646)
.......
What seems strange in this log is that:
- the first trace of maven.dependency.classpath shows that it refers to xdoclet-web-module-1.2.jar as stated in my dependencies,
- the second trace of maven.dependency.classpath does not show any reference to xdoclet-web-module-1.2.jar but still refers to xdoclet-xdoclet-module-1.2.jar
- the trace "[taskdef] [DEBUG] Finding class xdoclet.modules.web.WebDocletTask" seems to show that xdoclet.modules.web.WebDocletTask has been appropriately found.
- my echo of maven.dependency.classpath does not show anything.
Is maven.dependency.classpath recomputed for every goal? If yes, what are the criteria/commands used to recompute it?
regards
Fr�d�ric
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
