muli

步骤:

第一步:找到安装私服的目录中plexus.properties文件。

    地址:C:\Windows\apache-tomcat-7.0.26\webapps\nexus-2.7.0-06\WEB-INF

第二步:修改properties文件

    nexus-work=${nexus-work}/sonatype-work/nexus  修改成 nexus-work=D:/maven/sonatype-work/nexus

  把${}换成本地的仓库目录。

第三步:把本地仓库中的jar包拷贝到私服central中

  D:\maven\sonatype-work\nexus\storage\central

在重新访问私服路径:http://localhost:8080/nexus-2.7.0-06/index.html

新建一个Maven项目,就可以直接从私服中引用jar包了

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-01-13
  • 2022-12-23
  • 2021-08-04
  • 2021-08-19
  • 2021-11-28
  • 2021-09-27
  • 2021-08-08
猜你喜欢
  • 2021-11-08
  • 2021-08-08
  • 2021-09-27
  • 2022-12-23
  • 2021-12-03
  • 2022-02-07
  • 2022-12-23
相关资源
相似解决方案