]> source.dussan.org Git - archiva.git/commit
[MRM-577] Release policy of disabled fails all metadata requests.
authorJoakim Erdfelt <joakime@apache.org>
Wed, 31 Oct 2007 22:47:50 +0000 (22:47 +0000)
committerJoakim Erdfelt <joakime@apache.org>
Wed, 31 Oct 2007 22:47:50 +0000 (22:47 +0000)
commit255949579d3ab36bf59eda5948cf28321db59e18
tree8d09d925fc746b82eec48a0f9f094623eee16783
parentb62b18f3786a50f525c8bc6b8521e75274639203
[MRM-577] Release policy of disabled fails all metadata requests.
Fixing release / snapshot policies from applying tests on maven-metadata.xml files.
Creating unit tests for release / snapshot policies.
Switching from boolean return on .applyPolicy() to throwing exception, to gain better logging of why the transfer failed.
Logging policy failures better.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@590858 13f79535-47bb-0310-9956-ffa450edef68
14 files changed:
archiva-base/archiva-policies/src/main/java/org/apache/maven/archiva/policies/AbstractUpdatePolicy.java
archiva-base/archiva-policies/src/main/java/org/apache/maven/archiva/policies/CachedFailuresPolicy.java
archiva-base/archiva-policies/src/main/java/org/apache/maven/archiva/policies/ChecksumPolicy.java
archiva-base/archiva-policies/src/main/java/org/apache/maven/archiva/policies/DownloadPolicy.java
archiva-base/archiva-policies/src/main/java/org/apache/maven/archiva/policies/PolicyConfigurationException.java [new file with mode: 0644]
archiva-base/archiva-policies/src/main/java/org/apache/maven/archiva/policies/PolicyViolationException.java [new file with mode: 0644]
archiva-base/archiva-policies/src/main/java/org/apache/maven/archiva/policies/PostDownloadPolicy.java
archiva-base/archiva-policies/src/main/java/org/apache/maven/archiva/policies/PreDownloadPolicy.java
archiva-base/archiva-policies/src/test/java/org/apache/maven/archiva/policies/AllTests.java [deleted file]
archiva-base/archiva-policies/src/test/java/org/apache/maven/archiva/policies/CachedFailuresPolicyTest.java
archiva-base/archiva-policies/src/test/java/org/apache/maven/archiva/policies/ChecksumPolicyTest.java
archiva-base/archiva-policies/src/test/java/org/apache/maven/archiva/policies/ReleasePolicyTest.java [new file with mode: 0644]
archiva-base/archiva-policies/src/test/java/org/apache/maven/archiva/policies/SnapshotsPolicyTest.java [new file with mode: 0644]
archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java