In my Ant script, i'm executing Maven like this:
<artifact:mvn pom="${basedir}/pom.xml">
<arg value="glassfish:deploy" />
</artifact:mvn>
In my pom.xml, there is a property:
<properties>
<glassfish.home>${env.GLASSFISH}</glassfish.home>
</properties>
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?