XE-1378: Validate versions for POM dependencies
(cherry picked from commit a74c6594c1a7393ae9dc35384726a00168ed1061)