【发布时间】:2015-06-12 09:06:18
【问题描述】:
我有两个依赖文件,在一个依赖项中,如下所示:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>3.0.7.RELEASE</version>
</dependency>
但是当 mvn install 从 Maven 存储库时,我得到两个文件 "spring-context-3.0.7.RELEASE.jar & spring-context-support-3.0.7.RELEASE " 同样的内容如何上传到 Atrifactory? 我使用的是 artifactory-3.8.0 版本。
【问题讨论】:
-
所以如果我理解正确,您的构建会生成 2 个文件,并且您想在 Artifactory 服务器中归档这两个文件?
-
是的,你是对的布鲁诺
-
您看过 Build Helper Maven 插件了吗? stackoverflow.com/questions/2789671/…
标签: maven artifactory