java jar 中的 SNAPSHOT 名称是什么意思?/ *snapshot*.jars 有什么问题?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3402806/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-30 01:40:43  来源:igfitidea点击:

What does the name SNAPSHOT in jar mean? / What's wrong with *snapshot*.jars?

javaconfigurationjarsnapshot

提问by d-man

I am using bitlyj snapshot jar to shorten URLs from the following link.

我正在使用 bitlyj 快照 jar 来缩短以下链接中的 URL。

http://code.google.com/p/bitlyj/downloads/list

http://code.google.com/p/bitlyj/downloads/list

Will somebody explain me the term snapshot.jar? Are snapshot.jar files unstable or is there anything wrong with these kind of jars? What does 'snapshot' generally mean?

有人会向我解释术语快照.jar 吗?快照.jar 文件是否不稳定或者这些 jar 有什么问题?“快照”通常是什么意思?

采纳答案by Hendrik Brummermann

Yes, those files are usually automatically created from the current development branch without any manual testing.

是的,这些文件通常是从当前开发分支自动创建的,无需任何手动测试。

回答by naikus

SNAPSHOT indicates latest code in trunk or head. On whether you should use snapshot, the answer is depends:

SNAPSHOT 表示躯干或头部的最新代码。关于是否应该使用快照,答案取决于:

  • Is there a fix for a bug in the snapshot release thats not available in the stable release?
  • Is there a new feature available in snapshot, but not available in stable version
  • 是否有针对稳定版本中不可用的快照版本中的错误的修复?
  • 快照中是否有新功能可用,但在稳定版本中不可用

You could make a call in these cases whether to use them or not.

在这些情况下,您可以拨打电话是否使用它们。

Here's an articlefor your reference. It tells you when you should use snapshots.

这里有一篇文章供您参考。它会告诉您何时应该使用快照。

We generally tend to use snapshots for maven plugins (some features are available in latest snapshots).

我们一般倾向于为 maven 插件使用快照(一些功能在最新的快照中可用)。