@jnsereko whether Maven attempts to download again dependencies or not depends on a lot of things, including settings that may be picked up from .m2/settings.xml.
It makes sense that a clean install
will have to do more things than a mere install
, including attempting to download stuff that otherwise may already be lingering in the build folders (in /target typically.) But this is speculative since I don’t know what you’re doing exactly.
The only thing I can say for sure from the top of my head is that you can force Maven to always fetch dependencies by using -U
:
mvn -U clean install