You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "slachiewicz (via GitHub)" <gi...@apache.org> on 2026/09/03 16:32:25 UTC

[PR] Fix HTTP auth scope, preemptive PUT, timeout merge semantics, and README [maven-wagon]

slachiewicz opened a new pull request, #960:
URL: https://github.com/apache/maven-wagon/pull/960

   Forward-port of #959 to master.
   
   Consolidated quick-win bugfixes for HTTP configuration, authentication handling, and developer documentation:
   
   - **#907**: Correct `README.md` line 62 test instruction from non-existent `mvn -Prun-its verify` to `mvn verify` (and document `-Dssh-tests -Dssh-embedded=true`).
   - **#910**: Map `<realm>ANY</realm>` to `AuthScope.ANY_REALM` in `BasicAuthScope.java` instead of the literal string `"ANY"`, matching the host and port handling.
   - **#906**: Make `usePreemptive` a `Boolean` in `HttpMethodConfiguration` so that `copy()` and `ConfigurationUtils.merge()` preserve it across method blocks and `<all>`.
   - **#908**: Make timeouts nullable in `HttpMethodConfiguration` and check `isConnectionTimeoutSet()` / `isReadTimeoutSet()` so `ConfigurationUtils.copyConfig()` does not discard timeouts configured on `Wagon`, and `merge()` allows overriding timeouts back to default values. Added comprehensive `ConfigurationUtilsTest`.
   - **#909**: Remove unconditional priming of the auth cache in `AbstractHttpClientWagon.put()` so that PUT requests only authenticate preemptively when configured, and update `HttpWagonTest` accordingly.
   
   Fixes #906
   Fixes #907
   Fixes #908
   Fixes #909
   Fixes #910


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix HTTP auth scope, preemptive PUT, timeout merge semantics, and README [maven-wagon]

Posted by "slachiewicz (via GitHub)" <gi...@apache.org>.
slachiewicz merged PR #960:
URL: https://github.com/apache/maven-wagon/pull/960


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix HTTP auth scope, preemptive PUT, timeout merge semantics, and README [maven-wagon]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #960:
URL: https://github.com/apache/maven-wagon/pull/960#issuecomment-5529043260

   @slachiewicz Please assign appropriate label to PR according to the type of change.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org