Good day,

If you're saying you have something like

target/<artifactName>-<version>/classes/ibm-application-bnd.xmi

Then I guess your resources are configured as follows

<project>
  ...
  <build>
    ...
    <resources>
      ...
      <resource>
        <directory>src/main/resources/META-INF/</directory>
      </resource>
    </resources>
  </build>
</project>

If so, remove it or use the default

<project>
  ...
  <build>
    ...
    <resources>
      ...
      <resource>
        <directory>src/main/resources/</directory>
      </resource>
    </resources>
  </build>
</project>

So that you will have something like

target/<artifactName>-<version>/classes/META-INF/ibm-application-bnd.xmi

But im just guessing here since I haven't tried that before with the ear
plugin :-)

Cheers,
Franz


Johan Eltes-3 wrote:
> 
> I need to build an ear that - in addition to the generated  
> application.xml - adds an existing vendor-specific deployment  
> descriptor to the META-INF directory of the ear.
> 
> I've tried the standard set-up:
> 
> <projectroot>/scr/main/resources/META-INF/ibm-application-bnd.xmi
> 
> When I invoke mvn install, the application.xml is generated and  
> copied to <ear>/META-INF/ while ibm-application-bnd.xmi isn't. When  
> looking into the target folder, I see the ibm-application-bnd.xmi has  
> been copied into target/<artifactName>-<version>/classes/, but never  
> made its way into the ear (or exploded ear). I see the same behavior  
> on windows and Mac OS.
> 
> Johan Eltes
> Callista Enterprise AB
> Mobil: +46 (0)708-22 41 86
> [EMAIL PROTECTED]
> http://www.callistaenterprise.se
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-2-ear-plugin-doesn%27t-pick-up-resources-tf3565230s177.html#a9964276
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to