Use maven plugin for POM creation/publishing