BZ-1021406 - Each time pom.xml is saved, 5-6 unnecessary commits are made

(cherry picked from commit 1baee5ff4b89601befeb8b7e3f4b781c1f7eec59)