Fix bug of java_jar and gen_rule, optimize warning message of cpplint config