Re: Anyone is actually use central repository?

2012-04-27 Thread Rajwinder Makkar
In first case :

no matter what is the id of the requested repo it will go the url mentioned.

In the second case :

Only requests for repo with id thirdparty will do tthe url mentioned.

And more details are on the link which is mentioned before.

What we did was , created a virtual repo and put all repos behind it and
then use mirrior option to send all requests to this virtual repo.

-Raj

On Thu, Apr 26, 2012 at 6:45 PM, Wayne Fay wayne...@gmail.com wrote:

  How to consolidate these two settings?

 This is documented online under Advanced Mirror Specification:
 http://maven.apache.org/guides/mini/guide-mirror-settings.html

 Here's a hint:
mirrorOf*,!central/mirrorOf

 The *,!central in the mirrorOf means mirror all except central.

 Wayne

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




Anyone is actually use central repository?

2012-04-26 Thread hujirong
Hi

I think most of company will set up its own internal repository, right? So
we should always get a settings.xml like this, while nexus is the id of
our internal repository:

mirror
  idnexus/id
  mirrorOf*/mirrorOf
 
urlhttp://axddarep01.npr.bngf.local:8080/nexus/content/groups/max-public//url
/mirror

However, today I see another group is using something like this, what does
this mean?

mirrors
mirror 
idthirdparty/id 
mirrorOfcentral/mirrorOf
  
urlhttp://axddarep01.npr.bngf.local:8080/nexus/content/repositories/thirdparty//url
/mirror
/mirrors

How to consolidate these two settings?

Thanks
Jirong

--
View this message in context: 
http://maven.40175.n5.nabble.com/Anyone-is-actually-use-central-repository-tp5669037p5669037.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Anyone is actually use central repository?

2012-04-26 Thread Wayne Fay
 How to consolidate these two settings?

This is documented online under Advanced Mirror Specification:
http://maven.apache.org/guides/mini/guide-mirror-settings.html

Here's a hint:
   mirrorOf*,!central/mirrorOf

The *,!central in the mirrorOf means mirror all except central.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org