double-postconstruct build/install in this order: BeanManagerTest BeanManagerLib BeanManagerEar Then deploy the ear to TomEE