<mirrors>
<mirror>
<id>your-repo</id>
<url>http://repomanager/</url>
<mirrorOf>*</mirrorOf>
</mirror>
</mirrors>
Will cause all depedencies to be resolved from the mirror, regardless
of any repositories defined in the poms.
Justin
On Wed, Aug 4, 2010 at 9:34 AM, david_ <[email protected]> wrote:
>
> Hi
>
> I want to prevent maven from downloading dependencies from the repositories
> that are configured in pom.xml files. Maven should only use the repository
> configured in the settings.xml of maven.
>
> We have a corporate repository for all jar files, but it is possible that a
> pom.xml holds configuration for downloading his dependencies from other
> url's. This needs to be prevented.
>
> Is this possible?
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/prevent-maven-from-downloading-dependencies-from-repositories-configured-in-dependencies-tp2264088p2264088.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]