ant -f update-version.xml -Dcurrent="3.1.0.M1" -Dnew="4.0.0.SNAPSHOT" updateVersion current and new are not set