Even i set the exclusion of automatic dependencies in the jboss-deployment-structure.xml, jboss always loads their (jboss) module dependencies. Is there any other way to do it ? I want to use my own dependencies (libraries i.e. hibernate, spring) packed inside the war file.