Hi, I finaly managed to resolve my problem. This behaviour comes from a bug in xdoclet see : http://mojo.codehaus.org/xdoclet-maven-plugin/usage.html
the bug report can be found here : http://opensource2.atlassian.com/projects/xdoclet/browse/XDT-1505 Yan. --- langlois yan <[EMAIL PROTECTED]> a écrit : > Hi, > > I am working on a small project which is composed of > 3 > module. Here is the parent project pom : > > <project> > <modelVersion>4.0.0</modelVersion> > ... > <modules> > <module>my-newEJB</module> > <module>my-ear</module> > <module>my-convertionEJB</module> > </modules> > ... > </project> > > As you can see the project is composed of 2 EJB and > 1 > ear. The ear module is only used to package the > application. > > I use xdoclet to generate my EJB interfaces. here is > the projet pom of my to ejb module : > <project> > <modelVersion>4.0.0</modelVersion> > ... > <parent> > <groupId>...</groupId> > <artifactId>...</artifactId> > <version>...</version> > </parent> > <dependencies> > <dependency> > <dependency> > <groupId>javax.ejb</groupId> > <artifactId>ejb</artifactId> > <version>2.0</version> > </dependency> > </dependencies> > <build> > <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="@version,@author" ejbspec="2.0"> > <fileset dir="src/main/java"> > <include name="**/*Bean.java" /> > </fileset> > > <remoteinterface /> > <homeinterface /> > <deploymentdescriptor > destdir="${project.build.directory}/classes/META-INF" > /> > <jboss version="4.0" xmlencoding="UTF-8" > destdir="${project.build.directory}/classes/META-INF" > validateXml="false" /> > </ejbdoclet> > </tasks> > > </configuration> > </execution> > </executions> > </plugin> > </build> > </project> > > when I compile each ejb module separatly everything > works fine. But when I compile the parents module > with > mvn install (in the root directory of the parent > pom). > The firt ejb is well created but the interfarce of > the > second ejb module are generated in the first module. > Have I done something wrong in my pom file ? How can > I > generate all interfaces in the target directory of > the > right child module ? > > Yan. > > > > > > > ___________________________________________________________________________ > > Nouveau : téléphonez moins cher avec Yahoo! > Messenger ! Découvez les tarifs exceptionnels pour > appeler la France et l'international. > Téléchargez sur http://fr.messenger.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ___________________________________________________________________________ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez sur http://fr.messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]