Commit Graph

37 Commits

Author SHA1 Message Date
Edwin L. Punzalan a3cadd446f Reformat code
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@366113 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 08:01:05 +00:00
Edwin L. Punzalan cd29b31cc0 PR: MRM-34
Added Pom indexer and searcher.  Also refactored some common code.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@366112 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 08:00:17 +00:00
Edwin L. Punzalan 971aa0de8e reformat code by IntelliJ code formatter using maven codestyle xml
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@366107 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 07:25:47 +00:00
Edwin L. Punzalan fb86ea58d6 PR: MRM-44
Submitted by: Maria Odea Ching

Patch for searching by groupId, artifactId, version, name, package, class, and file.  Also allowed nested searching using AND and OR.

Refactored the Searcher for common code and placed them inside an Abstract class.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@366106 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 07:20:26 +00:00
Edwin L. Punzalan 516ebb6b95 Removing @todos ...
the methods in Abstract are all lucene index methods/validations which can be used by pom and metadata indices

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@365835 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 06:12:34 +00:00
Edwin L. Punzalan d2abff1bda PR: MRM-54
Added unit tests and fixed missing implements in AbstractCompoundQuery

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@365806 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 03:09:05 +00:00
Edwin L. Punzalan 02f621dc54 PR: MRM-54
Added Query classes for index searching

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@365802 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 02:27:06 +00:00
Edwin L. Punzalan 8ad8ba83ef Removed unused imports
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@365595 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 09:57:08 +00:00
Edwin L. Punzalan 821efbbe2b Updated ArtifactRepositoryIndexSearcher to use factory
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@365594 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 09:55:29 +00:00
Edwin L. Punzalan 947d8180d8 Added repository field encapsulation
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@365592 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 09:46:10 +00:00
Edwin L. Punzalan c4a2df22e5 Added factory for ArtifactRepositoryIndex
Removed usage of src/test/index createTestIndex (renamed from testIndex() which gave the wrong impression) will create the index needed

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@365590 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 09:34:00 +00:00
Edwin L. Punzalan aadae96321 Updated RepositoryIndexSearcher to search for more than one field.
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@365553 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 06:45:51 +00:00
Brett Porter 886935309f add some more comments
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@365548 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 06:03:51 +00:00
Brett Porter 1c39abca57 use new digester and clean up related code
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@360475 13f79535-47bb-0310-9956-ffa450edef68
2006-01-01 02:58:35 +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 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 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 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 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
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