Github Maven 仓库配置

1、注册git账号

访问地址:https://github.com/

2、生成token令牌

填写令牌标记名称并勾选权限,然后点击最下方的Generate token 

打开本地的settings.xml文件,在<servers>...</servers>节点中添加:

       <server>
           <id>fit2cloud</id>
           <username>jassa-git</username>
           <password>0acfb566831c3d5af19ad5b6e0c2ff6ebc7492ab </password>
         </server>
         <server>
           <id>metersphere</id>
           <username>jassa-git</username>
           <password>0acfb566831c3d5af19ad5b6e0c2ff6ebc7492ab </password>
         </server>
原文地址:https://www.cnblogs.com/jassa/p/13360259.html