[ http://jira.codehaus.org/browse/MNG-479?page=all ]
Kenney Westerhof reopened MNG-479:
----------------------------------
Assign To: (was: Brett Porter)
Still doesn't work when specified in either the pom or the settings.xml.
It seems only direct dependencies of the project are resolved in the overrided
repo's.
As soon as an indirect dep is found the super-pom seems to be the parent of
that indirect dep's pom,
effectively erasing the override. This is even the case when override repo's
are specified in settings.xml.
The closest I got to overriding is specifying a mirror, but that doesn't work
for snapshot repo's, so some snapshots cannot be found.
> unable to override the default central repository
> -------------------------------------------------
>
> Key: MNG-479
> URL: http://jira.codehaus.org/browse/MNG-479
> Project: Maven 2
> Type: Bug
> Components: maven-core
> Versions: 2.0-alpha-2
> Environment: WinXP
> Reporter: Edwin Punzalan
> Priority: Blocker
> Fix For: 2.0-beta-1
> Attachments: DefaultModelInheritanceAssembler-with-updated-JUnitTest.diff,
> DefaultModelInheritanceAssembler.diff, it0042.tgz
>
>
> Adding to my pom.xml:
> ....
> <repositories>
> <repository>
> <id>central</id>
> <name>custom repository</name>
> <url>http://maven.company.com/maven2</url>
> </repository>
> </repositories>
> ....
> did not override the central repository but instead uses the above configured
> repository as backup/mirror.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]