title: maven super pom's profile properties inheritance at child poms
body: <p>at my project there is 2 profiles and each profile has one property. 
  But I could not use master's properties at child's resources.</p>
  
  <p>Here is described clearly but it seems that there is only one pom file and the sample shown at there is not an multi-module maven project.</p>
  
  <p>All I want to do is use this properties at spring level like changing the location of properties file.</p>
  
  <pre><code> &lt;profile&gt;
          &lt;id&gt;p1&lt;/id&gt;
          &lt;properties&gt;
              &lt;properties.location&gt;file:/apps-core1.properties&lt;/properties.location&gt;
          &lt;/properties&gt;
      &lt;/profile&gt;
   &lt;profile&gt;
  
   &lt;profile&gt;
          &lt;id&gt;p2&lt;/id&gt;
          &lt;properties&gt;
              &lt;properties.location&gt;file:/apps-core2.properties&lt;/properties.location&gt;
          &lt;/properties&gt;
      &lt;/profile&gt;
   &lt;profile&gt;
  </code></pre>
  
  <p>and I want to use "properties.location" at every pom file I had, either main-resources or test-resources.</p>
  
  <p>here is the spring usage</p>
  
  <pre><code>&lt;context:property-placeholder location="\${properties.location}" /&gt;
  </code></pre>