Java – use the maven ant tasks with a custom maven repository


I need to specify a certain directory which the maven ant tasks should use as repository. maven.repo.local doesn't seem to work with that. Any other ideas?

Best Solution

you should look into the maven repositories tags. You can specify a repository, but on a more global scale than you might like.

maven repositories