Fix maven errors.