Where do I put weblogic-application.xml
in my Maven 2 project so that Maven places it in META_INF
in the target EAR artifact?
views:
208answers:
1
+1
A:
The weblogic-application.xml
should be packaged in the META-INF
directory of your final EAR (next to the standard application.xml
).
With the Maven EAR Plugin, the default location for extra files to include in the EAR (that you can control with the earSourceDirectory
parameter) is src/main/application
. So the following would work (using the defaults):
myear |-- src | `-- main | `-- application | `-- META-INF | `-- weblogic-application.xml `-- pom.xml
Pascal Thivent
2010-08-31 20:04:35
Thank you! It worked!
Derek Mahar
2010-09-01 13:22:33