zoukankan      html  css  js  c++  java
  • IDEA配置连接(自建Maven仓库)私服并打包上传

    maven的setting.xml文件配置

    在servers标签里配置

     <server>
            
            <id>privete_maven</id>
            <!--账号密码需要与私服登录账号密码一致-->
            <username>admin</username>
            <password>123456</password>
        </server>

    在项目的pom.xml文件增加 这里的ID要和上面的ID对应

     <distributionManagement>
            <repository>
                <id>privete_maven</id>
                <name>Nexus Release Repository</name>
                <url>http://192.168.1.2:8010/nexus/repository/maven-releases/</url>
            </repository>
        </distributionManagement>

     然后点击deploy

    -----------------------有任何问题可以在评论区评论,也可以私信我,我看到的话会进行回复,欢迎大家指教------------------------ (蓝奏云官网有些地址失效了,需要把请求地址lanzous改成lanzoux才可以)
  • 相关阅读:
    CSPS模拟 57
    CSPS模拟 56
    CSPS Oct目标
    CSPS模拟 55
    CSPS模拟 54
    CSPS模拟 53
    和manacher有关的乱写
    CSPS模拟 52
    CSPS模拟 51
    Git和代码规范
  • 原文地址:https://www.cnblogs.com/pxblog/p/14943245.html
Copyright © 2011-2022 走看看