Thank you Robert for your response (trying the nested <includes> element).
I believe that you meant to use a nested <include> element,  not the
<include*s*>, since the later does not exist.

Unfortunetly it didn't help.  I have also tried many variations
concerning the pattern and input directories.  My included 'pom.xml'
was just the most recent incarnation of it.


Is there some kind of debuging state for xdoclet, so that i can look
at the actual arguments of the nested ant tasks?
(mvn -X doe not help for that)

Does this version (xdoclet-1.0-SNAPSHOT-2) work ?


On 4/13/06, Allison, Bob <[EMAIL PROTECTED]> wrote:
> I am guessing that XDoclet isn't finding any source files to process.
>
> In your <fileset>, try <includes>**/*.java</includes> and see if that helps.  
> You may also want to use something like **/*Bean.java if you have non-EJB 
> classes in the project.
>
> -----Original Message-----
> From: Kostis Anagnostopoulos [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 13, 2006 14:09
> To: [email protected]
> Subject: [mojo-dev] Maven2 xdoclet plugin does nothing
>
>
> ---
> Bad titles are impolite, annoying and prevent proper searching.
> I apologize deeply for it is my rush that cause it.
>
> Reposting and hope for a better future to this mails :-).
> ---
>
>
> Hi to all,
>
> i desperately need help, since i have 2 days working on it and nothing yet.
>
> I want to use xdoclet with maven2 (2.0.2 and 2.0.4).
>
> Maven prints info messages when executing the sub-tasks but nothing
> else gets generated:
> .....
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Building SIOL EJB
> [INFO]    task-segment: [package]
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] [xdoclet:xdoclet {execution: default}]
> [INFO] Initializing DocletTasks!!!
> [INFO] Executing tasks
> 13 Απρ 2006 7:44:13 μμ xdoclet.XDocletMain start
> INFO: Running <homeinterface/>
> 13 Απρ 2006 7:44:14 μμ xdoclet.XDocletMain start
> INFO: Running <localinterface/>
> 13 Απρ 2006 7:44:14 μμ xdoclet.XDocletMain start
> INFO: Running <localhomeinterface/>
> 13 Απρ 2006 7:44:14 μμ xdoclet.XDocletMain start
> INFO: Running <remoteinterface/>
> 13 Απρ 2006 7:44:14 μμ xdoclet.XDocletMain start
> INFO: Running <deploymentdescriptor/>
> 13 Απρ 2006 7:44:15 μμ xdoclet.XDocletMain start
> INFO: Running <weblogic/>
> [INFO] Executed tasks
> .....
>
> This is my pom.xml (it is a multiple module project):
> <?xml version="1.0"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0";
>       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd";>
>       <parent>
>               <groupId>gr.forthnet.siol</groupId>
>               <artifactId>siol</artifactId>
>               <version>1.0</version>
>       </parent>
>       <modelVersion>4.0.0</modelVersion>
>
>       <groupId>gr.forthnet.siol</groupId>
>       <artifactId>siol_ejb</artifactId>
>       <packaging>ejb</packaging>
>       <name>SIOL EJB</name>
>       <version>1.0</version>
>
>       <build>
>               <defaultGoal>install</defaultGoal>
>
>               <plugins>
>                       <plugin>
>                               <groupId>org.apache.maven.plugins</groupId>
>                               <artifactId>maven-compiler-plugin</artifactId>
>                               <configuration>
>                                       <source>1.4</source>
>                                       <target>1.4</target>
>                               </configuration>
>                       </plugin>
>                       <plugin>
>                               <groupId>org.apache.maven.plugins</groupId>
>                               <artifactId>maven-ejb-plugin</artifactId>
>                               <configuration>
>                                       <generateClient>true</generateClient>
>                               </configuration>
>                       </plugin>
>                       <plugin>
>                               <artifactId>xdoclet-maven-plugin</artifactId>
>                               <groupId>org.codehaus.mojo</groupId>
>                               <executions>
>                                       <execution>
>                                               <phase>generate-sources</phase>
>                                               <goals>
>                                                       <goal>xdoclet</goal>
>                                               </goals>
>                                               <configuration>
>                                                       <tasks>
>                                                               <ejbdoclet
>
> destdir="${project.build.directory}/src-ejb-gen"
>
> verbose="true"
>
> excludedTags="@author,@version">
>
>                                                                       <fileset
>
> dir="${project.build.sourceDirectory}"
>
> includes="*.*" />
>
>
> <homeinterface >
>
>  <packagesubstitution packages="session"
> substituteWith="interfaces" useFirst="  true"/>
>
> </homeinterface>
>
> <localinterface
>
> mergeDir="${project.build.directory}/merge-dir" />
>
> <localhomeinterface
>
> mergeDir="${project.build.directory}/merge-dir" />
>
> <remoteinterface
>
> mergeDir="${project.build.directory}/merge-dir" />
>
> <deploymentdescriptor
>
> destdir="${project.build.outputDirectory}/META-INF"
>                                                                       />
>                                                               </ejbdoclet>
>
>                                                       </tasks>
>                                               </configuration>
>                                       </execution>
>                               </executions>
>                       </plugin>
>               </plugins>
>
>       </build>
>
>       <dependencies>
> ...nothing of interest here.
>       </dependencies>
>
> </project>
>
>
> What am i doing wrong ???
>
> Thank you very much in advance.
>
>    Kostis Anagnostopoulos
>

Reply via email to