Every time I download a new jboss I have to add the needed jdbc module manually. And every time I have to look how the module.xml has to look like. So I decided to write a simple script that creates a module for PostgreSQL. with some configuration, it should be capable of creating every jdbc module you want. Just see the options it supports.
You can see my project at github: https://github.com/mbogner/jboss_module_creator
Here some instructions how to run it with default options:
git clone https://github.com/mbogner/jboss_module_creator cd jboss_module_creator ./jboss_module_creator.pl