[
http://jira.codehaus.org/browse/MANTTASKS-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=229084#action_229084
]
Herve Boutemy commented on MANTTASKS-191:
-----------------------------------------
bq. There does not seem to be any documentation on how to use multiple
repositories when resolving dependencies.
[reference
documentation|http://maven.apache.org/ant-tasks/reference.html#dependencies]
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?
bq. 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|http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Super_POM].
I'll fix the documentation
bq. Even if I name my repository "central" it will not override the builtin
"central", but instead append to it.
nice catch.
Please create another jira issue, since this is a bug
> No explanation of how to use multiple Maven repositories to resolve
> dependencies
> --------------------------------------------------------------------------------
>
> Key: MANTTASKS-191
> URL: http://jira.codehaus.org/browse/MANTTASKS-191
> Project: Maven 2.x Ant Tasks
> Issue Type: Bug
> Components: documentation
> Affects Versions: 2.1.0
> Reporter: SebbASF
>
> There does not seem to be any documentation on how to use multiple
> repositories when resolving dependencies.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira