maven 私服的setting.xml配置


 2 
 5 
 6   
 7   
 8 
 9   
10       
11       nexus-releases
12       admin
13       admin123
14     
15     
16       nexus-snapshots
17       admin
18       admin123
19     
20   
21 
22    
23      
24       nexus-releases 
25       * 
26       http://localhost:8081/nexus/content/groups/public 
27     
28      
29       nexus-snapshots 
30       * 
31       http://localhost:8081/nexus/content/groups/public-snapshots 
32      
33    
34  
35   
36    
37       nexus
38       
39         
40           nexus-releases
41           http://nexus-releases
42           true
43           true
44         
45         
46           nexus-snapshots
47           http://nexus-snapshots
48           true
49           true
50         
51       
52       
53          
54                 nexus-releases
55                  http://nexus-releases
56                  true
57                  true
58                
59                
60                  nexus-snapshots
61                   http://nexus-snapshots
62                 true
63                  true
64              
65          
66     
67   
68 
69   
70       nexus
71   
72  
73 
复制代码

maven 项目 的pom.xml配置

复制代码
 1 
 2         
 3         
 4             nexus-releases
 5             Nexus Release Repository
 6             http://localhost:8081/nexus/content/repositories/releases
 7         
 8         
 9             nexus-snapshots
10             Nexus Snapshot Repository
11             http://localhost:8081/nexus/content/repositories/snapshots
12         
13     

转载于:https://www.cnblogs.com/zhuyeshen/p/11428903.html

你可能感兴趣的:(maven 私服的setting.xml配置)