hi all,
i have a multiproject where 2 of the subprojects have to run xdoclet plugin
in order to generate
local interfaces, ddescriptors etc..

for some weird reasons, the generate-sources goal works only on one of
them..

i have

myProject
   |____ EJB1
   |____ EJB2

both poms have generate-sources goal, but when i launch the pom from
myProject, it actually generates sources only for EJB1.  HTIS HAPPENS only
for generation of local/remove interaces, since deployment descriptors gets
successfully generated.
I tried various trial to see if it wa smy fault of incorrecting use xdoclet
tags etc, but if i place all EJBs in either EJB1 or EJB2, everything works
fine.
Having ejb in both directory though, as i said, results in local/remove
interraces being generated only in the first project being invoked

here' s my pom.xml (it is exactly the same for build phase of both projects

<plugins>
     <plugin>
       <groupId>org.codehaus.mojo</groupId>
       <artifactId>xdoclet-maven-plugin</artifactId>
       <executions>
         <execution>
           <phase>generate-sources</phase>
           <goals>
             <goal>xdoclet</goal>
           </goals>
           <configuration>
             <tasks>
               <ejbdoclet
           destDir="${project.build.directory}/generated-sources/xdoclet"
                   "
           excludedTags="@author,@version">
               <fileset
                   dir="src/main/java"
                   includes="**/*Bean.java" />
               <entitycmp />
               <homeinterface >
                       <!-- <packagesubstitution packages="session"
                         substituteWith="interfaces" useFirst="  true"/>
-->
               </homeinterface>
               <localinterface/>
               <localhomeinterface/>
               <remoteinterface/>
               <deploymentdescriptor
                       destDir="${project.build.directory}/META-INF"/>
                   <jboss version="3.2"
                       destDir="${project.build.directory}/META-INF"/>
                </ejbdoclet>
             </tasks>
           </configuration>
         </execution>
       </executions>
     </plugin>


anyone knows anything about that?

thanks and regards
marco

Reply via email to