Installing LT as JBoss 7 module

Currently we have LT jar packaged as part of each of our war files deployed to our wildfly/JBoss server.

This mean that we need to recompile everything every time we upgrade LT.

Anybody knows how to make a proper deployment as a module to the application server?

I tried creating a modules/…/languagetool/main/module.xml
I copied all languagetool jar we use as well as hunspell and segment jar.
Then updated our jboss-deployment-…XML

That did not work, seem to have issues or conflict starting the server.

Anyone can help me on this?

Thanks