Maven快照存储库与发布存储库 [英] Maven Snapshot Repository vs Release Repository

查看:122
本文介绍了Maven快照存储库与发布存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

快照存储库和发布存储库之间有什么区别?

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签名相关联,并且校验和验证二进制软件工件的真实性和完整性. Central 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