I'm trying to run maven-release-plugin from the Maven build runner. I'm having a problem supplying an additional command-line argument -scmCommentPrefix="ABCD-0000 " - when TeamCity runs this, it surrounds the whole argument in quotes like this:
which causes the command to fail. Why does TeamCity add the extra quotes? If I supply just -scmCommentPrefix=ABCD-0000, TeamCity doesn't add any quotes at all. Is there a way around this? The point is that I'm trying to pass in a TeamCity variable with a space on the end as the argment - this adds a prefix to all checkin comments created by the maven-release-plugin.