在神器中上传jar
upload jar in artifactory
我是 artifactory 的新手,我需要在存储库中上传新版本的 jar,这是我遵循的步骤:
登录 artifactory--> 部署选项卡--> 选择文件--> 上传--> 我看到的目标存储库是
- plugins-releases-local
- libs-releases-local
- libs-snapshots-local
- plugins-snapshots-local
- ext-releases-local
- ext-snapshots-local
我在 2 号 (libs-releases-local) 上传了我的新 jar,
它表明它在虚拟存储库 repo 和 lib-releases 中,
但同一个 jar 的旧版本有虚拟存储库 repo、remote-repos、libs-releases、plugins-releases、libs-snapshots、plugins-snapshots
我不确定如何对新版本的 jar 执行同样的操作,
同样,当我按名称搜索 jar 时,旧版本出现在文件夹 repo1-cache 中,而新版本出现在 libs-releases-local
谁能帮我解决这个问题就太好了。
旧版本来自 repo1
。这就是它出现在 repo1-cache
、remote-repos
等
中的原因
您已将您的版本上传到本地存储库(顺便说一句,ext-release-local
似乎更适合这种工件),这就是为什么它只出现在虚拟存储库的子集上。
无论哪种方式,如果您想在构建中将此工件用作依赖项,您应该将构建工具配置为使用 libs-releases
,其中包含 libs-releases-local
和 repo1-cache
。
我是 artifactory 的新手,我需要在存储库中上传新版本的 jar,这是我遵循的步骤:
登录 artifactory--> 部署选项卡--> 选择文件--> 上传--> 我看到的目标存储库是
- plugins-releases-local
- libs-releases-local
- libs-snapshots-local
- plugins-snapshots-local
- ext-releases-local
- ext-snapshots-local
我在 2 号 (libs-releases-local) 上传了我的新 jar, 它表明它在虚拟存储库 repo 和 lib-releases 中, 但同一个 jar 的旧版本有虚拟存储库 repo、remote-repos、libs-releases、plugins-releases、libs-snapshots、plugins-snapshots
我不确定如何对新版本的 jar 执行同样的操作,
同样,当我按名称搜索 jar 时,旧版本出现在文件夹 repo1-cache 中,而新版本出现在 libs-releases-local
谁能帮我解决这个问题就太好了。
旧版本来自 repo1
。这就是它出现在 repo1-cache
、remote-repos
等
您已将您的版本上传到本地存储库(顺便说一句,ext-release-local
似乎更适合这种工件),这就是为什么它只出现在虚拟存储库的子集上。
无论哪种方式,如果您想在构建中将此工件用作依赖项,您应该将构建工具配置为使用 libs-releases
,其中包含 libs-releases-local
和 repo1-cache
。