Pl. allowing me explain the issue in detailed:
javax.transaction-api.jar imports javax.enterprise.context package, so it depends on cdi api 1.1. On minimizing GlassFish domain starting, javax.transaction-api.jar is necessary.
Well, because cdi api 1.1 is wrapped into weld-osgi-bundle.jar, we must include weld-osgi-bundle.jar even though it also wraps
cdi 1.1 implementation while minimizing GlassFish domain starting. So, from this point, we should separate cdi api from implementations.
On the other hand, I looked into the newest wildfly-8.0.0.Beta1, on its modules splitting, about CDI, it has the following modules,
Its aim is only for cdi api 1.1
Its aim is for weld api, this is related to implementation.
Its aim is for weld implementation, this is related to implementation.
Its aim is for weld spi implementation, this is related to implementation.
Based on the above analyse, I think that current weld-osgi-bundle.jar is not good for modulation principle.