Include xdoclet-ejb-module in your POM dependency and
see if it work. I met similar problems using other
doclets as well as webdoclet. I found out the missing
dependency is the main cause.

Hope it helps.

Guo


 --- Ove Ranheim <[EMAIL PROTECTED]> 的正文:
> Hi there,
> 
> My goal is to use webdoclet to generate web.xml with
> the aid
> of Maven 1.0.2. I'm confused as it doesn't produce
> the deployment descriptor. Here is my setup:
> 
> project.properties;
> 
> maven.xdoclet.webdoclet.verbose=true
> maven.xdoclet.webdoclet.force=true
> maven.xdoclet.webdoclet.mergedir=src/conf/merge
> maven.xdoclet.webdoclet.destDir=${maven.build.dir}
> maven.xdoclet.webdoclet.fileset.0=true
> maven.xdoclet.webdoclet.fileset.0.include=**/*.java
> maven.xdoclet.webdoclet.jsptaglib.0=false
>
#maven.war.webxml=${maven.build.dir}/${pom.artifactId}/WEB-INF
> maven.xdoclet.webdoclet.deploymentdescriptor.0=true
>
maven.xdoclet.webdoclet.deploymentdescriptor.0.mergeDir=src/conf/merge
>
maven.xdoclet.webdoclet.deploymentdescriptor.0.destDir=${maven.build.dir}/${pom.artifactId}/META-INF
>
[EMAIL PROTECTED],@date,@version
>
maven.xdoclet.webdoclet.deploymentdescriptor.0.validateXML=false
>
maven.xdoclet.webdoclet.deploymentdescriptor.0.distributable=false
> 
> project.xml
> 
> <dependency>
>       <groupId>xdoclet</groupId>
>       <artifactId>maven-xdoclet-plugin</artifactId>
>       <version>1.2.1</version>
>       <type>plugin</type>
> </dependency>
> <dependency>
>       <groupId>xdoclet</groupId>
>       <artifactId>xdoclet</artifactId>
>       <version>1.2.2</version>
>       <type>jar</type>
> </dependency>
> <dependency>
>       <groupId>xdoclet</groupId>
>       <artifactId>xdoclet-xdoclet-module</artifactId>
>       <version>1.2.2</version>
> </dependency>
> <dependency>
>       <groupId>xdoclet</groupId>
>       <artifactId>xjavadoc</artifactId>
>       <version>1.0.3</version>
> </dependency>
> <dependency>
>       <groupId>xdoclet</groupId>
>       <artifactId>xdoclet-web-module</artifactId>
>       <version>1.2.2</version>
> </dependency>         
> <dependency>
>       <groupId>xdoclet</groupId>
>       <artifactId>xdoclet-apache-module</artifactId>
>       <version>1.2.2</version>
> </dependency>         
> 
> 
> maven.xml
> 
> <project default="multiproject:install"
>       xmlns:j="jelly:core"
>       xmlns:maven="jelly:maven"
>       xmlns:ant="jelly:ant"
>       xmlns:util="jelly:util"
>       xmlns:deploy="deploy">
> 
>    <preGoal name="war:webapp">
>       <attainGoal name="xdoclet:webdoclet"/>
>    </preGoal>
> 
> </project>
> 
> When I issue 'maven war:webapp', XDoclet is executed
> but
> no files are generated.
> 
> As I can't see what's wrong here, maybe some of you
> do!?
> 
> Regards,
> Ove
> 
> 
> 
> 
>
-------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT
> Products from real users.
> Discover which products truly live up to the hype.
> Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>  

_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to