maven fix poms inheritance