[WFLY-1702] Investigate module wiring consistency at build time