I need to generate module.xml
file for JBoss7 for a maven project which has a lot of jar-dependencies. What is the easiest way to do it? The file looks like:
You could try smartics-jboss-modules-maven-plugin
It provides quite powerful dependency control:
With proper descriptor, generated module is ready to be copied 'as is' to JBoss 7.
Example jboss-modules/foo.bar.foo-module.xml:
foo.*
org.*
org.slf4j.slf4j-api
Also set excludeDependencyManagementDependenciesInPomProject to true in smartic plugin configuration to avoid including 50 MB of deps :)