Implements the part of publishing procedure related to pom.