为什么在maven仓库如mvnrepository.com或nexus中没有`最新`标签?

问题描述 投票:0回答:1

为什么mvnrepository.comnexus不遵循约定具有latest版本,例如:

<dependency>
    <groupId>log4j</groupId>
    <artifactId>log4j</artifactId>
    <version>latest</version>
</dependency>

版本latest将始终指向存储库中的最新版本,因此在构建期间,它不会选择更新pom.xml文件,而是选择最新版本。如果库向后兼容。

maven artifactory nexus
1个回答
0
投票

此问题与对此stackoverflow answer的以下解释非常相关

© www.soinside.com 2019 - 2024. All rights reserved.