paulwong

          Maven常用Settings.xml

          <?xml version="1.0" encoding="UTF-8"?> 
          <settings> 
              
          <servers> 
                  
          <server> 
                      
          <id>tomcat</id> 
                      
          <username>tomcat</username> 
                      
          <password>tomcat</password> 
                      
          <privateKey>${usr.home}/.ssh/id_dsa</privateKey>   
                      
          <passphrase>some_passphrase</passphrase>   
                      
          <filePermissions>664</filePermissions>   
                      
          <directoryPermissions>775</directoryPermissions>   
                      
          <configuration></configuration>   
                  
          </server> 
                  
          <server> 
                      
          <id>tomcat2</id> 
                      
          <username>tomcat2</username> 
                      
          <password>tomcat2</password> 
                  
          </server> 
              
          </servers> 
              
          <profiles> 
                  
          <profile> 
                   
          <id>default</id> 
                     
          <activation>   
                  
          <activeByDefault>false</activeByDefault>   
                  
          <jdk>1.6.0_24</jdk>   
                  
          <os>   
                    
          <name>windows 7</name>   
                    
          <family>windows</family>   
                    
          <arch>x86</arch>   
                    
          <version>6.1</version>   
                  
          </os>   
                  
          <property>   
                    
          <name>mavenVersion</name>   
                    
          <value>2.2.1</value>   
                  
          </property>   
                  
          <file>   
                    
          <exists>${basedir}/file2.properties</exists>   
                    
          <missing>${basedir}/file1.properties</missing>   
                  
          </file>   
                
          </activation> 
                      
          <repositories> 
                          
          <repository> 
                              
          <id>spring-maven-release</id> 
                              
          <name>Spring Maven Release Repository</name> 
                              
          <url>http://maven.springframework.org/release</url> 
                          
          </repository> 
                          
          <repository> 
                              
          <id>spring-maven-milestone</id> 
                              
          <name>Spring Maven Milestone Repository</name> 
                              
          <url>http://maven.springframework.org/milestone</url> 
                          
          </repository> 
                          
          <repository> 
                              
          <id>JBoss Repo</id> 
                              
          <url>https://repository.jboss.org/nexus/content/repositories/releases</url> 
                              
          <name>JBoss Repo</name> 
                          
          </repository> 
                          
          <repository> 
                              
          <snapshots> 
                                  
          <enabled>false</enabled> 
                              
          </snapshots> 
                              
          <id>jboss repo</id> 
                              
          <url>https://repository.jboss.org/nexus/content/groups/public/</url> 
                          
          </repository> 
                          
          <repository> 
                              
          <snapshots> 
                                  
          <enabled>true</enabled> 
                              
          </snapshots> 
                              
          <id>JBoss Repo shapshots</id> 
                              
          <url> https://repository.jboss.org/nexus/content/repositories/snapshots</url> 
                              
          <name>JBoss Repo</name> 
                          
          </repository> 
                          
          <repository> 
                
          <id>snapshots.jboss.org</id> 
                
          <name>JBoss Snapshot Repository</name> 
                
          <url>http://snapshots.jboss.org/maven2</url> 
                
          <releases> 
                  
          <enabled>false</enabled> 
                
          </releases> 
                
          <snapshots> 
                  
          <enabled>true</enabled> 
                
          </snapshots> 
              
          </repository> 
                          
          <repository> 
                              
          <snapshots> 
                                  
          <enabled>false</enabled> 
                              
          </snapshots> 
                              
          <id>Jolbox BoneCP</id> 
                              
          <url>http://jolbox.com/bonecp/downloads/maven</url> 
                          
          </repository> 
                      
          </repositories> 
                      
          <pluginRepositories/> 
                  
          </profile> 
              
          </profiles> 


          </settings> 

          posted on 2011-10-30 20:57 paulwong 閱讀(1702) 評論(0)  編輯  收藏 所屬分類: MAVEN

          主站蜘蛛池模板: 邹城市| 罗定市| 广汉市| 西昌市| 康平县| 蒙山县| 华亭县| 菏泽市| 衢州市| 蕲春县| 承德县| 霞浦县| 手游| 收藏| 兰州市| 合作市| 塔城市| 启东市| 泰来县| 古交市| 伊春市| 曲周县| 安塞县| 大新县| 宜黄县| 聂荣县| 淄博市| 滦南县| 万年县| 莎车县| 定陶县| 宁明县| 太原市| 天台县| 遵义县| 东乡| 正镶白旗| 马关县| 贵南县| 克拉玛依市| 教育|