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?
xml file is located under a META-INF directory under the parent directory for the application. The JAR, WAR, and client JAR files should be contained within this directory.
If you are using WebLogic as your application server, there are certain values in the weblogic. xml file, located in the /WEB-INF directory of the TeamConnect .
This plugin generates Java EE Enterprise Archive (EAR) file. It can also generate the deployment descriptor file (e.g. application. xml ).
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With