IntelliJ IDEA - Maven home directory setting resets for new projects

Herter picture Herter · Dec 6, 2012 · Viewed 35.3k times · Source

I've just started using IntelliJ (I'm used to Eclipse) and I've come across something that really annoys me. Whether it's me or IntelliJ, I really want this fixed.

Every time I open a new project, the "Maven home directory" setting is reset and I therefore have to set this every time I open a project I haven't opened before.

Is there any way to set this setting permanently/globally?

Answer

CrazyCoder picture CrazyCoder · Dec 6, 2012

IntelliJ IDEA 2018.x or later:

Settings for new projects

Welcome screen

Older versions:

You can change it in the Template Project Settings so that all the new projects inherit this setting. You can access it from the File menu when the project is open or from the Welcome Screen: Configure | Template Project | Settings.