A better goal is `mvn dependency:resolve` which does exactly this: download dependencies.