You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ma...@barclays.com.INVALID on 2023/10/30 13:53:36 UTC

how to log exact HTTP request and response maven sends over the wire?

I'm getting HTTP 400 errors from a repo I'm trying to connect to and I don't understand why.
Is there an easy way to get maven to show exactly what HTTP request gets sent over the wire and what comes back?

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. 
__________________________________________________________________________________

RE: how to log exact HTTP request and response maven sends over the wire?

Posted by ma...@barclays.com.INVALID.
Much better... thanks!
So, basically I can just take the stuff on this page:
https://support.sonatype.com/hc/en-us/articles/213464088-Configuring-Maven-HTTP-Wagon-Detailed-Logging
And add it on command line instead of editing the properties file.  I'm going to try this now!

-----Original Message-----
From: mark <mc...@gmail.com> 
Sent: Monday, October 30, 2023 1:10 PM
To: users@maven.apache.org
Subject: Re: how to log exact HTTP request and response maven sends over the wire?


CAUTION: This email originated from outside our organisation - mc.prins@gmail.com Do not click on links, open attachments, or respond unless you recognize the sender and can validate the content is safe.
Op 30-10-2023 om 16:14 schreef mark.yagnatinsky@barclays.com.INVALID:
> I have to edit the file?  There's no way to set this from command line?

You can set them as properties on the Maven commandline eg.
-Dorg.slf4j.simpleLogger.log.org.apache.maven.wagon.providers.http.httpclient=debug 


like here:
https://clicktime.symantec.com/15t5Zu5z7gGfLkhnq58xS?h=Mqr1LTp3xWVk8NSuTORqAWcm2nPEBZUDY6MnoH-t-6o=&u=https://github.com/B3Partners/tailormap-api/blob/205fbe509d3498292f39654f5abe351a256725f7/.github/workflows/owasp-dependency-check.yml%23L33

-M

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@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. 
__________________________________________________________________________________

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

Re: how to log exact HTTP request and response maven sends over the wire?

Posted by mark <mc...@gmail.com>.
Op 30-10-2023 om 16:14 schreef mark.yagnatinsky@barclays.com.INVALID:
> I have to edit the file?  There's no way to set this from command line?

You can set them as properties on the Maven commandline eg.
-Dorg.slf4j.simpleLogger.log.org.apache.maven.wagon.providers.http.httpclient=debug 


like here:
https://github.com/B3Partners/tailormap-api/blob/205fbe509d3498292f39654f5abe351a256725f7/.github/workflows/owasp-dependency-check.yml#L33

-M

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


RE: how to log exact HTTP request and response maven sends over the wire?

Posted by ma...@barclays.com.INVALID.
I have to edit the file?  There's no way to set this from command line?
The issue is an a shared build server and I'd rather not affect all builds.
In fact, I'm not sure where the maven installation lives, or whether I have write permissions for it.

-----Original Message-----
From: Stefan CORDES <st...@canda.com.INVALID> 
Sent: Monday, October 30, 2023 10:56 AM
To: Maven Users List <us...@maven.apache.org>
Subject: RE: how to log exact HTTP request and response maven sends over the wire?


CAUTION: This email originated from outside our organisation - stefan.cordes@canda.com.INVALID Do not click on links, open attachments, or respond unless you recognize the sender and can validate the content is safe.
Hi,
in your

MAVEN_HOME\conf\logging\simplelogger.properties

you can enable (set from off to debug)

org.slf4j.simpleLogger.log.org.apache.maven.wagon.providers.http.httpclient=debug
org.slf4j.simpleLogger.log.org.apache.maven.wagon.providers.http.httpclient.wire=debug

and

org.slf4j.simpleLogger.log.org.apache.http.headers=debug
org.slf4j.simpleLogger.log.org.apache.http.wire=debug

to see all http traffic header and body.

Gruß,
Stefan

-----Original Message-----
From: mark.yagnatinsky@barclays.com.INVALID <ma...@barclays.com.INVALID>
Sent: Monday, October 30, 2023 3:32 PM
To: users@maven.apache.org
Subject: RE: how to log exact HTTP request and response maven sends over the wire?

Maven 3.6.3 ... no overides

-----Original Message-----
From: Tamás Cservenák <ta...@cservenak.net>
Sent: Monday, October 30, 2023 10:04 AM
To: Maven Users List <us...@maven.apache.org>
Subject: Re: how to log exact HTTP request and response maven sends over the wire?


CAUTION: This email originated from outside our organisation - tamas@cservenak.net Do not click on links, open attachments, or respond unless you recognize the sender and can validate the content is safe.
Howdy,

for start we'd need:
- what Maven (best to just `mvn -v` and copy that)
- if you override transport, what you override transport to?

