title: How to generate JBoss jboss-deployment-structure from maven dependencies
body: <p>We have project are built using maven. There are a lot of dependencies that is successfully resolved by good designed pom files.
  We need to generate sar module that we are planning to deploy on JBoss7AS. We have to describe all dependencies (including our modules) manually in file META-INF/jboss-deployment-structure.xml</p>
  
  <pre><code>&lt;jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0"&gt;
      &lt;deployment&gt;
          &lt;resources&gt;
              &lt;resource-root path="lib/activemq-camel-5.6.0.jar"/&gt;
              &lt;resource-root path="lib/activemq-core-5.6.0.jar"/&gt;
              &lt;resource-root path="lib/activemq-pool-5.6.0.jar"/&gt;
              &lt;resource-root path="lib/activemq-protobuf-1.1.jar"/&gt;
              &lt;resource-root path="lib/ant-1.6.5.jar"/&gt;
              &lt;resource-root path="lib/antlr-2.7.6.jar"/&gt;
  </code></pre>
  
  <p>And when we change version of any dependency in maven config we must change it manually in all our sar modules.
  Is there a way to generate such file automatically using maven capabilities
  Also maybe it's possible to avoid using this file at all? I'm noob in JBoss</p>