The custom implementation https://github.com/cdi-spec/cdi-tck/blob/master/impl/src/main/java/org/jboss/cdi/tck/shrinkwrap/descriptors/Beans11DescriptorImpl.java is still used. This could be replaced by Shrinkwrap Bean descriptor.