maandag 3 september 2007

maven: add resources to ear

When building ear for weblogic you'll probably want to add a custom weblogic-application.ear to the ear. This file should be in the META-INF directory of the ear next to the application.xml.

To get this done add some configuration to the maven-ear-plugin like this:

<!-- modules here -->

And make sure the folder you point to in this config contains a META-INF directory containing the weblogic-application.xml. No need to say you can add other resources to your this way. In fact this config will add everything in the EarContent directory, except for the excluded application.xml which will still be generated by maven.

Geen opmerkingen:

Een reactie posten