Sounds like a good idea if it works. However there's still a problem: we need 2 versions: one for J2EE 1.2 and one for J2EE 1.3 (and soon another one for J2EE 1.4). Is there one in JBoss for J2EE 1.2?
in addition we'll need to derive these jboss-j2ee versions from $
. For example we need to transform "1.3" into "3.2.3". That'll require some scripting in maven.xml. Not nice. However this can solved by splitting the framework/ maven projects into 3 projects: shared/, j2ee12/ and j2ee13/.