Fix POM dependencies incorrect scope issue

After this fix the crmp.ear file won't include unneccessary files
Revert "Remove OXM from Entity classes"

This reverts commit 6e856cf0b0a4e731e548eed495e39f893b87aab5.