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

前端 未结 6 1854
余生分开走
余生分开走 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:38

    You can use the maven help plugin to tell you the contents of your user and global settings files.

    mvn help:effective-settings
    

    will ask maven to spit out the combined global and user settings.

提交回复
热议问题