I am trying to generate tld files with xdoclet plugin , but I get tld
file only with name and version but without definitions.
I have got three java files with jsp tags.
Problem exists in maven 2.0, 2.0.1, 2.0.2
My pom.xml:
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xdoclet-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>xdoclet</goal>
</goals>
<configuration>
<tasks>
<mkdir
dir="${project.build.directory}/generated-resources/MATA-INF"/>
<webdoclet
destdir="${project.build.directory}/generated-resources/MATA-INF"
excludedtags="" verbose="true" force="true"
addedTags="">
<jsptaglib jspversion="1.1" taglibversion="1.2"
shortname="jsp-utils" filename="jsp-utils.tld" />
<fileset dir="${project.build.sourceDirectory}" >
<include name="**/*.java"/>
</fileset>
</webdoclet>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
Generated jsp-utils.tld file :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library
1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.2</tlibversion>
<jspversion>1.1</jspversion>
<shortname>jsp-utils</shortname>
</taglib>
Maven messages:
[DEBUG] Configuring mojo
'org.codehaus.mojo:xdoclet-maven-plugin:1.0-alpha-2:xdoclet' -->
[DEBUG] (f) classRealm = [EMAIL PROTECTED]
[DEBUG] (f) generatedSourcesDirectory =
/home/mist/workspace/web_utils/target/generated-sources/xdoclet
[DEBUG] (f) project = [EMAIL PROTECTED]
[DEBUG] (f) sourceDirectory = /home/mist/workspace/web_utils/src/main/java
[DEBUG] (f) tasks =
[DEBUG] -- end configuration --
[INFO] [xdoclet:xdoclet {execution: default}]
[INFO] Initializing DocletTasks!!!
[INFO] Executing tasks
[DEBUG] getProperty(ns=null, name=ant.reuse.loader, user=false)
[mkdir] Created dir:
/home/mist/workspace/web_utils/target/generated-resources/MATA-INF
2006-01-18 11:27:30 xdoclet.XDocletMain start
INFO: Running <jsptaglib/>
Generating jsp-utils.tld.
[INFO] Executed tasks
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Wed Jan 18 11:27:30 CET 2006
[INFO] Final Memory: 4M/8M
[INFO]
----------------------------------------------------------------------------
--
Michał Steiner
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]