2) By the WebAppBeanArchiveScanner itself when looking for the /WEB-INF/classes/META-INF/beans.xml. See here.
Carlos Aristu Tassilo karge So you're basically mapping /WEB-INF/classes to the build/classes directory?