combine ant and maven build function