Commit Graph

61 Commits

Author SHA1 Message Date
Brett Porter 071eb2dced [MRM-127] add a blackout on discovery to ensure indexer will work correctly in all sensible cases
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@425963 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 04:58:38 +00:00
Brett Porter ab0ca9f0f0 [MRM-127] notes, and skip indexing of null records
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@425936 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 03:03:48 +00:00
Brett Porter b344120221 [MRM-125] only handle remote repository metadata for now
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@425068 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 14:33:48 +00:00
Brett Porter 7e0bf5be8d [MRM-125] separate the timestamp for the metadata and the artifacts to ensure both get resolved
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@425044 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 13:22:32 +00:00
Brett Porter a12af7203c clean up discoverer tests - nulls no longer possible here
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@425029 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 12:45:16 +00:00
Brett Porter 7927d9a184 [MRM-125] add timestamp checking and tests for metadata discovery
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@425025 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 12:39:02 +00:00
Brett Porter bf826a5063 take some notes, merge the model indexing into the artifact indexing (when an artifact is a POM, add the model fields, otherwise treat it as normal). Remove the "Standalone POMs" concept as it was flawed. It would still be beneficial to merge the artifact records in the index when a POM and a JAR exist.
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@424957 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 08:05:19 +00:00
Brett Porter a96bd2dc93 [MRM-125] implement timestamp based discovery
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@424918 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 05:57:01 +00:00
Brett Porter dfebf13ace refactor tests to more appropriate testing of exceptional method
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@424884 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 02:39:57 +00:00
Brett Porter e840139821 add some design notes, and take some other notes about design deficiencies that need to be corrected
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@424881 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 02:27:13 +00:00
Brett Porter e1fcc485de test that the reason is set correctly
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@424875 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 01:42:09 +00:00
Brett Porter a1f72ea29b give more information for discovery problems
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@424587 13f79535-47bb-0310-9956-ffa450edef68
2006-07-22 14:48:16 +00:00
Brett Porter 7a5b4547af clean up some issues and bugs highlighted by inspections
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@417674 13f79535-47bb-0310-9956-ffa450edef68
2006-06-28 05:45:08 +00:00
Edwin L. Punzalan 14d7e27eb8 Refactored tests and created an Abstract test case.
Also, refactored some of the module classes and improved some javadocs.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@414034 13f79535-47bb-0310-9956-ffa450edef68
2006-06-14 03:13:22 +00:00
Edwin L. Punzalan 30602fb39f Added a new class "DiscovererPath" for use to represent paths processed by the Discoverer. Currently used to fill KickedOutPaths and ExcludedPaths
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@413827 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 07:57:20 +00:00
Edwin L. Punzalan 18f031c774 Added reason parameter in kickedOutPaths. Also, added an interface with the kickedOutPaths which two other interfaces extends
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@413818 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 06:53:38 +00:00
Brett Porter 9202e38f96 error handling
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412327 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 08:46:19 +00:00
Maria Odea B. Ching 29225ccd02 Changed role-hint of DefaultMetadataDiscoverer
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412321 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 08:04:31 +00:00
Brett Porter cc5b69ec9f revise tasklist
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412316 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 07:44:47 +00:00
Brett Porter 3e2aef6652 remove artifact utils
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412310 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 07:26:09 +00:00
Brett Porter 8aad68cfe4 general clean up, addition of copyrights
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412295 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 05:47:45 +00:00
Brett Porter 26e9c3b257 refactor discoverer to remove large section of duplicated code
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412022 13f79535-47bb-0310-9956-ffa450edef68
2006-06-06 07:06:05 +00:00
Brett Porter 5c88d781c0 make code portable
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@385959 13f79535-47bb-0310-9956-ffa450edef68
2006-03-15 03:17:24 +00:00
Brett Porter ab1bc02dec make test case portable
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@385958 13f79535-47bb-0310-9956-ffa450edef68
2006-03-15 03:15:15 +00:00
Edwin L. Punzalan 5d8b820e24 PR: MRM-103
Made the artifact discoverers use the artifact utils

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@385716 13f79535-47bb-0310-9956-ffa450edef68
2006-03-14 02:29:50 +00:00
Edwin L. Punzalan 0853f5314d Removed / commented usage of System.out and System.err... replaced them with logger when available.
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@384405 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 02:30:12 +00:00
Edwin L. Punzalan 4bb48a7d7b PR: MRM-42
Submitted by: Maria Odea Ching

Applied patch fixed a bug from scheduler and indexer usage

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@382329 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 09:21:15 +00:00
Edwin L. Punzalan 05fbe873cf PR: MRM-41
Additional files that were not added to svn in my last commit

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@381531 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 01:26:27 +00:00
Edwin L. Punzalan 8ba07b9513 PR: MRM-41
Submitted by: John Tolentino

Patch to discover standalone poms

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@380295 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 01:46:55 +00:00
Edwin L. Punzalan af47dd19e0 PR: MRM-43
Refactored buildArtifact method from DefaultArtifactDiscoverer.java to a new class in maven-repository-utils for use maven-repository-proxy

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@373773 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 09:15:13 +00:00
Brett Porter 881f7b7017 set repository on discovery of artifacts
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@369128 13f79535-47bb-0310-9956-ffa450edef68
2006-01-15 00:30:24 +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 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 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 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 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 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
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 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 8c5813308d more test coverage
PR: MRM-9

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@349703 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 10:53:28 +00:00
Brett Porter 5040db2f65 test classifiers and custom types
PR: MRM-9

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@349700 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 10:38:58 +00:00