最新消息

maven settings.xml优先级

maven 金牌剑客 1095℃ 0评论

settings.xml优先级,以下优先级从高到底

  1. 运行maven命令时通过-s指定的路径,例如:-s /path/to/user/settings.xml
  2. 用户家目录下配置,路径为:~/.m2/settings.xml
  3. 全局配置,路径为:${M2_HOME}/conf/settings.xml

如果都存在,会合并配置,如果配置参数相同,优先级高的覆盖优先级低的。

转载请注明:QualInfo » maven settings.xml优先级

喜欢 (0)or分享 (0)
发表我的评论
取消评论
表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(5)个小伙伴在吐槽
  1. What'ѕ up to every single one, it's trսly a fastidious fߋr me to pay a quick visit this website, it contains valuable Informаtion.
    DRB2019-02-18 00:19 回复
  2. I think this is among the most vital information for me. And i'm glad reading your article. But should remark on some general things, The website style is ideal, the articles is really great : D. Good job, cheers
  3. Wonderful post but I was wondering if you could write a litte more on this topic? I'd be very thankful if you could elaborate a little bit more. Kudos!
    May2019-03-03 10:58 回复
  4. whoah this blog is great i love studying your posts. Stay up the great work! You know, lots of people are searching around for this info, you could help them greatly.
    QQPokerRaja2019-03-30 02:57 回复
  5. Fabulous, what a blog it is! This webpage provides useful facts to us, keep it up.
    totobet2019-05-29 14:21 回复