title: How is possible to exclude all automatic dependencies from being added in JBoss 7?
body: <p>I want to exclude all automatic dependencies in JBoss 7.
  Was not able to find the answer here:
  <a href="https://docs.jboss.org/author/display/AS7/Class+Loading+in+AS7" rel="nofollow">https://docs.jboss.org/author/display/AS7/Class+Loading+in+AS7</a></p>
  
  <p><em>Added</em></p>
  
  <p>Automatic (implicit) dependencies are described here:</p>
  
  <p><a href="https://docs.jboss.org/author/display/AS7/Implicit+module+dependencies+for+deployments" rel="nofollow">https://docs.jboss.org/author/display/AS7/Implicit+module+dependencies+for+deployments</a></p>
  
  <p>Now I need to do it explicitly. See below.</p>
  
  <pre><code>&lt;jboss-deployment-structure&gt;
      &lt;deployment&gt;
          &lt;dependencies&gt;
              &lt;module name="org.jboss.as.jmx"/&gt;
          &lt;/dependencies&gt;
  
          &lt;exclusions&gt;
              &lt;module name="javaee.api" /&gt;
              &lt;module name="javax.xml.bind.api" /&gt;
              &lt;module name="javax.persistence.api" /&gt;
              ...
          &lt;/exclusions&gt;
      &lt;/deployment&gt;
  &lt;/jboss-deployment-structure&gt;
  </code></pre>
  
  <p>Question if I can do it using simple configuration like:</p>
  
  <pre><code>&lt;jboss-deployment-structure&gt;
      &lt;deployment&gt;
          &lt;dependencies&gt;
              &lt;module name="org.jboss.as.jmx"/&gt;
          &lt;/dependencies&gt;
  
          &lt;exclusions&gt;
              &lt;subsystem name="implicit" /&gt;
          &lt;/exclusions&gt;
      &lt;/deployment&gt;
  &lt;/jboss-deployment-structure&gt;
  </code></pre>