[英]Sonatype Nexus: Unexpected value of <latest> tag in “maven-metadata.xml”
I'm using Sonatype Nexus v2.3.1-01 and I've got a problem with the value of the <latest>
tag. 我正在使用Sonatype Nexus v2.3.1-01,并且
<latest>
标记的值有问题。 I thought this value would become updated every time I upload a newer version of an artifact. 我认为每次我上传工件的较新版本时,此值都会更新。
Now I had a look at the <latest>
values for a couple of artifacts that all have had new versions deployed to Nexus yesterday . 现在,我查看了昨天都已将新版本部署到Nexus的两个工件的
<latest>
值。 Result: 结果:
<latest>
fields of some artifacts hold version values from yesterday (what I expected) <latest>
字段保存了昨天的版本值(我所期望的) <latest>
fields of some artifacts hold values a bit older (couple of days) <latest>
字段保存的值稍旧(几天) <latest>
fields of some artifacts hold values a month old or even older <latest>
字段拥有一个月或更久的值 So I guess there's either something wrong about my understanding of this tag or something's wrong about by setup/configuration. 因此,我猜我对这个标签的理解有问题或设置/配置有问题。 Any ideas?
有任何想法吗?
Thanks, Christian 谢谢,克里斯蒂安
The Nexus FAQ describes when LATEST/RELEASE is set. Nexus FAQ说明了何时设置LATEST / RELEASE。 Latest is only used (and updated) for maven plugins.
最新仅用于(和更新)Maven插件。
"LATEST" only works reliably with group repos. “最新”仅与组存储库可靠地一起使用。 See - http://www.blackpepper.co.uk/posts/nexus-support-for-latest-version
参见-http: //www.blackpepper.co.uk/posts/nexus-support-for-latest-version
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.