title: Subversion number in Android project
body: <p>I have a problem with adding svn revision number in my Android application.
  I did a research in google and I found this: <a href="http://ballardhack.wordpress.com/2010/09/28/subversion-revision-in-android-app-version-with-eclipse/" rel="nofollow">http://ballardhack.wordpress.com/2010/09/28/subversion-revision-in-android-app-version-with-eclipse/</a>
  but i don't want to build this project in Eclipse. 
  I compile project by 'mvn clean install android:deploy'</p>
  
  <p>I found also this: <a href="http://maven-svn-revision-number-plugin.googlecode.com/svn/site/examples/resource_filtering.html" rel="nofollow">http://maven-svn-revision-number-plugin.googlecode.com/svn/site/examples/resource_filtering.html</a></p>
  
  <p>I make file 'revision.txt in /res/raw'
  and add in pom.xml this:</p>
  
  <pre><code>&lt;build&gt;
          &lt;finalName&gt;${project.artifactId}&lt;/finalName&gt;
          &lt;sourceDirectory&gt;src&lt;/sourceDirectory&gt;
  
          &lt;resources&gt;
              &lt;resource&gt;
                  &lt;directory&gt;res/raw/&lt;/directory&gt;
                  &lt;filtering&gt;true&lt;/filtering&gt;
              &lt;/resource&gt;
          &lt;/resources&gt;
  
  
          &lt;plugins&gt;
             &lt;plugin&gt;
                  &lt;groupId&gt;com.google.code.maven-svn-revision-number-plugin&lt;/groupId&gt;
                  &lt;artifactId&gt;svn-revision-number-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.13&lt;/version&gt; &lt;!-- please use the latest version --&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;revision&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
                  &lt;configuration&gt;
                      &lt;entries&gt;
                          &lt;entry&gt;
                              &lt;prefix&gt;prefix&lt;/prefix&gt;
                          &lt;/entry&gt;
                      &lt;/entries&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
  </code></pre>
  
  <p>but it doesn't work! after build (mvn clean install) I open file 'revision.txt' and i have this:</p>
  
  <pre><code>repository = ${prefix.repository}
  path = ${prefix.path}
  revision = ${prefix.revision}
  mixedRevisions = ${prefix.mixedRevisions}
  committedRevision = ${prefix.committedRevision}
  committedDate = ${prefix.committedDate}
  status = ${prefix.status}
  specialStatus = ${prefix.specialStatus}
  </code></pre>
  
  <p>how to put revision number to file with Maven SVN Revision Number Plugin ?</p>