title: difference in loading the property file with pom.xml and creating a placeholder in applicationContext.xml
body: <p>i have a property file which is loaded based on the environment. I have created a placeholder in applicationContext.xml</p>
  
  <pre><code>&lt;bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"&gt;
      &lt;property name="locations"&gt;
          &lt;list&gt;
              &lt;value&gt;classpath:environment-${buildProfile}.properties&lt;/value&gt;
          &lt;/list&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>There is a another way to load this file through Maven.</p>
  
  <p>could you please suggest me which is the better way to load a property file? is there any performance difference in this?</p>