Commit Graph

57 Commits

Author SHA1 Message Date
Brett Porter 281b7c59f7 updates to get tests running again
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@379709 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 06:25:11 +00:00
Brett Porter ae38360d9c remove unused fields
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@372714 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 03:23:14 +00:00
Brett Porter 9a8157875a - improve cache, make it more map like and synchronized. Use JDK 1.4 collection LinkedHashMap instead of customised implementation.
- use new digester and clean up related code


git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@360474 13f79535-47bb-0310-9956-ffa450edef68
2006-01-01 02:57:59 +00:00
Brett Porter fed0ab5891 remove impossible condition
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@360173 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 21:54:13 +00:00
Brett Porter 95c50f42ef exception clean up (all done!)
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@360170 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 21:46:08 +00:00
Brett Porter dfc64332c6 continue clean up, refactor some code
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@360168 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 21:22:12 +00:00
Brett Porter d0b9a9aed6 privatising methods
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@360159 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 20:11:56 +00:00
Brett Porter 9660671639 more cleaning up
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@360157 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 20:02:27 +00:00
Brett Porter 2d9c46a8f7 generate descriptor
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@360039 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 08:47:19 +00:00
Brett Porter 4d159b3a26 more cleaning up
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@360028 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 08:24:41 +00:00
Brett Porter 51be545074 null pointer safety
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@360003 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 06:42:13 +00:00
Brett Porter b2db413a75 remove unused method
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@359997 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 06:18:27 +00:00
Brett Porter 3009cb9d42 simplify location processor, and fix bugs discovered due to swallowing exceptions
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@359995 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 06:14:41 +00:00
Brett Porter 49021fda59 simplify retrieval of POM from artifact
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@359990 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 05:10:15 +00:00
Brett Porter 3ff50d2d3a more reformatting
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@359988 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 04:56:52 +00:00
Brett Porter 2df87ca73f reformat
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@359986 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 04:37:28 +00:00
Edwin L. Punzalan fce876f817 PR: MRM-53
Submitted by: Maria Odea Ching

Code to validate pom.xml to be readable into Model.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@356753 13f79535-47bb-0310-9956-ffa450edef68
2005-12-14 08:51:08 +00:00
Edwin L. Punzalan 5736008039 PR: MRM-6
Submitted by: Maria Odea Ching

Validation of artifact physical location against its pom and the pom inside its package

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@356653 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 23:55:33 +00:00
Edwin L. Punzalan 911feec6f7 PR: MRM-39
Added javadoc annotations and improved Cache class

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@356516 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 08:37:00 +00:00
Edwin L. Punzalan 70bbe70782 PR: MRM-39
Added Cache class, and revised CachedRepositoryQueryLayer to use it.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@356503 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 07:52:22 +00:00
Edwin L. Punzalan d874be0a1f PR: MRM-39
Class updates and refactored to share methods with DefaultRepositoryQueryLayer.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@356209 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 08:09:34 +00:00
Edwin L. Punzalan 27ecedd93d PR: MRM-39
Work in progress for the caching query layer

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@355691 13f79535-47bb-0310-9956-ffa450edef68
2005-12-10 02:00:13 +00:00
Edwin L. Punzalan d193ee2ea0 PR: MRM-17
Submitted by: Maria Odea Ching

Additional unit tests

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@355319 13f79535-47bb-0310-9956-ffa450edef68
2005-12-09 02:18:36 +00:00
Edwin L. Punzalan 7edda87949 PR: MRM-17
Submitted by: Maria Odea Ching

Patch is for testing checksum of artifact and metadata files located in remote repository

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@354916 13f79535-47bb-0310-9956-ffa450edef68
2005-12-08 00:19:59 +00:00
Edwin L. Punzalan 2b5e09d679 refactored some codes to use FileUtils instead
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@354744 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 07:11:18 +00:00
Edwin L. Punzalan 079aeac314 updated files to build successfully
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@354743 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 07:06:30 +00:00
Edwin L. Punzalan 5d5425c40c added missing file in previous commit
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@354739 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 06:31:29 +00:00
Edwin L. Punzalan d841495265 PR: MRM-17
Submitted by: Maria Odea Ching

