[m2] Ear Plugin problem... Generating EAR from two WARs (subprojects)

2005-09-01 Thread eric . starr
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 -

Re: [m2] Ear Plugin problem... Generating EAR from two WARs (subprojects)

2005-09-01 Thread Kenney Westerhof
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 typewar/type - specify packagingear/packaging - use m2 install. That way the lifecycle assosiated with packaging ear kicks in and your

Re: [m2] Ear Plugin problem... Generating EAR from two WARs(subprojects)

2005-09-01 Thread eric . starr
Re: [m2] Ear Plugin problem... Generating EAR from two WARs(subprojects) In your root project (earbuilder) you need to specify: - two dependencies on the two war projects, with typewar/type - specify packagingear/packaging - use m2 install. That way the lifecycle assosiated with packaging

Re: [m2] Ear Plugin problem... Generating EAR from two WARs(subprojects)

2005-09-01 Thread eric . starr
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. project modelVersion4.0.0/modelVersion groupIdcom.myco.apps/groupId artifactIdearbuilderproj/artifactId packagingear/packaging

Re: [m2] Ear Plugin problem... Generating EAR from two WARs (subprojects)

2005-09-01 Thread Manuel G. Chacon
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

Re: [m2] Ear Plugin problem... Generating EAR from two WARs(subprojects)

2005-09-01 Thread Edward Yakop
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 |