Maven 快照存储库与发布存储库 [英] Maven Snapshot Repository vs Release Repository
问题描述
快照存储库和发布存储库有什么区别?
What is the difference between a Snapshot Repository and Release Repository?
这是关于设置存储库(如 Artifactory、Nexus 等)
This is with reference to setting up Repositories (like Artifactory, Nexus etc)
推荐答案
发布工件
这些是特定的时间点版本.已发布的工件被认为是可靠的、稳定的和永久的,以保证依赖于它们的构建随着时间的推移是可重复的.发布的 JAR 工件与 PGP 签名相关联,校验和验证二进制软件工件的真实性和完整性.中央 Maven 存储库存储发布工件.
These are specific, point-in-time releases. Released artifacts are considered to be solid, stable, and perpetual in order to guarantee that builds which depend upon them are repeatable over time. Released JAR artifacts are associated with PGP signatures and checksums verify both the authenticity and integrity of the binary software artifact. The Central Maven repository stores release artifacts.
快照工件
快照捕获正在进行的工作并在开发过程中使用.快照工件同时具有版本号(例如1.3.0"或1.3")和时间戳.例如,commons-lang 1.3.0 的快照工件可能具有名称 commons-lang-1.3.0-20090314.182342-1.jar.
Snapshots capture a work in progress and are used during development. A Snapshot artifact has both a version number such as "1.3.0" or "1.3" and a timestamp. For example, a snapshot artifact for commons-lang 1.3.0 might have the name commons-lang-1.3.0-20090314.182342-1.jar.
取自 refcard
这篇关于Maven 快照存储库与发布存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!