Specifying a different path with the earSourceDirectory configuration is one way to do it.
As seen in the EAR plugin docs: http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html The default for this setting is: ${basedir}/src/main/application So you could also just copy your files to that directory. Wayne On 1/24/08, Jeff Mutonho <[EMAIL PROTECTED]> wrote: > On Jan 24, 2008 11:04 AM, Jeff Mutonho <[EMAIL PROTECTED]> wrote: > > > My ear project looks as shown below: > > > > [BankComponentApp directory ] > > | > > | > > +---META-INF > > | | > > | |__application.xml > > | |__ibm-application-bnd.xmi > > | |__MANIFEST.MF > > | | > > | > > +---ext > > |__blueprint-1.2.0.jar > > |__commons-configuration-1.2.jar > > > > > > When I package my ear using the maven-ear-plugin , the > > ibm-application-bnd.xmi file and the "ext" directory are being > excluded.I've > > added the > > <earSourceIncludes>META-INF/**.xmi</earSourceIncludes> > > > > configuration , but that does not seem to do it.What am I doing wrong? > > > > > > > It seems one also needs to add the <earSourceDirectory> > > After trying that , the following eventually gave the desired result. > > <earSourceDirectory>${basedir}</earSourceDirectory> > <earSourceIncludes>META-INF/*</earSourceIncludes> > > > > > > > > "Don't take the name of root in vain." > > Jeff Mutonho > Cape Town > South Africa > > GoogleTalk : ejbengine > Skype : ejbengine > Registered Linux user number 366042 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
