file—other settings—settings for new projects—输入maven—然后设置即可。