[WFLY-3905] Only execute POJO processor on WAR deployments
Merge pull request #6761 from kylape/wfly-3905

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