I found this beatuful build-project.xml file in ${maven.home}/examples.
I figured the purpose of that was to be able to create a new project callingant -f build-project.xml -Dtargetdir=/the/dir Thing is, it copies build.xml from the same directory and there is a variable called $mavenDirectory there that is not replaced. Should this be parsed by velocity? -- There is no limit to what you can do if you don't care who gets the credit. - Keynote
