title: How to pass TeamCity parameter to Maven pom.xml?
body: <p>I'm currently evaluation TeamCity 8.</p>
  
  <p>We got several branches (master, development + feature branches) and a Artifactory setup.
  If the master/development snapshots are build successfully, they are being deployed to Artifactory. The problem is, that the feature branches get deployed into the development repository too.</p>
  
  <p>I couldn't find a way to tell the artifactory plugin to ignore the other branches, but there is an option to include/exclude certain artifacts through their filename.
  However, the artifacts of the feature branches don't have any special naming.</p>
  
  <p>Is there a way, to get the name of the branch into the pom.xml, so i could use it as a prefix for the artifact name? I found TeamCity variables like "teamcity.build.branch" but couldn't figure out how to include them, so that teamcity replaces them.</p>
  
  <p>Does someone know how (or even a better way) to do this?</p>