Why maven settings.xml file is not there?

后端 未结 7 939
感动是毒
感动是毒 2020-12-13 08:49

I installed maven plugin for eclipse and was able to use it only in eclipse. I want to be able to run maven commands from terminal so installed maven as explained in the bel

7条回答
  •  渐次进展
    2020-12-13 09:04

    I also underwent the same issue as Maven doesn't create the settings.xml file under .m2 folder. What I did was the following and it works smoothly without any issues.

    Go to the location where you maven was unzipped.

    Direct to following path,

    \apache-maven-3.0.4\conf\ and copy the settings.xml file and paste it inside your .m2 folder.

    Now create a maven project.

提交回复
热议问题