需在maven的配置文件新增私服地址
<mirror>
<id>nexus-pentaho</id>
<mirrorOf>central</mirrorOf>
<name>Nexus pentaho</name>
<url>https://nexus.pentaho.org/content/repositories/omni/</url>
</mirror>
本文介绍如何在Maven配置文件中添加私服Nexus的地址,以实现对中央仓库的镜像,具体步骤包括添加mirror节点,设置id、mirrorOf、name及url属性。
需在maven的配置文件新增私服地址
<mirror>
<id>nexus-pentaho</id>
<mirrorOf>central</mirrorOf>
<name>Nexus pentaho</name>
<url>https://nexus.pentaho.org/content/repositories/omni/</url>
</mirror>

被折叠的 条评论
为什么被折叠?