Look at the second answer to this stack overflow question (the one with 151 
votes, not the one with 209)
https://stackoverflow.com/questions/67001968/how-to-disable-maven-blocking-external-http-repositories
Direct link to answer: https://stackoverflow.com/a/68394404/3273929
(but read the question first!  It's short and has good background)

-----Original Message-----
From: Asaf Mesika <asaf.mes...@gmail.com> 
Sent: Wednesday, December 13, 2023 1:41 PM
To: Maven Users List <users@maven.apache.org>
Subject: Re: Question about HTTP blocking WARN


CAUTION: This email originated from outside our organisation - 
asaf.mes...@gmail.com Do not click on links, open attachments, or respond 
unless you recognize the sender and can validate the content is safe.
How do I unblock ? I searched in .mvn directory and found nothing. I don’t have 
a settings file

On Wed, 13 Dec 2023 at 17:50 <mark.yagnatin...@barclays.com.invalid> wrote:

> Sorry, I failed to read your email carefully enough.
> Idea: try un-blocking HTTP, and see where it ends up downloading 
> things from.
>
> -----Original Message-----
> From: mark.yagnatin...@barclays.com.INVALID
> <mark.yagnatin...@barclays.com.INVALID>
> Sent: Wednesday, December 13, 2023 10:47 AM
> To: users@maven.apache.org
> Subject: RE: Question about HTTP blocking WARN
>
>
> CAUTION: This email originated from outside our organisation - 
> mark.yagnatin...@barclays.com.INVALID Do not click on links, open 
> attachments, or respond unless you recognize the sender and can 
> validate the content is safe.
> See release notes for 3.8.1:
>
> https://clicktime.symantec.com/15sM687dBQmsAHdZzRg2R?h=vGmJxLiSHcBmfng
> K9X2tEIMgJvGX3EQZ2p_ZA8IE8vo=&u=https://clicktime.symantec.com/15sM687
> fTyGuMBLR2CM2R?h=vJEKCCwUrBkrxG9qvgpjtvj4UuijkPM-jYzq_09Gv_8=&u=https:
> //maven.apache.org/docs/3.8.1/release-notes.html
>
> -----Original Message-----
> From: Asaf Mesika <asaf.mes...@gmail.com>
> Sent: Wednesday, December 13, 2023 6:07 AM
> To: users@maven.apache.org
> Subject: Question about HTTP blocking WARN
>
>
> CAUTION: This email originated from outside our organisation - 
> asaf.mes...@gmail.com Do not click on links, open attachments, or 
> respond unless you recognize the sender and can validate the content is safe.
> Hi,
>
> I'm running Apache Maven 3.8.5 (using Maven Wrapper) for building 
> Apache Pulsar.
>
> I get the following WARN:
>
> [WARNING] Could not transfer metadata
> org.mongodb:bson:4.4.1-SNAPSHOT/maven-metadata.xml from/to 
> maven-default-http-blocker (http://0.0.0.0/): transfer failed for 
> http://0.0.0.0/org/mongodb/bson/4.4.1-SNAPSHOT/maven-metadata.xml
> [WARNING] org.mongodb:bson:4.4.1-SNAPSHOT/maven-metadata.xmlfailed to 
> transfer from http://0.0.0.0/ during a previous attempt. This failure 
> was cached in the local repository and resolution will not be 
> reattempted until the update interval of maven-default-http-blocker 
> has elapsed or updates are forced. Original error: Could not transfer 
> metadata org.mongodb:bson:4.4.1-SNAPSHOT/maven-metadata.xml from/to 
> maven-default-http-blocker (http://0.0.0.0/): transfer failed for 
> http://0.0.0.0/org/mongodb/bson/4.4.1-SNAPSHOT/maven-metadata.xml
> Downloading from maven-default-http-blocker:
> http://0.0.0.0/org/mongodb/bson/4.4.2-SNAPSHOT/maven-metadata.xml
> [WARNING] Could not transfer metadata
> org.mongodb:bson:4.4.2-SNAPSHOT/maven-metadata.xml from/to 
> maven-default-http-blocker (http://0.0.0.0/): transfer failed for 
> http://0.0.0.0/org/mongodb/bson/4.4.2-SNAPSHOT/maven-metadata.xml
> [WARNING] org.mongodb:bson:4.4.2-SNAPSHOT/maven-metadata.xmlfailed to 
> transfer from http://0.0.0.0/ during a previous attempt. This failure 
> was cached in the local repository and resolution will not be 
> reattempted until the update interval of maven-default-http-blocker 
> has elapsed or updates are forced. Original error: Could not transfer 
> metadata org.mongodb:bson:4.4.2-SNAPSHOT/maven-metadata.xml from/to 
> maven-default-http-blocker (http://0.0.0.0/): transfer failed for 
> http://0.0.0.0/org/mongodb/bson/4.4.2-SNAPSHOT/maven-metadata.xml
> Downloading from maven-default-http-blocker:
> http://0.0.0.0/org/mongodb/bson/4.5.0-SNAPSHOT/maven-metadata.xml
> [WARNING] Could not transfer metadata
> org.mongodb:bson:4.4.2-SNAPSHOT/maven-metadata.xml from/to 
> maven-default-http-blocker (http://0.0.0.0/): transfer failed for 
> http://0.0.0.0/org/mongodb/bson/4.4.2-SNAPSHOT/maven-metadata.xml
> [
>
> I can't understand how to understand which repository in my pom.xml 
> has an http and not https repository based on this WARN message.
>
> I searched for <repositories> over any pom.xml file and didn't find 
> any http repository.
>
> Any help would be greatly appreciated. This is the latest master 
> branch of
> pulsar:
> https://clicktime.symantec.com/15sM1HvP1MbJwEWVUdwso?h=BeG4fi1jEwX3x_F
> z_0dLLaDa6HE7dTKsqsKwVd67Tcg=&u=https://clicktime.symantec.com/15sLvTi
> zaiLPdE4JXAvu7?h%3DMSjyi1VB4cPbNJsglaLsboIIC2w3PxVFwT0C3b3tJjE%3D%26u%
> 3Dhttps://clicktime.symantec.com/15sM1HvLio6GkLoeSsGso?h%3Da4l_3miTQ9J
> pp9kBhV4g1A6nK9z3Xc4ThYeLnyNM6NM%3D%26u%3Dhttps://github.com/apache/pu
> lsar
>
> Thanks,
>
> Asaf
>
> 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 intended for the 
> recipient(s) only. It is not directed at retail customers. This message is 
> subject to the terms at:
> https://clicktime.symantec.com/15sMWH63UVBqE1mBiDfmX?h=DIqE4zifGAeQprKQUyrnrW7RczY3fI3DZ9CksSTeo3A=&u=https://clicktime.symantec.com/15sMWH65m3gsQuU2jzLmX?h=Q-df236SueEdvUXDcCcn4GE7NXwNVxKMqeA3icXAqs4=&u=https://www.cib.barclays/disclosures/web-and-email-disclaimer.html.
>
>
> For important disclosures, please see:
> https://clicktime.symantec.com/15sMRStm1sWEp4wGAfGcu?h=o9osYrwRO8Nk9pR
> hDXC5l0HduDMhhY22d5g2I2QVwuc=&u=https://clicktime.symantec.com/15sMRSt
> oJS1Gzxe7CRwcu?h=h-vBkoMgu5AwO-FpHchvaemn_Tsz-oERVPFhKRy5ce8=&u=https:
> //www.cib.barclays/disclosures/sales-and-trading-disclaimer.html
> regarding marketing commentary from Barclays Sales and/or Trading 
> desks, who are active market participants; 
> https://clicktime.symantec.com/15sMAxJue2TTaETVXz5B3?h=_YvyWi2JtvO3gSg
> RRKCpC0ImVYSd52rWl07eYNFwfaY=&u=https://clicktime.symantec.com/15sMAxJ
> wvaxVm8ALZkkB3?h=JlvBDj2ePdmmEctxmE6r8_ipbstoSH34Y_zqLMjUxV0=&u=https:
> //www.cib.barclays/disclosures/barclays-global-markets-disclosures.htm
> l regarding our standard terms for Barclays Corporate and Investment 
> Bank where we trade with you in principal-to-principal wholesale 
> markets transactions; and in respect to Barclays Research, including 
> disclosures relating to specific issuers, see:
> https://clicktime.symantec.com/15sLvTj4GBQgLPyiuJsjB?h=pn27ZplPad4fDkL
> _Y-vhW5C-UZY3p3ndCdE2f_AAXOY=&u=https://clicktime.symantec.com/15sLvTj
> 6YjuiXHgZw5YjB?h=uSMibAEmIY4IJtXKWxqb6xjNrpeu9Mr9zBnzl5K_0a0=&u=http:/
> /publicresearch.barclays.com
> .
> ______________________________________________________________________
> ____________
>
> If you are incorporated or operating in Australia, read these 
> important
> disclosures:
> https://clicktime.symantec.com/15sMFnWC6e93zBHR5YUKf?h=i4IUmiJ2NlzFely
> lA6v1tNqtBTACpar8CD5q9c1kTys=&u=https://clicktime.symantec.com/15sMFnW
> EPCe6B4zG7K9Kf?h=0xjmwB92_4AsXz2MjPKO2cc4uTE8ISDstIu1FJYP4LU=&u=https:
> //www.cib.barclays/disclosures/important-disclosures-asia-pacific.html
> .
>
> ______________________________________________________________________
> ____________ For more details about how we use personal information, 
> see our privacy
> notice:
> https://clicktime.symantec.com/15sMLchUZFpeQ87Ld6sUH?h=KQNjiUfwPYDXx8rv0cECSsVrfzUJEdSh5qAIPibF__E=&u=https://clicktime.symantec.com/15sMLchWqpKgb1pBesYUH?h=i2vYXuVEfW4VcNj9iOrvR7jLBeT18qmHJDL2Co8PNTg=&u=https://www.cib.barclays/disclosures/personal-information-use.html.
>
>
> ______________________________________________________________________
> ____________  
> B KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK
> CB 
>   [  X  ܚX K  K[XZ[
>   \ \  ][  X  ܚX P X] [  \ X  K ܙ B  ܈ Y  ] [ۘ[    [X[     K[XZ[
>   \ \  Z [   X] [  \ X  K ܙ B
>
> 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 intended for the 
> recipient(s) only. It is not directed at retail customers. This message is 
> subject to the terms at:
> https://clicktime.symantec.com/15sMWH65m3gsQuU2jzLmX?h=Q-df236SueEdvUXDcCcn4GE7NXwNVxKMqeA3icXAqs4=&u=https://www.cib.barclays/disclosures/web-and-email-disclaimer.html.
>
> For important disclosures, please see:
> https://clicktime.symantec.com/15sMRStoJS1Gzxe7CRwcu?h=h-vBkoMgu5AwO-F
> pHchvaemn_Tsz-oERVPFhKRy5ce8=&u=https://www.cib.barclays/disclosures/s
> ales-and-trading-disclaimer.html regarding marketing commentary from 
> Barclays Sales and/or Trading desks, who are active market 
> participants; 
> https://clicktime.symantec.com/15sMAxJwvaxVm8ALZkkB3?h=JlvBDj2ePdmmEct
> xmE6r8_ipbstoSH34Y_zqLMjUxV0=&u=https://www.cib.barclays/disclosures/b
> arclays-global-markets-disclosures.html
> regarding our standard terms for Barclays Corporate and Investment 
> Bank where we trade with you in principal-to-principal wholesale 
> markets transactions; and in respect to Barclays Research, including 
> disclosures relating to specific issuers, see: 
> https://clicktime.symantec.com/15sLvTj6YjuiXHgZw5YjB?h=uSMibAEmIY4IJtXKWxqb6xjNrpeu9Mr9zBnzl5K_0a0=&u=http://publicresearch.barclays.com.
> ______________________________________________________________________
> ____________
>
> If you are incorporated or operating in Australia, read these 
> important
> disclosures:
> https://clicktime.symantec.com/15sMFnWEPCe6B4zG7K9Kf?h=0xjmwB92_4AsXz2
> MjPKO2cc4uTE8ISDstIu1FJYP4LU=&u=https://www.cib.barclays/disclosures/i
> mportant-disclosures-asia-pacific.html
> .
>
> ______________________________________________________________________
> ____________ For more details about how we use personal information, 
> see our privacy
> notice: 
> https://clicktime.symantec.com/15sMLchWqpKgb1pBesYUH?h=i2vYXuVEfW4VcNj9iOrvR7jLBeT18qmHJDL2Co8PNTg=&u=https://www.cib.barclays/disclosures/personal-information-use.html.
>
>
> ______________________________________________________________________
> ____________
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org

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 intended for the recipient(s) only. It is not directed at 
retail customers. This message is subject to the terms at: 
https://www.cib.barclays/disclosures/web-and-email-disclaimer.html. 

For important disclosures, please see: 
https://www.cib.barclays/disclosures/sales-and-trading-disclaimer.html 
regarding marketing commentary from Barclays Sales and/or Trading desks, who 
are active market participants; 
https://www.cib.barclays/disclosures/barclays-global-markets-disclosures.html 
regarding our standard terms for Barclays Corporate and Investment Bank where 
we trade with you in principal-to-principal wholesale markets transactions; and 
in respect to Barclays Research, including disclosures relating to specific 
issuers, see: http://publicresearch.barclays.com.
__________________________________________________________________________________
 
If you are incorporated or operating in Australia, read these important 
disclosures: 
https://www.cib.barclays/disclosures/important-disclosures-asia-pacific.html.
__________________________________________________________________________________
For more details about how we use personal information, see our privacy notice: 
https://www.cib.barclays/disclosures/personal-information-use.html. 
__________________________________________________________________________________

Reply via email to