我想将我的 maven 版本设置为以批处理模式运行,但我不喜欢默认的 scm tag ${artifactId}-${releaseVersion}
。相反,我想简单地用${releaseVersion}
;标记它 但是,我不清楚是否存在这样的属性(即没有 -SNAPSHOT 后缀)。
我希望配置类似于下面的代码。maven-release-plugin 是否可以使用这种默认标记?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.0</version>
<configuration>
<tag>${releaseVersion}</tag>
</configuration>
</plugin>