I import a maven project in my intellij idea , and select auto download sources and documents.
After I imported, idea downloads the dependencies automatically.
But when I use mvn install
in idea's terminal, it downloads those dependencies again.
I have set the idea's maven to be the same with terminal's maven in File->Settings
, still haven't figured out what's going on.