Why doesn't Maven "Settings" retain my local Maven install?

已回答

I am using IntelliJ 2023.1.2 Ultimate Edition on Windows 10 64 bit.  

I have a local Maven  installation in my (for example) C:\maven\maven-3.9.4 folder. 

I have set my Intellij settings at \Build, Execution, Deployment > Build Tools > Maven to use this installation.

Every time I open a new project, instead of using the local install, the new project starts out using the bundled Maven.

No matter how many times I check or uncheck the “Inherit from settings” box in my “Run/Debug Configurations” setup, Intellij always tries to use the bundled version when creating a new configuration or opening a project for the first time.

Am I missing something?     Are the global settings in \Build, Execution, Deployment > Build Tools > Maven reset at every project open?

 

 

0

Hello, Tom!

Those settings are per-Project and are not global.

You can adjust the default settings applied to new Projects via File → New Projects Setup → Settings for New Projects…

1

Thank you!   That was what I needed.   I'm not sure I ever even saw that menu item before.   Serves me right for not reading all the menu items.   

 

0

请先登录再写评论。