I am having a problem using the Ant Tasks for Maven with a settings
file including the following mirrors section.
<mirrors>
<mirror>
<id>mirror</id>
<mirrorOf>*</mirrorOf>
<name>My Mirror</name>
<url>http://mirror.example.com:8081/artifactory/repo</url>
</mirror>
<mirrors>
The Ant task appears to ignore that mirror setting and downloads
artifacts from the remote repositories described in the pom or
artifact:remoteRepository elements. The mirror is never used.
Further, if I add a mirror element with <mirrorOf>central</mirrorOf>
the ant task will use my mirror for central.
But, if I have a artifact:remoteRepository defined in the ant file
with id="foo" and a <mirrorOf>foo</mirrorOf> in my settings file then
the mirror is not used.
Is the <mirrorOf>*</mirrorOf> broken or not supported in the Ant
Tasks for maven? If it is not supported, then shouldn't a repository
defined in the ant file at least work when mirrored explicitly by id
in the setttings.xml?
Thanks,
Jake
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]