Maven command to determine which settings.xml file Maven is using

前端 未结 6 1864
余生分开走
余生分开走 2020-11-30 16:54

How do I use maven command line to determine which settings.xml file Maven is picking up?

6条回答
  •  心在旅途
    2020-11-30 17:39

    Quick and dirty method to determine if Maven is using desired settings.xml would be invalidate its xml and run some safe maven command that requires settings.xml.

    If it reads this settings.xml then Maven reports an error: "Error reading settings.xml..."

提交回复
热议问题