maven工程pom文件配置本地nexus

不需要在pom文件中配置,只需要在maven的conf文件中配置上镜像即可

<mirror>
      <id>nexus</id>
      <mirrorOf>central</mirrorOf>
      <name>internal nexus repository</name>
      <url>http://xxxx:8081/nexus/content/groups/public/</url> 
</mirror>
posted @ 2022-01-10 14:54  0o飞行天下o0  阅读(207)  评论(0编辑  收藏  举报