开发者社区 问答 正文

Hadoop在mirrors中添加alimaven的下载源的操作方法和步骤是什么?

Hadoop在mirrors中添加alimaven的下载源的操作方法和步骤是什么?

展开
收起
游客yzrzs5mf6j7yy 2021-12-06 08:45:20 319 分享 版权
1 条回答
写回答
取消 提交回答
  • 复制代码
    <mirrors>
        <!-- mirror
         | Specifies a repository mirror site to use instead of a given repository. The repository that
         | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
         | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
         |
        
            <mirror>
            <id>alimaven</id>
            <mirrorOf>central</mirrorOf>
             <name>aliyun maven</name>
            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
            </mirror>
            <mirror>
            <id>mirrorId</id>
            <mirrorOf>repositoryId</mirrorOf>
            <name>Human Readable Name for this Mirror.</name>
            <url>http://my.repository.com/repo/path</url>
            </mirror>
         -->
    </mirrors>
    
    2021-12-06 09:19:58
    赞同 展开评论