[BZ-1076193] emit a warning and continue execution when it is not possible to parse the pom file of the running project
(cherry picked from commit 37ae0a625fff91678dc8c4430eb8a6b398d5acaf)