Re: Nexus returns 400 Bad Request

2024-01-24 Thread Romain Manni-Bucau
Hi tison, As mentionned it depends the "impl" you use but for jdk (mvn4) it will be https://github.com/apache/maven-resolver/blob/master/maven-resolver-transport-jdk-parent/maven-resolver-transport-jdk-11/src/main/java/org/eclipse/aether/transport/jdk/JdkTransporter.java#L347 (also check out the o

Re: Nexus returns 400 Bad Request

2024-01-24 Thread tison
Thanks for your reply! > Maybe that is a bug in Nexus itself. I ever thought of it. But according to Romain's comment, it seems the MavenSession has the information but not printed out. > if you feel motivated to send a pr it would be welcomed I guess. I'd like to spend some time to see if I ca

How to test lifecycle extension?

2024-01-24 Thread tison
Hi, I'm writing a Mojo with an Extension extending AbstractMavenLifecycleParticipant. Now, I'd like to write some tests on the extension logic. Although Maven provides docs about writing tests over Mojos[1], it doesn't tell how to test if an extension [2] is properly loaded and executed. Are the

Re: Using .git-blame-ignore-revs with reordered lines

2024-01-24 Thread Konrad Windszus
Ping, does anyone have any input on this? Would be much appreciated, Thanks, Konrad > On 8. Jan 2024, at 19:16, Konrad Windszus wrote: > > Hi, > > According to https://maven.apache.org/pom/maven/#the-format-profile the git > commits created through applying the spotless formatting should be ig