Try to uncheck the Exclude build directory checkbox under Settings - Project Settings - Maven - Importing
.
Description from IDEA help:
Select this check box to exclude a build directory from the project. This might be useful, if you want to speed up the project’s importing process . If this check box is cleared, IntelliJ IDEA will index files in the build directory every time you import a project which might take additional time.