Thanks
T

On Mon, Oct 30, 2023 at 2:54 PM <ma...@barclays.com.invalid>
wrote:

> I'm getting HTTP 400 errors from a repo I'm trying to connect to and I 
> don't understand why.
> Is there an easy way to get maven to show exactly what HTTP request 
> gets sent over the wire and what comes back?
>
> 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/15t5z44MqsZDPQVLm81br?h=BrzHY6XfU_3PtXDVTfgozx94KdEjrdka42d0K8tf3ao=&u=https://clicktime.symantec.com/15sjF9ciGqWEJGxU8LcYE?h=OHDSIYWAt38WqQRJtTyU2TIz_9uDoigwTWWnAFajPyk=&u=https://www.cib.barclays/disclosures/web-and-email-disclaimer.html.
>
> For important disclosures, please see:
> https://clicktime.symantec.com/15siaW4Sbv3UziM5msRMG?h=gIDhrz6dMY9sY8m
> 6dAfEC2ufjHhBiO0NgzMNRWvvIrk=&u=https://clicktime.symantec.com/15t5uDs
> 5PFscyTfRDZcTE?h%3DZCG-UUcnRQGU2WD
> 44hE5RxT2sotnkCDtp-MRqevDkp4=&u=https://clicktime.symantec.com/15sj5VE
> 9Mc93UPJd3DpEz?h=wRWx3UkNQmaNawsZcHR2C-reShlLRAqHu9IQo4_szjw=&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/15siQqfsgggJAphEgkd42?h=RnywXWdfeNfMiIX
> y_NNzFXsNEustknB-uvfaMvqwG7o=&u=https://clicktime.symantec.com/15t5ejH
> E1QpqjdBeatR1N?h%3DDkNaTHLjb8eqZ08
> gO5EjbAJk1H41HZcwrkQOGHmbSjg=&u=https://clicktime.symantec.com/15sifLF
> j4Xj5QfB1KRpVt?h=MLK8MPic8YdfSSGgV1OXMTlEXEhkCHqJ2KAvzq0K4Ww=&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/15t5Zu5wYo9FKgMj3L1rk?h=AJ0ZI4oxSqFdQEGEQd-g03qCgsmtTNLkJBQJHsSCBTI=&u=https://clicktime.symantec.com/15siFBHJmTK7Lw3Pbdpkn?h=wHFX61zsWj1PQJC6oXDHtJSzhfnJiJZmsElfTmMY9aI=&u=http://publicresearch.barclays.com.
> ______________________________________________________________________
> ____________
>
> If you are incorporated or operating in Australia, read these 
> important
> disclosures:
> https://clicktime.symantec.com/15siVfsA9JMtamXAEK2Ce?h=t5Nx75fJE6TAsTq
> IHsAnxMuZ5DiVYKBdADJ6ZpHHBsU=&u=https://clicktime.symantec.com/15t5jZU
> WU2WS9a1a8Sp9z?h%3Djq3kfLHvz1eyXO5
> 5VDKwe1rnJ6Z9_El5xwJfKSd4iek=&u=https://clicktime.symantec.com/15sipze
> Hym6GEYprQYco8?h=GwPmsxfnvrqsGgGzZkxVxTtp8b8DgKf3x1WuYdtG_Hs=&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/15t5pPfnveC2ZWqVg1DJc?h=uYHykXL4S6qcxw0SK9tlahK-n0t6KWADPJKu7Tm2W7M=&u=https://clicktime.symantec.com/15sizf2rtzTT4SUhVfR6N?h=uq50L0A_naTqHudnXF618iyc0vWmt25x8gDh7AjV4Vs=&u=https://www.cib.barclays/disclosures/personal-information-use.html.
>
>
> ______________________________________________________________________
> ____________

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/15sjF9ciGqWEJGxU8LcYE?h=OHDSIYWAt38WqQRJtTyU2TIz_9uDoigwTWWnAFajPyk=&u=https://www.cib.barclays/disclosures/web-and-email-disclaimer.html.

For important disclosures, please see: https://clicktime.symantec.com/15sjAKRRpDpdtL8YanDPc?h=yATldUPiCA6mGm0eCV1KZKPBYLfaRGAdSfhwxAcz4e8=&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/15sikAT1X9QfpbzvrzDeW?h=Ufst-RuesWPc53IvBc_grUI9gpkEgUA4SfJF-84YVAA=&u=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: https://clicktime.symantec.com/15siFBHJmTK7Lw3Pbdpkn?h=wHFX61zsWj1PQJC6oXDHtJSzhfnJiJZmsElfTmMY9aI=&u=http://publicresearch.barclays.com.
__________________________________________________________________________________
If you are incorporated or operating in Australia, read these important disclosures: https://clicktime.symantec.com/15siupqaSNmreVemx71wk?h=Uu1L0Upm1cLO9Hi_AsaI70hbH8KuUhXwID6VVc21vto=&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/15sizf2rtzTT4SUhVfR6N?h=uq50L0A_naTqHudnXF618iyc0vWmt25x8gDh7AjV4Vs=&u=https://www.cib.barclays/disclosures/personal-information-use.html.
__________________________________________________________________________________

