There does not seem to be any documentation on how to use multiple repositories when resolving dependencies.
reference documentation tells "The task can include the dependency nested type, in addition to the other shared types localRepository, pom and remoteRepository": how can I make it more explicit?
As far as I can tell, central is always searched.
True with Maven Ant Tasks 2.1.0: previous versions had a bug in parent pom handling which dropped repository definition. But now that it is fixed, central is always searched as it is defined in super-pom.
I'll fix the documentation
Even if I name my repository "central" it will not override the builtin "central", but instead append to it.
Please create another jira issue, since this is a bug