Switch from ant to maven to manage dependencies.