It sounds like you have multiple repositories defined on same nexus instance. This is similar to setup we have. We have repositories for third party libraries we use as well as a mirror of maven central for the stuff we need.

Key difference between the setup you have and my setup is we have one (internally) public repository and other repositories are member of that repository. All the developers always use that public repository rather than adding multiple repository.

Repositories are managed by appropriate people who care about what contents get into repository.

If it helps I have following entries in my settings.xml

 <mirrors>
    <mirror>
      <id>nexus</id>
      <mirrorOf>*</mirrorOf>
      <url>https://<url>/nexus/repository/<only public repo>/</url>
    </mirror>
  </mirrors>

Maven channels everything through nexus and nexus serves it based on rules.

Regards,

Niranjan

On 12/8/21 4:25 PM, [email protected] wrote:
Sorry for broken threading; I wasn't subscribed to the mailing list so I never 
got your reply; not sure how to fix it now.  Now I'm subscribed.

Yes, we are using nexus.  One of our nexus servers is even using HTTPS.  The 
rest are not.
As for why we have "many" ... I'm not entirely sure.  It was like that when I 
got here.
I could ask around, but I'm not sure how much it matters.  Could be

*         Historical reasons

*         Bureaucratic reasons

*         Or maybe even very good reasons that I happen to not know.
As it happens, many of these "separate" nexus repositories are on the same 
server, but maven treats them all as if they are distinct, because they have different 
paths.  E.g. one might be
http://nexus.example.com:8080/nexus/content/groups/main/
while another might be
http://nexus.example.com:8080/nexus/content/repositories/UPLOAD-EXTERNAL-RELEASES/

Not sure if any of this answers your question.

_________________________________________________________________________________________________________________________________________________________________________________________________________________________________
“This message is for information purposes only, it is not a recommendation, 
advice, offer or solicitation to buy or sell a product or service nor an 
official confirmation of any transaction. It is directed at persons who are 
professionals and is not intended for retail customer use. Intended for 
recipient only. This message is subject to the terms at: 
www.barclays.com/emaildisclaimer.

For important disclosures, please see: 
www.barclays.com/salesandtradingdisclaimer regarding market commentary from 
Barclays Sales and/or Trading, who are active market participants; 
https://www.investmentbank.barclays.com/disclosures/barclays-global-markets-disclosures.html
 regarding our standard terms for the Investment Bank of Barclays where we 
trade with you in principal-to-principal wholesale markets transactions; and in 
respect of Barclays Research, including disclosures relating to specific 
issuers, please see http://publicresearch.barclays.com.”
_________________________________________________________________________________________________________________________________________________________________________________________________________________________________
If you are incorporated or operating in Australia, please see 
https://www.home.barclays/disclosures/importantapacdisclosures.html for 
important disclosure.
_________________________________________________________________________________________________________________________________________________________________________________________________________________________________
How we use personal information  see our privacy notice 
https://www.investmentbank.barclays.com/disclosures/personalinformationuse.html
_________________________________________________________________________________________________________________________________________________________________________________________________________________________________



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to