Commit Graph

108 Commits

Author SHA1 Message Date
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 50c62c3db7 remove outdated comments
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@360473 13f79535-47bb-0310-9956-ffa450edef68
2006-01-01 02:56:07 +00:00
Brett Porter 50e313727b add utils project
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@360472 13f79535-47bb-0310-9956-ffa450edef68
2006-01-01 02:55:45 +00:00
Brett Porter 02020af0a9 add digester in a utility project
PR: MRM-9


git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@360471 13f79535-47bb-0310-9956-ffa450edef68
2006-01-01 02:55:24 +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 fdc941efd5 generated descriptor
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@360037 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 08:37:14 +00:00
Brett Porter 31515d5b96 generate plexus descriptor
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@360035 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 08:33:44 +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 901a2bfeb9 clean up in line with inspections
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@360002 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 06:38:23 +00:00
Brett Porter 9ac0fb324e clean up in line with inspections
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@360001 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 06:32:47 +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 15da6122ee refactor to share code
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@359987 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 04:52:59 +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
Brett Porter 80fd208935 cleanup formatting, and force all paths to use '/' so it works on Windows and Unix
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@359981 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 04:05:25 +00:00
Brett Porter 721adc94cc move the test search index into a reproducable place - tests were failing on multiple runs without a clean
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@359977 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 03:41:35 +00:00
Brett Porter d31500ce00 ignore
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@359691 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 03:05:28 +00:00
Edwin L. Punzalan db3869de17 Removed unnecessary imports and added some missing license texts
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@359195 13f79535-47bb-0310-9956-ffa450edef68
2005-12-27 09:39:08 +00:00
Edwin L. Punzalan edec66f10e Removed requirement for a factory and refactored object names and methods
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@359192 13f79535-47bb-0310-9956-ffa450edef68
2005-12-27 09:17:22 +00:00
Edwin L. Punzalan 962ab23fef Renamed RepositorySearcher to RepositoryIndexSearcher and also some more refactoring
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@359164 13f79535-47bb-0310-9956-ffa450edef68
2005-12-27 03:28:27 +00:00
Edwin L. Punzalan 36a17707a6 Refactor and code formatting only
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@359163 13f79535-47bb-0310-9956-ffa450edef68
2005-12-27 02:57:56 +00:00
Edwin L. Punzalan deba390c88 Added javadoc annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@359161 13f79535-47bb-0310-9956-ffa450edef68
2005-12-27 02:34:36 +00:00
Edwin L. Punzalan e4ee2ce3e6 Removing @author references to Maria Odea Ching's from submitted patches
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@359159 13f79535-47bb-0310-9956-ffa450edef68
2005-12-27 01:57:01 +00:00
Edwin L. Punzalan 398db2ddf6 PR: MRM-39
Submitted by: Maria Odea Ching

ArtifactIndexSearcher classes.  Also, added more unit test coverage

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@358756 13f79535-47bb-0310-9956-ffa450edef68
2005-12-23 07:06:14 +00:00
Edwin L. Punzalan 5e6fb5ce46 Added custom artifact analyzer
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@358691 13f79535-47bb-0310-9956-ffa450edef68
2005-12-23 03:35:42 +00:00
Edwin L. Punzalan 269a68dc2d More unit tests
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@358530 13f79535-47bb-0310-9956-ffa450edef68
2005-12-22 08:38:32 +00:00
Edwin L. Punzalan 79cc334d69 Adding more unit test files
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@358525 13f79535-47bb-0310-9956-ffa450edef68
2005-12-22 08:07:33 +00:00
Edwin L. Punzalan c9d2f469d0 Added plexus component.xml
Added unit test and files.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@358523 13f79535-47bb-0310-9956-ffa450edef68
2005-12-22 07:58:42 +00:00
Edwin L. Punzalan 58d71d96ef Refactored classes and added some more interface methods
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@358512 13f79535-47bb-0310-9956-ffa450edef68
2005-12-22 06:37:47 +00:00
Edwin L. Punzalan f5fd4662fe PR: MRM-33
Added indexer for an artifact jar

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@358507 13f79535-47bb-0310-9956-ffa450edef68
2005-12-22 05:53:53 +00:00
Edwin L. Punzalan 833d9c7c9e Updated working base
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@358229 13f79535-47bb-0310-9956-ffa450edef68
2005-12-21 09:01:32 +00:00
Edwin L. Punzalan 79a092fb4b updating classes for compile
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@358196 13f79535-47bb-0310-9956-ffa450edef68
2005-12-21 03:28:31 +00:00
Edwin L. Punzalan 99757aa343 Adding maven-repository-indexer
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@358176 13f79535-47bb-0310-9956-ffa450edef68
2005-12-21 01:54:19 +00:00
Brett Porter 13f45243c0 temporarily omit checkstyle until we have a style
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@357635 13f79535-47bb-0310-9956-ffa450edef68
2005-12-19 05:08:41 +00:00
Edwin L. Punzalan ce8af0b78a PR: MRM-42
Submitted by: Maria Odea Ching

Added missing files

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@357621 13f79535-47bb-0310-9956-ffa450edef68
2005-12-19 03:07:55 +00:00
Edwin L. Punzalan 94473e23b3 PR: MRM-42
Submitted by: Maria Odea Ching

Class for discovering repository metadata and fixed failing tests on DefaultArtifactDiscovererTest and LegacyArtifactDiscovererTest

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@357620 13f79535-47bb-0310-9956-ffa450edef68
2005-12-19 03:04:49 +00:00
Brett Porter 053d76faff remove unreleased report
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@356903 13f79535-47bb-0310-9956-ffa450edef68
2005-12-14 22:55:39 +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
Brett Porter 7a99121800 switch to cobertura
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@356295 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 17:33:09 +00:00