zoukankan      html  css  js  c++  java
  • Maven上传第三方的Jar包到私服

    1 命令参数,里面的参数改成自己的坐标配置,以及本地第三方jar的本地路径

    mvn deploy:deploy-file -DgroupId=taglibs -DartifactId=taglibs-unstandard -Dversion=20060829 -Dpackaging=jar -Dfile=/Users/zhangjin/developSoftware/mavenRepository/taglibs/taglibs-unstandard/20060829/taglibs-unstandard-20060829.jar -Durl=http://new.nexus.XXXXX.cn/nexus/content/repositories/thirdparty/ -DrepositoryId=thirdparty
    

      

    2 Maven需要配置对应的有权限的 repositoryId 对应上传jar包的用户名和密码(.setting文件配置)

     <server>
            <id>thirdparty</id>
            <username>deploy</username>
            <password>deploy</password>
        </server>
    

      

  • 相关阅读:
    编辑器漏洞
    csrf漏洞
    sdram控制2
    简易sdram控制1
    8051核
    AD7928
    FIR滤波器的verilog实现方法
    fft_cepin
    fft_fft_control
    FFT_fifo
  • 原文地址:https://www.cnblogs.com/QuestionsZhang/p/12857632.html
Copyright © 2011-2022 走看看