C&A Services GmbH & Co. OHG | Wanheimer Straße 70 | D-40468 Düsseldorf | Sitz: Düsseldorf | Registergericht: Düsseldorf HRA 12655 | Telefon: +49 (211) 9872-01 Persönlich haftende Gesellschafter: C&A Retail GmbH | Sitz: Baar/Schweiz | UID: CHE-116.290.471
Geschäftsführung: Giny Boer, Christoph Hammer FRM Participations S.A. | Sitz: Strassen/Luxemburg | Handels- und Firmenregister Luxemburg: B 58158
Verwaltungsratsmitglieder: Dr. Christian Bank, Remco Gerlof, Dr. Franz-Josef Leuchtenberg Hinweise zur Verarbeitung Ihrer Daten finden Sie unter: https://clicktime.symantec.com/15sjKyozjTBpiDnPfu1gr?h=kY5lTk1hi6xQqpSF4qr71PY2wg3WANMjfbeItRKnh10=&u=www.c-a.com/GDPR<https://clicktime.symantec.com/15siL1UbE4zhkssK9CDuQ?h=dXDugE_ifo8SoB49Js9U4jdUDiKfEL_0P7acC9NEqxQ=&u=http://www.c-a.com/GDPR>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@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. 
__________________________________________________________________________________

RE: how to log exact HTTP request and response maven sends over the wire?

Posted by Stefan CORDES <st...@canda.com.INVALID>.
Hi,
in your

MAVEN_HOME\conf\logging\simplelogger.properties

you can enable (set from off to debug)

org.slf4j.simpleLogger.log.org.apache.maven.wagon.providers.http.httpclient=debug
org.slf4j.simpleLogger.log.org.apache.maven.wagon.providers.http.httpclient.wire=debug

and

org.slf4j.simpleLogger.log.org.apache.http.headers=debug
org.slf4j.simpleLogger.log.org.apache.http.wire=debug

to see all http traffic header and body.

Gruß,
Stefan

-----Original Message-----
From: mark.yagnatinsky@barclays.com.INVALID <ma...@barclays.com.INVALID>
Sent: Monday, October 30, 2023 3:32 PM
To: users@maven.apache.org
Subject: RE: how to log exact HTTP request and response maven sends over the wire?

Maven 3.6.3 ... no overides

-----Original Message-----
From: Tamás Cservenák <ta...@cservenak.net>
Sent: Monday, October 30, 2023 10:04 AM
To: Maven Users List <us...@maven.apache.org>
Subject: Re: how to log exact HTTP request and response maven sends over the wire?


CAUTION: This email originated from outside our organisation - tamas@cservenak.net Do not click on links, open attachments, or respond unless you recognize the sender and can validate the content is safe.
Howdy,

for start we'd need:
- what Maven (best to just `mvn -v` and copy that)
- if you override transport, what you override transport to?

Thanks
T

On Mon, Oct 30, 2023 at 2:54 PM <ma...@barclays.com.invalid>
wrote:

> I'm getting HTTP 400 errors from a repo I'm trying to connect to and I
> don't understand why.
> Is there an easy way to get maven to show exactly what HTTP request
> gets sent over the wire and what comes back?
>
> 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/15t5z44MqsZDPQVLm81br?h=BrzHY6XfU_3PtXDVTfgozx94KdEjrdka42d0K8tf3ao=&u=https://www.cib.barclays/disclosures/web-and-email-disclaimer.html.
>
> For important disclosures, please see:
> https://clicktime.symantec.com/15t5uDs5PFscyTfRDZcTE?h=ZCG-UUcnRQGU2WD
> 44hE5RxT2sotnkCDtp-MRqevDkp4=&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/15t5ejHE1QpqjdBeatR1N?h=DkNaTHLjb8eqZ08
> gO5EjbAJk1H41HZcwrkQOGHmbSjg=&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/15t5Zu5wYo9FKgMj3L1rk?h=AJ0ZI4oxSqFdQEGEQd-g03qCgsmtTNLkJBQJHsSCBTI=&u=http://publicresearch.barclays.com.
> ______________________________________________________________________
> ____________
>
> If you are incorporated or operating in Australia, read these
> important
> disclosures:
> https://clicktime.symantec.com/15t5jZUWU2WS9a1a8Sp9z?h=jq3kfLHvz1eyXO5
> 5VDKwe1rnJ6Z9_El5xwJfKSd4iek=&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/15t5pPfnveC2ZWqVg1DJc?h=uYHykXL4S6qcxw0SK9tlahK-n0t6KWADPJKu7Tm2W7M=&u=https://www.cib.barclays/disclosures/personal-information-use.html.
>
>
> ______________________________________________________________________
> ____________

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.
__________________________________________________________________________________

