Modules: Is there an automated way to create module.xml files?

Latest response

Greetings, 

My company is using JBoss modules to deploy software and I need to create module.xml files for each of the dependencies we use so the software can work. What I was wondering is if there is some way to create these files automatically. While i have the Jar dependency tree, I dont have the package dependency tree and I have no easy way of going to get it. I would have to spelunk into each jar and determine that. Any suggestions for making my life easier? 

Thanks in advance. 

Responses