ensure we use the appropriate maven compile target