The following comment has been added to this issue:

     Author: olivier rachon
    Created: Tue, 26 Apr 2005 2:28 AM
       Body:
Have added in the project.xml :
    <!-- XDoclet dependencies -->    
    <dependency>
      <groupId>xdoclet</groupId>
      <artifactId>xjavadoc</artifactId>
      <version>1.1</version>
    </dependency>
    
    <dependency>
      <groupId>xdoclet</groupId>
      <artifactId>xdoclet</artifactId>
      <version>${xdoclet.version}</version>
      <type>jar</type>
    </dependency>    

   <dependency>
      <groupId>xdoclet</groupId>
      <artifactId>xdoclet-ejb-module</artifactId>
      <version>${xdoclet.version}</version>
      <type>jar</type>
    </dependency> 
    
   <dependency>
      <groupId>xdoclet</groupId>
      <artifactId>xdoclet-jmx-module</artifactId>
      <version>${xdoclet.version}</version>
      <type>jar</type>
    </dependency> 
    
    <dependency>
      <groupId>xdoclet</groupId>
      <artifactId>maven-xdoclet-plugin</artifactId>
      <version>${xdoclet.version}</version>
      <type>plugin</type>
    </dependency>
    
    <dependency>
      <groupId>xdoclet</groupId>
      <artifactId>xdoclet-web-module</artifactId>
      <version>${xdoclet.version}</version>
      <type>jar</type>
    </dependency>  
  
   <dependency>
      <groupId>xdoclet</groupId>
      <artifactId>xdoclet-jboss-module</artifactId>
      <version>${xdoclet.version}</version>
      <type>jar</type>
    </dependency>       

Have added in the project.properties  :

maven.xdoclet.webdoclet.0=true
maven.xdoclet.webdoclet.0.destDir=${maven.build.dir}/xdoclet/webdoclet/WEB-INF
maven.xdoclet.webdoclet.0.mergeDir=src/merge
maven.xdoclet.webdoclet.deploymentdescriptor.0.destDir=${maven.build.dir}/xdoclet/webdoclet/WEB-INF
maven.xdoclet.webdoclet.deploymentdescriptor.0.mergeDir=src/merge

maven.xdoclet.webdoclet.jbosswebxml.0=true
maven.xdoclet.webdoclet.jbosswebxml.0.destDir=${maven.build.dir}/xdoclet/webdoclet/WEB-INF

xdoclet.version=1.2.3

Now the jboss-web.xml is generated when executing maven xdoclet:webdoclet. 

Would it be possible to add this in the CVS ? It's incomplete compared  to what 
ant webdoclet generates but if I find time, I'll try to update the 
project.properties ...
---------------------------------------------------------------------
View this comment:
  
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1361?page=comments#action_16452

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1361

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1361
    Summary: jboss-web.xml is not generated when using maven
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             JBoss Module
             Maven Plugin
   Versions:
             1.2.3

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: olivier rachon

    Created: Mon, 25 Apr 2005 4:10 PM
    Updated: Tue, 26 Apr 2005 2:28 AM
Environment: java.version=1.4.2_06; maven 1.0.2; head CVS for xdoclet


Description:
I checked out the latest source code from xdoclet CVS, built the libraries 
running "ant modules" from xdoclet directory and then "maven install:plugin" 
from xdoclet/maven to propagate. I removed all older xdoclets that might 
interfere. My current version is 1.2.3

I ran "ant webdoclet" from xdoclet/samples : jboss-web.xml is generated and 
contains elements from test.web.SimpleServlet

I ran "maven xdoclet:webdoclet" from xdoclet/samples : jboss-web.xml is not 
generated. It was expected that this file would be generated.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to