The Archiva Proxy Policies are means to tweak the proxy techniques.
The proxy policies currently in the codebase.
Policy |
Mode |
Description |
Phase |
---|---|---|---|
release |
ALWAYS |
Means that the artifact is always updated from the remote repo. |
Predownload |
|
NEVER |
Means the artifact is never updated from the remote repo. |
Predownload |
|
DAILY |
Release downloads are allowed on a daily basis.
|
Predownload |
|
HOURLY |
Release downloads are allowed on an hourly basis.
|
Predownload |
|
ONCE |
Release downloads occur only ever once. |
Predownload |
snapshots |
ALWAYS |
Means that the artifact is always updated from the remote repo. |
Predownload |
|
NEVER |
Means the artifact is never updated from the remote repo. |
Predownload |
|
DAILY |
Snapshot downloads are allowed on a daily basis.
|
Predownload |
|
HOURLY |
Snapshot downloads are allowed on an hourly basis.
|
Predownload |
|
ONCE |
Snapshot downloads occur only ever once. |
Predownload |
checksum |
IGNORE |
The policy is ignored or skipped. |
Postdownload |
|
FAIL |
If a download doesn't match its remote repository checksum, the download is considered failed. |
Postdownload |
|
FIX |
Fix any downloaded checksums |
Postdownload |
cached-failues |
NO |
Means that the existence of old failures is not checked. All resource requests are allowed thru to the remote repo. |
Predownload |
|
YES |
Means that the existence of old failures is checked, and will prevent the request from being performed against the remote repo. |
Predownload |