How to define which library to use.
I have a problem with a CXF library cxf-api, which is defined in the pom.xml in my project, but also it's defined within the $JBOSS_HOME_FOLDER/modules/system/layers/base/.overlays/layer-base-jboss-eap-6.4.5.CP/org/apache/cxf/...
How can i determine if the application deployed in JBoss, should use a library defined in the pom.xml file (from the project made in Maven), or if should use the library that comes with the patch installed in the Jboss EAP. Looks like by default it uses the one configured in $JBOSS_HOME_FOLDER.