Re: 3.9.0 not respecting proxy settings

2023-02-23 Thread Tamás Cservenák
Sure, but Max cannot do that. Will be done in 1.9.6: https://issues.apache.org/jira/browse/MRESOLVER-327 T On Fri, Feb 24, 2023 at 8:39 AM Konrad Windszus wrote: > Why not changing Native to call >

Re: 3.9.0 not respecting proxy settings

2023-02-23 Thread Konrad Windszus
Why not changing Native to call https://hc.apache.org/httpcomponents-client-4.5.x/current/httpclient/apidocs/org/apache/http/impl/client/HttpClientBuilder.html#useSystemProperties() by default (if nothing conflicting is explicitly configured)? That way it would be more compatible with the Wagon

Re: 3.9.0 not respecting proxy settings

2023-02-23 Thread Tamás Cservenák
Howdy, Maven 3.9.0 changes default transport from Wagon to Native HTTP. Native would respect proxy IF set in settings.xml, that as you explain, does not fit your use case. For now, with 3.9.0 you can fallback to Wagon using this "-Dmaven.resolver.transport=wagon" HTH Tamas On Fri, Feb 24, 2023

Deploy javadoc archive only

2023-02-23 Thread Bernhard Schuhmann
Hello! I'm building a JavaDoc archive for a jar file with mvn javadoc:javadoc assembly:single deploy and maven-jar-plugin disabled so that only the JavaDoc archive gets deployed. This has been working until updating to 3.9.0 (maven-deploy-plugin 3.x) -because I only attach the JavaDoc

3.9.0 not respecting proxy settings

2023-02-23 Thread Max Allan
Hi, I've got 2 separate maven builds configured like : mvn clean install -Dhttps.proxyHost=$HTTPS_PROXY_HOST -Dhttps.proxyPort=$HTTPS_PROXY_PORT -Dhttp.proxyHost=$HTTP_PROXY_HOST -Dhttp.proxyPort=$HTTP_PROXY_PORT That works fine on maven 3.8.7 but does not seem to even be trying to connect to

RE: unexpected behavior between inheritance and -dtest with surefire

2023-02-23 Thread DJ Kim
This issue seems to be similar to SUREFIRE-1452. The fix was only applied for TestNG. Sent from Mail for Windows *From: *Tamás Cservenák *Sent: *Wednesday, February 22, 2023 12:19 PM *To: *Maven Users List *Subject: *Re: unexpected behavior

Re: maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-23 Thread Stephane Passignat
thanks, I gave a second try to extensions and it seems works now. stephane Le 2023-02-23 à 09:52, Alexander Kriegisch a écrit : Would you not rather write a Maven plugin or extension for something like that and hook it into the build process globally, so you can use it when specifying

Re: [m-deploy-plugin] Deploy javadoc archive only

2023-02-23 Thread Tamás Cservenák
Howdy, so, personally I am in "limbo" about this, and let me explain why. First let me state that I lack some context here: - why is Bernhard doing this? (is he editing and then "testing" the edited Javadoc? I mean, why is roundtrip needed [the deploy]) - where is he deploying it (some shared

Re: maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-23 Thread Tamás Cservenák
Stephane, "I need to add a library to maven classpath" -> you declare it as a dependency, or I don't get quite the problem (looking at your last but also first mail) You can declare the artifact as project dependency (POM/dependencies) or as plugin dependency (surefire/dependency), which one is

Re: maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-23 Thread Alexander Kriegisch
Would you not rather write a Maven plugin or extension for something like that and hook it into the build process globally, so you can use it when specifying `repository` or `pluginReporitory` entries in the POM needing it? This does not seem to be something limited to certain plugins, if I

[ANN] Maven Resolver 1.9.5 Released

2023-02-23 Thread Tamás Cservenák
The Apache Maven team is pleased to announce the release of the Maven Resolver 1.9.5 https://maven.apache.org/resolver/ Release Notes - Maven Resolver - Version 1.9.5 ** Bug * [MRESOLVER-314] - Getting "IllegalArgumentException: Comparison method violates its general contract!" *