apache / apache/maven

[MNG-5428] Update documentation to make it clear released artifacts are *never* updated in the local cache

Open
#6,502 10 comments 0 reactions 0 assignees View on GitHub
documentation priority:minor
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 40m
Merged PRs (30d)
275

Description

**[Kent Moore](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=skentmoore)** opened **[MNG-5428](https://issues.apache.org/jira/browse/MNG-5428?redirect=false)** and commented

A literal reading of the "updatePolicy" section of http://maven.apache.org/ref/3.0.4/maven-settings/settings.html, as well as Maven help for the "-U" option, makes it seem as though Maven is capable of updating release artifacts in the local cache. But that is not the case.

I believe the documentation in both areas should be updated to make it clear released artifacts are **never** re-downloaded to the local Maven cache, even if the repository manager contains a newer version of the release (which shouldn't ever happen, but....).

See http://mail-archives.apache.org/mod_mbox/maven-users/201301.mbox/%3CCANdpH_0qHU5grD%3D%3DPRWDJiU7YFsoqw8T0Az0XTJRD7%3DOtwMjtw%40mail.gmail.com%3E.

---

**Affects:** 3.3.9

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.