title: Maven Release Plugin - release:branch - Version Parameter in -DbranchName
body: <p>When executing the <code>mvn release:branch</code> command, I'd like to try and configure the <code>-DbranchName</code> argument with a version parameter.  But I haven't been able to find a way to successfully do this yet.</p>
  
  <p>For example, if I have a project in trunk with version 1.0-SNAPSHOT, I want to create a branch using the <code>--batch-mode</code> option and specify a <code>-DbranchName</code> with the current project version (1.0-SNAPSHOT) as a parameter in the within the branchName.</p>
  
  <p>I've tried doing <code>mvn release:branch -DbranchName=VERSION-@{project.version}</code>, but it doesn't seem to work as I had hoped.  Instead of creating a branch with the name VERSION-1.0, I get the following error:</p>
  
  <pre><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:branch (default-cli) on project project-a: Unable to branch SCM
  [ERROR] Provider message:
  [ERROR] The svn branch command failed.
  [ERROR] Command output:
  [ERROR] svn: E205000: Try 'svn help copy' for more information
  [ERROR] svn: E205000: Syntax error parsing peg revision '{project.version}'
  </code></pre>
  
  <p>Is there a valid way to do this?  Or is this not possible when doing a <code>release:branch</code> with the maven release plugin?</p>
  
  <h2>Edit</h2>
  
  <p>Basically what I'm looking for is something similar to the <code>tagNameFormat</code> property but for branches.  When doing a <code>release:perform</code> goal, I can have <code>&lt;tagNameFormat&gt;VERSION-@{project.version}&lt;/tagNameFormat&gt;</code> specified in the pom, and I don't need to include any tag name property when doing a release using <code>--batch-mode</code>.  Is there any similar property for formatting of branch names when doing a <code>release:branch</code>?</p>