OpenEJB/TomEE ApplicationComposer design is to describe a test application with an in memory model close to the xml EE one (Beans for beans.xml, EjbJar for ejb-jar.xml…).
But when it comes to CDI and since it was mainly designed for small apps it is hard to say “I have a CDI dependency/library”.
The more obvious use case is DeltaSpike!
To make it easier we added @Jars recently.