我在pom.xml中有以下代码
<groupId>ws.gp</groupId>
<artifactId>VZT</artifactId>
<myversion>${vzt-pom-version}</myversion>
<packaging>pom</packaging>
..当我在运行期间尝试传递参数时,我正在使用maven release插件我收到错误
BUILD FAILURE
[INFO] -----------------------------------------------------------------------
[INFO] The version could not be updated:
我尝试了以下命令
mvn release:prepare -Dmyversion="2016May.0.0"
mvn release:perform -Dmyversion="2016May.0.0"
mvn release:prepare -Darguments="-Dmyversion=2016May.0.0"
mvn release:prepare "-Dws.gp-myversion=2016May.0.0"