title: How do I use the Google Maven replacer plugin to replace the string "${version}"?
body: <p>I’m using the 1.5.3 version of the Maven replacer plugin.  I want to replace the string “${version}” in my properties file, which contains the line</p>
  
  <pre><code>application.version=${version}
  </code></pre>
  
  <p>with the actual &lt;version&gt; element defined in my pom.  I’m trying this, but without success:</p>
  
  <pre><code>                &lt;execution&gt;
                      &lt;id&gt;replace-application-version&lt;/id&gt;
                      &lt;phase&gt;compile&lt;/phase&gt;
                      &lt;configuration&gt;
                          &lt;file&gt;${project.build.outputDirectory}/application.properties&lt;/file&gt;
                          &lt;replacements&gt;
                              &lt;replacement&gt;
                                  &lt;token&gt;\${version}&lt;/token&gt;
                                  &lt;value&gt;${version}&lt;/value&gt;
                              &lt;/replacement&gt;
                          &lt;/replacements&gt;
                      &lt;/configuration&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;replace&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
  </code></pre>
  
  <p>I don’t know how to properly escape the string “${version}” in the “&lt;token&gt;” block.  Any help is appreciated.</p>