Changing legacy maven properties

`Pom` property is deprecated, and `project` property is replacement. There are no problem yet to use `pom` property (only warns are printed in console), but may be in future versions of maven.