title: @ActiveProfile and spring.profiles.active
body: <p>This is a piece of my applicationContext definition to retrieve some properties. </p>
  
  <pre><code> &lt;!-- get some properties --&gt;
  &lt;context:property-placeholder
          ignore-resource-not-found="false" ignore-unresolvable="false"
          location="classpath:/properties/${spring.profiles.active:test}/some.properties"/&gt;
  </code></pre>
  
  <p>As you can see I letting the spring.profiles.active decide which properties will be read.
  My tests are annotated with:</p>
  
  <pre><code>@ActiveProfile("integration")
  </code></pre>
  
  <p>You guessed it right my spring bean profiles are actually matching the environments in which to deploy/test the application.
  Still my location property is getting resolved to "/properties/test/some.properties". Which is of course because the spring.profiles.active doesn't seem to get resolved in this case. </p>
  
  <p>How could I achieve getting the the right properties? </p>