Skip to content

Commit 8cd3024

Browse files
committed
doc: minor cleanup
1 parent cd8c17e commit 8cd3024

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/site/markdown/local-repository.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,12 @@ For details see [Named Locks module](maven-resolver-named-locks/).
192192

193193
## Error Handling and Caching
194194

195-
By default each artifact which cannot be resolved leads to an error either classified as
195+
Each artifact/metadata which cannot be resolved leads to an error either classified as
196196

197197
1. *not found* error or
198198
2. (any) *other* error (for authentication issues, timeouts etc.)
199199

200-
The caching behavior for both types can be be configured programmatically via `org.eclipse.aether.DefaultRepositorySystemSession.setResolutionErrorPolicy(...)`.
200+
The caching behavior for both error types can be be configured programmatically via `org.eclipse.aether.DefaultRepositorySystemSession.setResolutionErrorPolicy(...)`.
201201

202202
In case caching is enabled for any of the two classifications a Java Properties file is created/updated (with the same filename as the cached artifact in the success case would get but with the additional suffix `.lastUpdated`) in the local repository. Within that file the key `<canonical-remote-url>.error` is updated/added. Its value either contains the error message (for type 2 resolver errors) or is empty (for type 1 resolver errors).
203203

0 commit comments

Comments
 (0)