There are two parts to this:
1) Ensure all projects use (JBoss) BOMs where relevant to enable easy switching between versions of JBoss AS and EAP, GlassFish etc. By using BOMs, switching between versions of a platform (e.g. AS 7.0 to AS 7.1 or AS 7.1 to EAP 6) is made much easier, both for humans and for scripts, as only a few version numbers must be updated.
2) Provide a forge plugin(s) that allow the switching to be done e.g.