I have maven project. Maven build complete SUCCESS. But i can\'t make this project.
[INFO] BUILD SUCCESS
Project contains one module. Idea can\'t see dependencie
Do the following steps:
Option Maven -> Reimport
should force Intellij to reload all dependencies. Alternatively, as mentioned in comments you can click the Reimport All Maven Projects
button in Maven Projects
view.
Open the module dependencies (press F12 on the module), go to Modules -> Dependencies
and make sure maven imports are part of the of this.
I had faced the same problem, and the issue was small. I had changed the location of settings.xml file of maven and Intellij was picking up the default from C:\users\.m2\settings.xml
So point your maven settings.xml to the correct file as below: File--> Settings--> Build, Execution, Deployment--> Maven then on the right window, override "User settings file" to the settings.xml where you have in your local disk.
If you have installed maven in a non-default location then this file you can find in: \apache-maven-3.2.3\conf\settings.xml
In my case, I had my own apache-maven-3.5.2 folder and a misconfiguration created my problem. Maybe it's your case too:
In rush, I set the local repository to C:/my/folder/apache-maven-3.5.2/settings.xml, but it must be a folder so Maven didn't allow me to download the dependencies. Then I changed the default (in the picture) and it worked.
Right click on pom.xml
and click Add as Maven Project