last modified by zhoutianju , 2023-06-02 00:54:42

单独下载依赖

使用 maven-dependency-plugin get 子命令单独下载某个依赖

groupId=package.you.want
artifactId=artifact-you-want
version=1.2.3
transitive=false # 是否级联下载,默认 true
mvn dependency:get -Dartifact=${groupId}:${artifactId}:${version} -Dtransitive=${transitive}



Copyright © 2023 zhoutianju.
All rights reserved.

results matching ""

    No results matching ""