idea opens a new project, maven needs to be reconfigured, the solution
So there needs to be a default global configuration
File->Other Settings -> Default Settings
2019 new version
File->Other Settings -> Settings for New Projects
Change the Maven home directory directory to our custom installed Maven directory