Did some testing with maven and decided that ant is a better solution for me. Jenkins doesn't interface as well with ant, but I can make it work.