coding progress...

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@354737 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 06:24:04 +00:00
Edwin L. Punzalan 72861ca005 PR: MRM-17
Submitted by: Maria Odea Ching

Applied patch for metadata checksum validation

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@354729 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 06:06:27 +00:00
Edwin L. Punzalan 7f3c7e3b75 More unit tests and some code formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@354723 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 05:45:43 +00:00
Edwin L. Punzalan 6f43288cd1 Added more unit tests
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@354681 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 02:57:16 +00:00
Edwin L. Punzalan d29bd605cc Removed author elements
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@354632 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 00:27:36 +00:00
Edwin L. Punzalan 10897d49bd PR: MRM-2
Submitted by: John Tolentino

More unit tests.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@354393 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 10:09:13 +00:00
Edwin L. Punzalan 84ce34eb77 Added test file into the repository which should be ignored
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@354391 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 09:54:12 +00:00
Edwin L. Punzalan 9d70ac69ed Added 1 more unit test cases
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@354333 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 06:17:58 +00:00
Edwin L. Punzalan 580d326d8e PR: MRM-17
Submitted by: Maria Odea Ching

Also include improvements on BadMetadataReportProcessor metadata handling

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@354326 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 05:55:45 +00:00
Edwin L. Punzalan ff1a2b30c3 Added javadoc annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@354261 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 02:22:53 +00:00
Edwin L. Punzalan 72a2bdf931 PR: MRM-2
Submitted by: John Tolentino

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@354028 13f79535-47bb-0310-9956-ffa450edef68
2005-12-05 09:15:17 +00:00
Edwin L. Punzalan a2fe17693e Added more unit tests
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@354024 13f79535-47bb-0310-9956-ffa450edef68
2005-12-05 09:00:34 +00:00
Brett Porter b58f806f61 temporary method to make it compile
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@354011 13f79535-47bb-0310-9956-ffa450edef68
2005-12-05 08:00:48 +00:00
Edwin L. Punzalan 86e6409019 Completed the junit tests for the BadMetadataProcessor
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@354002 13f79535-47bb-0310-9956-ffa450edef68
2005-12-05 07:12:35 +00:00
Brett Porter 5c3468fad9 some updates to the reports base and tests
- simplify the result classes
- we need a factory component for the query layer, because the query layer needs a repository
- added a mock implementation of the reporter (removed the "default" one which is the same)
- added a default repository query interface that uses the file system
- add a test for the metadata versions not matching the repo
- add some comments

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@353954 13f79535-47bb-0310-9956-ffa450edef68
2005-12-05 01:41:43 +00:00
Edwin L. Punzalan 8f8b59ff02 Added some unit test objects
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@353953 13f79535-47bb-0310-9956-ffa450edef68
2005-12-05 01:20:32 +00:00
Brett Porter 1c688ebb30 remove unneeded dep
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@353824 13f79535-47bb-0310-9956-ffa450edef68
2005-12-04 06:37:29 +00:00
Edwin L. Punzalan 8ac619974c PR: MRM-51
Submitted by: John Tolentino

Mock Objects and additional class files

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@351613 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 06:41:24 +00:00
Edwin L. Punzalan 7695127b05 Renamed object to make the implementation obvious
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@351565 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 03:34:51 +00:00
Edwin L. Punzalan 286bd7bd95 PR: MRM-16
Added missing metadata checks... 

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@351563 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 03:23:43 +00:00
Edwin L. Punzalan c1678e136b PR: MRM-50
Submitted by: John Tolentino

Additional unit tests

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@351553 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 01:38:08 +00:00
Edwin L. Punzalan 649f02cc6d PR: MRM-16
Still incomplete.  Requires unit tests, waiting for abstract unit test.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@350205 13f79535-47bb-0310-9956-ffa450edef68
2005-12-01 08:28:12 +00:00
Edwin L. Punzalan 54991f3c7e Fixing a previous commit error
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@350122 13f79535-47bb-0310-9956-ffa450edef68
2005-12-01 03:13:02 +00:00