Do the dependencies all have different <id>s? On 11/4/05, Joao Batistella <[EMAIL PROTECTED]> wrote: > Yes, I did. > > My EAR project depends on my EJB. That's why I don't understand this behaviour > > Thanks > > -----Original Message----- > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] > Sent: quinta-feira, 3 de novembro de 2005 18:43 > To: 'Maven Users List' > Subject: RE: Wrong processing order > > Did you define in your EAR project a dependency to your EJBs ? > The reactor will use it to know it should build the EJBs before the EAR. > > Arnaud > > > > -----Message d'origine----- > > De : Joao Batistella [mailto:[EMAIL PROTECTED] > > Envoyé : jeudi 3 novembre 2005 18:13 > > À : [email protected] > > Objet : Wrong processing order > > > > Hello. > > > > I'm trying to build my EAR with Maven but it builds my EAR > > before my EJBs. The processing order is wrong. > > > > Here is how my directory structure looks like: > > > > - root > > - maven.xml > > - project.xml (default configuration) > > - project.properties > > - server > > - maven.xml (it has a reactor with includes="*/project.xml") > > - project.xml (here I have my dependencies for the server > > side application. Extends ${basedir}/../project.xml) > > - ear > > maven.xml > > project.properties > > project.xml (EAR dependencies. Depends on mobileEJB and > > console-common. Extends ${basedir}/../project.xml) > > - console-common (this component is used by EJBs anda EAR) > > - maven.xml > > - project.xml (Extends ${basedir}/../project.xml) > > - project.properties > > - ejb (directory for my EJBs) > > - maven.xml (it has a reactor with includes="*/project.xml") > > - project.properties > > - project.xml (common dependencies for EJBs. Depends on > > console-common. Extends ${basedir}/../project.xml) > > - mobileEJB > > - maven.xml > > - project.xml (no dependencies. Extends > > ${basedir}/../project.xml) > > > > > > The order Maven uses is: > > common-console > > EAR > > mobileEJB > > > > I need the EJBs to be built before EAR. > > Is there something wrong? > > > > Thanks > > > > PS: I use Maven 1.0.2 > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- http://www.multitask.com.au/people/dion/ "You are going to let the fear of poverty govern your life and your reward will be that you will eat, but you will not live." - George Bernard Shaw --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
