As @tieTYT noted, a Dependency popup window appears ( Ctrl + Alt + U , Ctrl + F ).
An idea can automatically detect changes made to your pom.xml and apply them to a project. To enable this, press Ctrl + Shift + A , enter "maven auto", select "Import", check the box "Import Maven project automatically";
source share