• notice
  • Congratulations on the launch of the Sought Tech site

How to solve idea maven often home directory automatically change back to default

In this article, I will introduce in detail how to solve the problem of "idea maven's frequent home directory automatically changes back to the default". The content is detailed, the steps are clear, and the details are handled properly. I hope this article "How to solve the idea maven's frequent home directory automatically changes back to the default" article can help Let’s solve your doubts, follow the ideas of the editor to slowly deepen, and let’s learn new knowledge together.

In the upper right corner of IDEA
, File -> Settings -> Build, Execution, Deployment -> Build Tools -> Maven,
we can see our own Maven configuration information

idea maven often home directory automatically changes back to default how to solve

If you do not configure Maven yourself, modify the C:\Users\lx\AppData\Roaming\JetBrains\IntelliJIdea2020.1\options\project.default.xml file and add the following content

< component name = "MavenImportPreferences" >
     < option name = "generalSettings" >
       <MavenGeneralSettings>
         < option name = "localRepository" value = "D:\Javaweb\apache-maven-3.6.3-bin\apache-maven-3.6.3\repository" />
         < option name = "mavenHome" value = "D:\Javaweb\apache-maven-3.6.3-bin\apache-maven-3.6.3" />
         < option name = "userSettingsFile" value = "D:\Javaweb\apache-maven-3.6.3-bin\apache-maven-3.6.3\conf\settings.xml" />
       </MavenGeneralSettings>
     </option>
   </component>

idea maven often home directory automatically changes back to default how to solve

After reading this, the article "How to solve the problem that the main directory of idea maven often automatically changes back to the default" has been introduced. If you want to master the knowledge points of this article, you need to use it yourself to understand it.


Tags

Technical otaku

Sought technology together

Related Topic

0 Comments

Leave a Reply

+