gnodet-bot commented on code in PR #2362:
URL: https://github.com/apache/maven-resolver/pull/2362#discussion_r4671601050


##########
src/site/markdown/repository-key-function.md:
##########
@@ -77,9 +77,14 @@ transitively resolved, untrusted POM under the same id as a 
trusted repository 
 origin in a shared local repository. This is scoped to the tracking entries: 
repository aggregation and (split)
 path composition keep following the system-wide function above, whose default 
is unchanged. If the system-wide
 function is explicitly configured, tracking follows it; the 
`aether.system.trackingRepositoryKeyFunction`
-configuration property, when set, overrides both. Tracking entries written 
under a different function than the
-active one are fail-safe: affected artifacts simply appear locally unavailable 
and are re-fetched (with checksum
-validation) once.
+configuration property, when set, overrides both.
+With strict origin checking, tracking entries written under a different 
function than the active one make affected artifacts locally unavailable, so 
they are re-fetched (with checksum validation) once.
+The [enhanced LRM release availability 
policy](local-repository.html#release-availability-policy), controlled by the 
Boolean `aether.lrm.enhanced.ignoreAvailability` (legacy alias 
`aether.enhancedLocalRepository.ignoreAvailability`, with the current key 
taking precedence), can instead reuse tracked releases across an origin 
mismatch without changing repository keys or provenance records.
+Absent an explicit override, this fallback is enabled only for the stock 
default prefix composer factory with split disabled, and is disabled for custom 
composer factories, split enabled, or an explicit 
`aether.chainedLocalRepository.ignoreTailAvailability=false`.

Review Comment:
   ⚠️ **Broken anchor format.** Maven Doxia generates heading anchors as 
`Title_Case_Underscore` (e.g. `#Release_Availability_Policy`), not GitHub-style 
lowercase-hyphenated. This link uses `#release-availability-policy` and will 
produce a 404 fragment on the generated site.
   
   `upgrading-resolver.md` already uses the correct form 
`#Release_Availability_Policy` for the same heading.
   
   ```suggestion
   The [enhanced LRM release availability 
policy](local-repository.html#Release_Availability_Policy), controlled by the 
Boolean `aether.lrm.enhanced.ignoreAvailability` (legacy alias 
`aether.enhancedLocalRepository.ignoreAvailability`, with the current key 
taking precedence), can instead reuse tracked releases across an origin 
mismatch without changing repository keys or provenance records.
   ```



-- 
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