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]