Declare Metrics CDI as a library instead of an EAR module