title: Maven POM: how to insist property is not overridden
body: <p>I have a parent POM that uses a gmaven script to do some stuff:</p>
  
  <pre><code>   &lt;plugin&gt;
        &lt;groupId&gt;org.codehaus.gmaven&lt;/groupId&gt;
        &lt;artifactId&gt;gmaven-plugin&lt;/artifactId&gt;
        &lt;version&gt;1.4&lt;/version&gt;
  
        &lt;configuration combine.children="override"&gt;
          &lt;providerSelection&gt;2.0&lt;/providerSelection&gt;
          &lt;scriptPath&gt;${basedir}/build/groovy&lt;/scriptPath&gt;
        &lt;/configuration&gt;
        &lt;executions&gt;
          &lt;execution&gt;
            &lt;id&gt;groovy-properties-script&lt;/id&gt;
            &lt;phase&gt;validate&lt;/phase&gt;
            &lt;goals&gt;
              &lt;goal&gt;execute&lt;/goal&gt;
            &lt;/goals&gt;
            &lt;configuration&gt;
              &lt;source&gt;computeProperties.groovy&lt;/source&gt;
            &lt;/configuration&gt;
          &lt;/execution&gt;
            &lt;!-- ... --&gt;
  </code></pre>
  
  <p>All of the children are supposed to run this script as well, but they try to resolve the scriptpath based on their OWN basedir. Usually this is exactly what you want with properties, but here it doesn't work, and I can't figure out any way around it.</p>