Fixed inheritance in maven mojos