zoukankan      html  css  js  c++  java
  • Maven配置

    1.添加服务库登录名密码

    1  <server>
    2       <id>snapshots</id>
    3       <username>userName</username>
    4       <password>password</password>
    5  </server>

    2.上传远程仓库地址和属性配置 

     1 <profile>  
     2     <id>snapshots</id>  
     3     <repositories>  
     4       <repository>  
     5         <id>snapshots</id>  
     6         <url>http://192.168.3.21:81/nexus/content/repositories/snapshots</url>  
     7         <releases>  
     8           <enabled>true</enabled>  
     9         </releases>  
    10         <snapshots>  
    11           <enabled>true</enabled>  
    12         </snapshots>  
    13       </repository>  
    14     </repositories>  
    15   </profile>

    3.settings 内属性配置启动库build

    1    <activeProfiles>    
    2     <activeProfile>snapshots</activeProfile>
    3   </activeProfiles> 

    4.mvn 命令行上传命令

    C:Usersadmin>mvn deploy:deploy-file -DgroupId=iTouch.framework -DartifactId=data -Dversion=0.0.1-SNAPSHOT -Dpackaging=jar -Dfile=F:iTouch-data-1.2.01.jar -Durl
    =http://192.168.3.21:81/nexus/content/repositories/snapshots -DrepositoryId=s
    napshots
  • 相关阅读:
    shell编程
    git
    Flask-SQLAlchemy
    pipreqs
    命令行操作flask
    SQLAlchemy中scoped_session实现线程安全
    打印信息
    键盘事件
    安卓手机APP压力monkey测试
    手机APP功能测试经验分享2016.06.06
  • 原文地址:https://www.cnblogs.com/taony/p/5335934.html
Copyright © 2011-2022 走看看