Loading web app jars in order using maven - same as websphereclassloaderMode=“PARENT_LAST” in websphere

StackOverflow https://stackoverflow.com//questions/9582768

質問

I'm deploying to websphere using the maven plugin http://maven.apache.org/plugins/maven-ear-plugin/usage.html. I need to set the ordering of when the project jars are loaded, so that the project jars are loaded for a given application prior to websphere common jars. For websphere the config used is websphereclassloaderMode="PARENT_LAST" within "deployment.xml". Can I configure this property using maven ?

役に立ちましたか?

解決

There is no existing plugin that automatically configures this particular WAS property or file, but you can simply create the deployment.xml file containing this property within the EAR source directory (by default, src/main/application). For example: src/main/application/META-INF/ibmconfig/cells/defaultCell/applications/defaultApp/deployments/defaultApp/deployment.xml.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top