Version Management in 'mvn dependency:tree'

2023-10-30 Thread yukai zhao
Hello, Recently, I attempted to use ‘mvn dependency:tree’ to retrieve the project's dependency tree. However, in the output, I noticed that for the same dependency with different scopes, its version doesn't appear to be consistent. The specific scenario is as follows:

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

2023-10-30 Thread mark.yagnatinsky
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

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

2023-10-30 Thread mark
Op 30-10-2023 om 16:14 schreef mark.yagnatin...@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

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

2023-10-30 Thread mark.yagnatinsky
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

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

2023-10-30 Thread Stefan CORDES
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

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

2023-10-30 Thread mark.yagnatinsky
Maven 3.6.3 ... no overides -Original Message- From: Tamás Cservenák Sent: Monday, October 30, 2023 10:04 AM To: Maven Users List Subject: Re: how to log exact HTTP request and response maven sends over the wire? CAUTION: This email originated from outside our organisation -

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

2023-10-30 Thread Tamás Cservenák
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 wrote: > I'm getting HTTP 400 errors from a repo I'm trying to connect to and I > don't understand why. > Is

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

2023-10-30 Thread mark.yagnatinsky
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