title: Maven Ant Task: Replace property in pom.xml when executing Maven from Ant
body: <p>In my Ant script, i'm executing Maven like this:</p>
  
  <pre><code>&lt;artifact:mvn pom="${basedir}/pom.xml"&gt;
    &lt;arg value="glassfish:deploy" /&gt;
  &lt;/artifact:mvn&gt;
  </code></pre>
  
  <p>In my pom.xml, there is a property:</p>
  
  <pre><code>&lt;properties&gt;
    &lt;glassfish.home&gt;${env.GLASSFISH}&lt;/glassfish.home&gt;
  &lt;/properties&gt;
  </code></pre>
  
  <p>This value should be replaced by a value thats provided by the Ant Script. Is it possible to overwrite an existing property in the pom.xml when executing it with the Ant Maven Task? Whats the easiest way to do this?</p>