maven上传snapshot.jar到远程仓库


项目pom文件中配置

  ...................

     
         
            releases  
            Release Repository  
            http://....../content/repositories/releases/  
       
 
         
            snapshots   
            Snapshot Repository  
            http://......./content/repositories/snapshots/   
       
 
   




maven安装目录下的settings文件也需要更改


     
      releases  
      username  
      password  
   
 
     
      snapshots   
      username  
      password  
   

  
 



参考:http://zyl.iteye.com/blog/41612

你可能感兴趣的:(Java)