]> source.dussan.org Git - archiva.git/commit
[MRM-453]
authorMaria Odea B. Ching <oching@apache.org>
Mon, 27 Aug 2007 12:27:13 +0000 (12:27 +0000)
committerMaria Odea B. Ching <oching@apache.org>
Mon, 27 Aug 2007 12:27:13 +0000 (12:27 +0000)
commit124fe26ea95fa216e45c53b7bc5cd3f7b4796999
treef61e526d0534c11d5ebb3e51361fd9a16d990e71
parent51e10b336484b9a1dafce153826d870d42ec145b
[MRM-453]
- Added tests for metadata driven snapshots in DaysOldRepositoryPurgeTest
- Added test data

Changes made in DaysOldRepositoryPurge:
- Added functionality to consider the metadata driven snapshots (check the timestamp in the filename first before the last modified date of the
file if it is a unique versioned snapshot)

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@570089 13f79535-47bb-0310-9956-ffa450edef68
23 files changed:
archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/repository/DaysOldRepositoryPurge.java
archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/maven/archiva/consumers/core/repository/AbstractRepositoryPurgeTest.java
archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/maven/archiva/consumers/core/repository/DaysOldRepositoryPurgeTest.java
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/maven-metadata-codehaus-snapshots.xml [new file with mode: 0644]
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/maven-metadata-codehaus-snapshots.xml.sha1 [new file with mode: 0644]
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/plexus-utils-1.4.3-20070113.163208-4.jar [new file with mode: 0644]
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/plexus-utils-1.4.3-20070113.163208-4.jar.sha1 [new file with mode: 0644]
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/plexus-utils-1.4.3-20070113.163208-4.pom [new file with mode: 0644]
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/plexus-utils-1.4.3-20070113.163208-4.pom.sha1 [new file with mode: 0644]
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/plexus-utils-1.4.3-20070618.102615-5.jar [new file with mode: 0644]
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/plexus-utils-1.4.3-20070618.102615-5.jar.sha1 [new file with mode: 0644]
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/plexus-utils-1.4.3-20070618.102615-5.pom [new file with mode: 0644]
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/plexus-utils-1.4.3-20070618.102615-5.pom.sha1 [new file with mode: 0644]
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/plexus-utils-1.4.3-20070630.113158-6.jar [new file with mode: 0644]
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/plexus-utils-1.4.3-20070630.113158-6.jar.sha1 [new file with mode: 0644]
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/plexus-utils-1.4.3-20070630.113158-6.pom [new file with mode: 0644]
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/plexus-utils-1.4.3-20070630.113158-6.pom.sha1 [new file with mode: 0644]
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/plexus-utils-1.4.3-20070707.122114-7.jar [new file with mode: 0644]
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/plexus-utils-1.4.3-20070707.122114-7.jar.sha1 [new file with mode: 0644]
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/plexus-utils-1.4.3-20070707.122114-7.pom [new file with mode: 0644]
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/plexus-utils-1.4.3-20070707.122114-7.pom.sha1 [new file with mode: 0644]
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/plexus-utils-1.4.3-SNAPSHOT.jar [new file with mode: 0644]
archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/test-repo/org/codehaus/plexus/plexus-utils/1.4.3-SNAPSHOT/plexus-utils-1.4.3-SNAPSHOT.pom [new file with mode: 0644]