Reload maven project
Answered
Hi,
What maven command is Idea running when you choose reload project from contextual menu?
Thanks,
Tiberiu
Please sign in to leave a comment.
IDE launches the java process which is a wrapper around the Maven API to invoke the import. You can see the full command in the OS process list. Full command may look like this:
Could you clarify, why do you need this command? Thanks.
I was wondering why do I get these errors even after I reload the maven project. The dependencies Idea is complaining about can be found in Maven Central. So it should be straightforward to find them.

Can you build from the command line (`mvn clean install`) successfully?
Do you use VPNs?
If command line works, make sure you use the same Maven configuration for the command line Maven and IDE Maven
Settings (Preferences on macOS) | Build, Execution, Deployment | Build Tools | Maven | User settings file:
Settings (Preferences on macOS) | Build, Execution, Deployment | Build Tools | Maven | Local repository:
When I ran from the command line, I got a different issue which (initially) I thought cannot be related with the one described above. But after fixing that, everything looked ok in Idea as well.