WFLY-1071: fail deployments with cmp beans