1. how to compile my project without jar A in my project's /WEB-INF/lib? Because I want to access it as a module managed by JBoss, putting A in /WEB-INF/lib seems to defeat the purpose.
For instance in Maven add that dependency with <scope>provided</scope>. Then it wont get included in the final war/jar.
2. Other than declaring "Dependencies:... " in manifest.mf, what else needs to be done?
If the module is there and is correct then thats all.
I used the jboss-deployment-structure.xml to access the `com.sun.xml.bind` module from a web application, the syntax is as follows:
For good measure, I also created a META-INF\MANIFEST.MF with the dependy of the module:
Created-By: Apache Maven
Mark P Ashworth
Did you find a solution to you issue??