突破自我

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  3 随笔 :: 15 文章 :: 3 评论 :: 0 Trackbacks
  

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元素定义了开发库,特定的usernamepassword需要在此配置

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



******************************************
    追求超越,实现自我!

    欢迎大家光临!

posted on 2008-07-10 17:12 老七 阅读(1388) 评论(0)  编辑  收藏 所属分类: 开源框架

只有注册用户登录后才能发表评论。


网站导航: