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

Reply via email to