title: Excluding Jars in Jboss-deployment-structure.xml from dependency ear
body: <p>this is my Jboss-Deployment-Structure.xml file:</p>
  
  <pre><code>&lt;jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2"&gt;  
  &lt;ear-subdeployments-isolated&gt;false&lt;/ear-subdeployments-isolated&gt;  
  &lt;deployment&gt;
  &lt;exclude-subsystems&gt;
  &lt;subsystem name="jaxrs" /&gt;
  &lt;/exclude-subsystems&gt;
  &lt;dependencies&gt;  
  &lt;!-- add our own modules --&gt;  
   &lt;module name="org.jboss.remoting3" /&gt; 
   &lt;module name="deployment.ARXSecurityAPIToolkit.ear" export="true" /&gt;
   &lt;module name="df.properties" /&gt;
  &lt;/dependencies&gt;
  &lt;exclusions&gt;  
   &lt;!-- Exclude org.jboss.remoting3, we added custom module  --&gt;   
  &lt;module name="org.jboss.remoting3" /&gt; 
  &lt;/exclusions&gt;
  &lt;/deployment&gt;
  &lt;/jboss-deployment-structure&gt; 
  </code></pre>
  
  <p>Dependency deployment.ARXSecurityAPIToolkit.ear has several jars inside of it.
  When creating a dependency, I want all jars in it except one(ARX.jar) to be a part of the dependency. How to exclude a particular jar(ARX.jar) from my ear in the dependency section.</p>