[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
* Adding <archiva:downloadArtifact /> taglib.
* Adding ability to download sources, javadoc, and client jars too.
* Adding ActiveManagedRepositories class to aide in anonymous artifact handling.
* Adding test-repository for maven 2.x j2ee artifacts with sources / javadoc / client jars.
* Adding ManagedArtifact class to track this relationship between main artifact and attached artifacts.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@503520 13f79535-47bb-0310-9956-ffa450edef68
[MRM-142, MRM-134] remove timestamp handling and instead simply index records that aren't previously indexed. We can add timestamp checking for updating records later, but this removes the problems associated with relying on filesystem timestamps and a single tracking timestamp.
Included in this fix is some refactoring to reduce memory usage, including a hack to flush the project cache periodically. This hack can be removed when the project cache is configurable (see MRM-142).
This now indexes the ibiblio repository from scratch in ~23 minutes, and incremental indexing takes 30-60 seconds.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@439935 13f79535-47bb-0310-9956-ffa450edef68