Move common plugin code to parent pom