I've added a new dependency to my POM.
Is there a simple command I can run to download this dependency to my repository?
mvn install
(or mvn package
) will always work.
You can use mvn compile
to download compile time dependencies or mvn test
for compile time and test dependencies but I prefer something that always works.