C&A Services GmbH & Co. OHG | Wanheimer Straße 70 | D-40468 Düsseldorf | Sitz: Düsseldorf | Registergericht: Düsseldorf HRA 12655 | Telefon: +49 (211) 9872-01
Persönlich haftende Gesellschafter: C&A Retail GmbH | Sitz: Baar/Schweiz | UID: CHE-116.290.471
Geschäftsführung: Giny Boer, Christoph Hammer
FRM Participations S.A. | Sitz: Strassen/Luxemburg | Handels- und Firmenregister Luxemburg: B 58158
Verwaltungsratsmitglieder: Dr. Christian Bank, Remco Gerlof, Dr. Franz-Josef Leuchtenberg
Hinweise zur Verarbeitung Ihrer Daten finden Sie unter: www.c-a.com/GDPR<http://www.c-a.com/GDPR>

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

RE: how to log exact HTTP request and response maven sends over the wire?

Posted by ma...@barclays.com.INVALID.
Maven 3.6.3 ... no overides

-----Original Message-----
From: Tamás Cservenák <ta...@cservenak.net> 
Sent: Monday, October 30, 2023 10:04 AM
To: Maven Users List <us...@maven.apache.org>
Subject: Re: how to log exact HTTP request and response maven sends over the wire?


CAUTION: This email originated from outside our organisation - tamas@cservenak.net Do not click on links, open attachments, or respond unless you recognize the sender and can validate the content is safe.
Howdy,

for start we'd need:
- what Maven (best to just `mvn -v` and copy that)
- if you override transport, what you override transport to?

Thanks
T

On Mon, Oct 30, 2023 at 2:54 PM <ma...@barclays.com.invalid>
wrote:

> I'm getting HTTP 400 errors from a repo I'm trying to connect to and I 
> don't understand why.
> Is there an easy way to get maven to show exactly what HTTP request 
> gets sent over the wire and what comes back?
>
> 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/15t5z44MqsZDPQVLm81br?h=BrzHY6XfU_3PtXDVTfgozx94KdEjrdka42d0K8tf3ao=&u=https://www.cib.barclays/disclosures/web-and-email-disclaimer.html.
>
> For important disclosures, please see:
> https://clicktime.symantec.com/15t5uDs5PFscyTfRDZcTE?h=ZCG-UUcnRQGU2WD
> 44hE5RxT2sotnkCDtp-MRqevDkp4=&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/15t5ejHE1QpqjdBeatR1N?h=DkNaTHLjb8eqZ08
> gO5EjbAJk1H41HZcwrkQOGHmbSjg=&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/15t5Zu5wYo9FKgMj3L1rk?h=AJ0ZI4oxSqFdQEGEQd-g03qCgsmtTNLkJBQJHsSCBTI=&u=http://publicresearch.barclays.com.
> ______________________________________________________________________
> ____________
>
> If you are incorporated or operating in Australia, read these 
> important
> disclosures:
> https://clicktime.symantec.com/15t5jZUWU2WS9a1a8Sp9z?h=jq3kfLHvz1eyXO5
> 5VDKwe1rnJ6Z9_El5xwJfKSd4iek=&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/15t5pPfnveC2ZWqVg1DJc?h=uYHykXL4S6qcxw0SK9tlahK-n0t6KWADPJKu7Tm2W7M=&u=https://www.cib.barclays/disclosures/personal-information-use.html.
>
>
> ______________________________________________________________________
> ____________

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. 
__________________________________________________________________________________

Re: how to log exact HTTP request and response maven sends over the wire?

Posted by Tamás Cservenák <ta...@cservenak.net>.
Howdy,

for start we'd need:
- what Maven (best to just `mvn -v` and copy that)
- if you override transport, what you override transport to?

Thanks
T

On Mon, Oct 30, 2023 at 2:54 PM <ma...@barclays.com.invalid>
wrote:

> I'm getting HTTP 400 errors from a repo I'm trying to connect to and I
> don't understand why.
> Is there an easy way to get maven to show exactly what HTTP request gets
> sent over the wire and what comes back?
>
> 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.
>
>
> __________________________________________________________________________________
>