My teamcity server is currently running builds using ant. We are converting our projects to maven, which is a slow process, and this has meant we have started calling some maven operations from our ant build scripts. but doing this on TeamCity fails saying that it can't find the maven executable (m2 variable not defined, etc.)
Is there a way to configure TC so that the ant build can see the maven executable that is already in the build agent or will I have to install another maven seperately on the machine?
thanks in advance