Maven2安装目录下面,在conf目录下面有settings.xml文件,这是Maven2的配置文件,所有配置都可以按默认值处理,不过要想对Maven2做一些修改,就需要修改此文件,该文件主要配置信息如下:
    
        
            | 
             Element 
             | 
            
             Description 
             | 
        
        
            | 
             localRepository 
             | 
            
             本地仓库配置,默认在${user.dir}/.m2/repository 
             | 
        
        
            | 
             interactiveMode 
             | 
            
             交互模式配置 
             | 
        
        
            | 
             usePluginRegistry 
             | 
            
             是否使用 plugin-registry.xml 管理Plugin版本 
             | 
        
        
            | 
             offline 
             | 
            
             编译时是否查找远程中心库,true表示不查找,默认false 
             | 
        
        
            | 
             proxies 
             | 
            
             代理服务器配置 
             | 
        
        
            | 
             servers 
             | 
            
             在pom.xml中的distributionManagement元素定义了开发库,特定的username和password需要在此配置 
             | 
        
        
            | 
             mirrors 
             | 
            
             镜像下载地址配置 
             | 
        
        
            | 
             profiles 
             | 
            
             编译个性配置 
             | 
        
        
            | 
             activeProfiles 
             | 
            
             激活的profile  
             | 
        
        
            | 
             pluginGroups 
             | 
            
             List of groupIds to search for a plugin when that plugin groupId is not explicitly provided.  
             | 
        
    
Ø         localRepository
Ø         interactiveMode
Ø         usePluginRegistry
Ø         offline
Ø         proxies
Ø         servers
Ø         mirrors
Ø         profiles
Ø         activeProfiles
Ø         luginGroups
******************************************
    追求超越,实现自我!
    欢迎大家光临!