zoukankan      html  css  js  c++  java
  • maven项目如何从私服nexus中下载依赖包

    maven项目如何从私服nexus中下载依赖包

     

    解决方法:

    1.打开maven的config目录中settings.xml文件

    2.在<profile></profiles>之间添加以下代码:

       <profile>

               <id>central</id>

               <repositories>

                   <repository>

                       <id>central</id>

                       <url>http://gisserver2:9081/nexus/content/groups/public/</url>

                       <releases>

                           <enabled>true</enabled>

                       </releases>

                       <snapshots>

                           <enabled>true</enabled>

                       </snapshots>

                   </repository>

               </repositories>

        </profile>

    3.在<profile></profiles>后面添加以下代码(使配置文件始终处于活动状态):  

      <activeProfiles>

           <activeProfile>central</activeProfile>

       </activeProfiles>

  • 相关阅读:
    新浪微博爬虫项目
    time
    黑客增长
    python2 3 区别
    爬虫高性能相关
    登录_爬取并筛选拉钩网职位信息_自动提交简历
    破解极验验证码
    tesseract-ocr 传统验证码识别
    刻意练习
    计算学员的考试总成绩以及平均成绩
  • 原文地址:https://www.cnblogs.com/chinaifae/p/10189405.html
Copyright © 2011-2022 走看看