title: Filtering an assets file - android
body: <p>I'm trying to filter a properties file in the asset directory of my project. This is so i don't have to keep changing values between dev, SIT and prod versions of my app. I'm using maven &amp; intelliJ IDEA with (eventually) different profiles, but for the moment i'm just trying to get the build process to pick up the filtered assets directory (if it is at all possible)</p>
  
  <p>i've added these resource lines to my POM:</p>
  
  <pre><code>&lt;resource&gt;
      &lt;filtering&gt;true&lt;/filtering&gt;
      &lt;directory&gt;assets&lt;/directory&gt;
      &lt;includes&gt;
          &lt;include&gt;**/*.properties&lt;/include&gt;
      &lt;/includes&gt;
      &lt;targetPath&gt;
          ../assets
      &lt;/targetPath&gt;
  &lt;/resource&gt;
  
  &lt;resource&gt;
      &lt;filtering&gt;false&lt;/filtering&gt;
      &lt;directory&gt;assets&lt;/directory&gt;
      &lt;excludes&gt;
         &lt;exclude&gt;**/*.properties&lt;/exclude&gt;
      &lt;/excludes&gt;
      &lt;targetPath&gt;
         ../assets
      &lt;/targetPath&gt;
  &lt;/resource&gt;
  </code></pre>
  
  <p>Is there a way i can get the build process to look at the filtered assets directory?</p>