Maven 工件版本命名约定

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

这是我的 pom 中有效的 Maven 工件版本吗?

<version>1.0-MyBranch-SNAPSHOT</version>

或者神器版本应该只包含像

1.2.3-SNAPSHOT
这样的数字?

maven pom.xml
1个回答
0
投票

使用 Maven 3,根据 此文档,使用类似

<version>1.0-MyBranch-SNAPSHOT</version>

的内容是有效的
© www.soinside.com 2019 - 2024. All rights reserved.