Maven release:prepare command is failing with below error while delivering updated pom.xml to the stream due to Preconditions configured in RTC to have comments and associated work item with every delivery.
I can not find any optional parameters on http://maven.apache.org/maven-release/maven-release-plugin/prepare-mojo.html for release:prepare command which I can use and pass the RTC workitem number on command line.
It will be great if you can provide optional parameters like "workItem" which I can use and pass RTC workitem number with release:prepare at command line.
Example: mvn -PmyProfile release:prepare -DworkItem=123456
So build process should associate change sets created by release:prepare with work item 123456 and deliver change sets to the stream.
As of now I have to use "-DpushChanges=false" parameter to block delivery process and I have to manually find the change sets, associate them with work item and deliver them before I run release:perform.