gnodet commented on PR #13603:
URL: https://github.com/apache/maven/pull/13603#issuecomment-6263865856

   This PR is a companion to #13604 (the master port) and the two must be kept 
in sync.
   
   The implementation strategy is: when at least one new-style policy is set 
(`--artifacts-update-policy` / `--metadata-update-policy`), the 
`DefaultRepositorySystemSessionFactory` uses the **explicit-only** approach — 
only the dimensions that were explicitly specified are set; the legacy `-U` / 
`-nsu` flags are **not** bridged into the unset dimension. This matches the 
behaviour already present on `maven-3.10.x`.
   
   Please do not change the `DefaultRepositorySystemSessionFactory` new-way 
branch back to a `legacyPolicy` fallback — that would diverge from both 
`maven-3.10.x` and the master port (#13604).


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to