Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Jfrog artifactory中有一个maven存储库,我已配置为该存储库维护两个最新版本,但存储库包含所有次要(旧)版本,即存储库中的两个以上版本。
以下是配置片段(图 1)和存储库中的版本数(图 2) 图 1:
图 2
谁能帮我解决这个问题!
您将其配置为具有两个 SNAPSHOT 版本。SNAPSHOT 版本的格式为3.0.21-SNAPSHOT. 每个新的 SNAPSHOT 版本都标有时间戳。
3.0.21-SNAPSHOT
显示的版本是发布版本。我不认为 Artifactory 可以自动删除发布版本,但您可能会编写一个插件或工作来做到这一点。