The initial idea was that "ejb3" would assemble all EJB3 components together, then "as-int" would combine what was needed in some particular target AS integration environment. As it stands these are not quite aligned.
If we were to really do it this way, there's be separate integration targets like "as-int-as5" and "as-int-as6", etc.
But thinking more on it, seems this integration is much better suited to be done in the integrataion layer itself: AS.
So I think it's fine to merge everything together into one ("ejb3"), probably kill "as-int", then tack anything else a particular AS target needs into the AS build. ie. you've got the right idea with 3).
For AS 6 we should beef up the ejb3 module in AS itself as the integration module.
as-int will be left behind as an deprecated artifact. Consumers should be refactored off it and consume ejb3 directly.
Originally jboss-ejb3 was meant to define the EJB 3.0 profile for Profile Service. I don't see that happening any time soon, so create an jboss-ejb3_1 for the EJB 3.1 definition in similar vain.
For the profile3_1 (EJBTHREE-1711) we would need a bit more clarity from the ProfileService
Now that we are retiring "as-int", i have made some minor changes in our JIRA version naming to bring in a bit more clarity. A new version "EJB3_1 1.0.0" has been created. This corresponds to the "ejb3_1" component version. The earlier 1.1.23 (which really was the version of as-int) has been renamed to "as-int 1.1.23". Any new JIRAs that get fixed through EJB3_1 component will be using the "EJB3_1 x.x.x" naming series.
I'll be releasing 1.0.0 version of the ejb3_1 component in the next few minutes. This 1.0.0 version ejb3_1 is essentially equivalent to the 1.1.22 version of as-int which has been integrated with the AS. The sole intention of this version is to make the necessary changes in AS to move away from as-int and instead starting relying on this component for EJB3. Local testsuite run with the necessary changes in AS to bring in ejb3_1 have shown no regressions. This is being tracked here https://jira.jboss.org/jira/browse/JBAS-7531. Once this is done, we can start adding EJB3.1 specific component in "ejb3_1".