部署本地jar到maven私服仓库

settings.xml


    
    thirdparty  
    admin  
    admin  
  


  
      nexus  
        
          
            nexus  
            local private nexus  
            http://xxxx:8081/nexus/content/groups/public/  
            true  
            false  
          
          
            nexus-snapshots  
            local private nexus  
            http://xxxx:8081/nexus/content/groups/public-snapshots/  
            false  
            true  
          
        
        
          
            nexus  
            local private nexus  
            http://xxxx:8081/nexus/content/groups/public/  
            true  
            false  
          
          
            nexus-snapshots  
            local private nexus  
            http://xxxx:8081/nexus/content/groups/public-snapshots/  
            false  
            true  
          
         
     


    nexus
   

deploy

mvn deploy:deploy-file \
-DgroupId=com.xixicat \
-DartifactId=ojdbc14 \
-Dversion=10.2.0.4.0 \
-Dpackaging=jar \
-Dfile=/Users/xixicat/ojdbc14.jar \
-Durl=http://localhost:9090/nexus-2.2-01/content/repositories/thirdparty/ \
-DrepositoryId=thirdparty

你可能感兴趣的:(maven)