I thought there is some kind of standard approach, may be an Ant task or any yummy routine provided by JBoss Tools.
Am I the only one that build ear files for JBoss 7 with Ant?
And the most bitter aspect of my trouble is that all or almost all denpendencies are already shipped with JBoss. So, they are even there.