Refactor POM to inherit from oparent