[WFLY-3905] Only execute POJO processor on WAR deployments