Fixed maven and errors.