You are trying to do a release
cmuser@cmlin01:~$ mvn release:prepare -DreleaseVersion=1.0.0.RC1 -DdryRun=true
And you see an error like:
... [INFO] [INFO] Working directory: C:workspacesHelloWorldbranchesHelloWorld-1_0component1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [ERROR] BUILD ERROR [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Cannot create the build number because you have local modifications : [INFO] [pom.xml.releaseBackup:unknown] [INFO] [pom.xml.tag:unknown] [INFO] [release.properties:unknown] ...
To fix, you need to have SVN ignoring those files.
cmuser@cmlin01:~$ vi /home/cmuser/.subversion/config ... global-ignores = pom.xml.* release.properties ...
Now run it again.
mvn release:prepare -DreleaseVersion=1.0.0.RC1 -DdryRun=true