Commit Graph

8784 Commits

Author SHA1 Message Date
Brett Porter 6707098809 [MRM-46] add a basic search action as proof of concept
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@367243 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 08:05:46 +00:00
Brett Porter 25595d78f8 [MRM-46] more skeleton webwork webapp
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@367217 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 06:03:31 +00:00
Brett Porter fffe114af0 ignore
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@367202 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 05:03:34 +00:00
Brett Porter a050176bc6 [MRM-46] Add skeleton webwork webapp
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@367201 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 04:58:17 +00:00
Brett Porter ea01c5f5a4 [MRM-46] Add a very basic CLI interface for some quick tests. These will likely be removed at some point for something that just executes the webwork actions
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@367199 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 04:56:15 +00:00
Brett Porter d56ac4730c remove unused index method - we already obtain the actual instance
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@367192 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 04:29:27 +00:00
Brett Porter be4381e9b4 add repository base to artifact files, they are expected to be absolute
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@367176 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 03:32:02 +00:00
Brett Porter d23ce4c8e0 remove unnecessary methods on index
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@367174 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 03:27:30 +00:00
Brett Porter 5dc3b36312 some cleanup
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@367162 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 02:22:14 +00:00
Brett Porter dfe1b9b09f indexing simplification
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@367160 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 02:16:47 +00:00
Brett Porter d9fa724185 restructure querying to make construction more intuitive
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@367157 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 01:47:23 +00:00
Edwin L. Punzalan 34051c6ab3 PR: MRM-34
Added unit tests and refactored some common code

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@366445 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 07:19:12 +00:00
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 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