On Fri, Jul 8, 2011 at 3:50 PM, Maven User <[email protected]> wrote:
> I thought I had a good handle on this, but can someone help me fully > understand the <mirrors> and <repositories> settings in settings.xml? > > When one has a repository server running, and there are several urls grouped > up, why isn't it enough to tell maven where to look via a single mirrors > stanza? > > Why do I then also have to define an additional repository? What happens when you don't? Knowing why you think you need to do it would help someone explain it. One reason you might do it is to enable a repository to be searched for snapshots. By default, Maven's built-in definition of 'central' only has releases enabled. Unless you define another repository somewhere that has snapshots enabled, Maven will never retrieve any snapshots. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
