Hi eric,
The way I solved this is by creating a pom porject that includes all
three modules and make ear to contain only the dependency. I.e.
[apps]
|-module-->[earBuilderProj]
| | |
| depend depend
|
Eric,
there is a property that you have to set in your build.properties in order
for maven to create the application.xml file for you.
http://maven.apache.org/reference/plugins/ear/properties.html
maven.ear.appxml.generate = true
Manuel
At 08:41 AM 9/1/2005, you wrote:
Having a problem unde
I had a copy/paste error in the last email... here is the pom.xml file
that i am using... I'm still having the issues as described in the
previous email.
4.0.0
com.myco.apps
earbuilderproj
ear
1.0
sub projects
proj2
proj1
1.0-SNAPSHOT
war
Does that look right?
Eric Starr
Kenney Westerhof <[EMAIL PROTECTED]>
09/01/2005 12:02 PM
Please respond to
"Maven Users List"
To
Maven Users List
cc
Subject
Re: [m2] Ear Plu
On Thu, 1 Sep 2005 [EMAIL PROTECTED] wrote:
Hi,
In your root project (earbuilder) you need to specify:
- two dependencies on the two war projects, with war
- specify ear
- use m2 install. That way the lifecycle assosiated with packaging ear
kicks in and your application.xml gets generated automa
Having a problem understanding the directory structure for the master
project which contains multiple subprojects.
I am trying to create an ear from two wars which are generated from two
subprojects.
earbuilderproj
- pom.xml (I want this to generate an EAR)
- proj1
- pom