Commit Graph

3587 Commits

Author SHA1 Message Date
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 41b3eb4635 Added javadoc annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@385518 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 11:31:47 +00:00
Edwin L. Punzalan b96a6851aa unloaded ArtifactUtils.buildArtifact() not to handle m1 paths and created buildArtifactFromLegacyPath to do it instead.
Added unit tests for the legacy path

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@385513 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 11:17:31 +00:00
Edwin L. Punzalan 3bb32024d5 Updated javadoc annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@385501 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 10:42:34 +00:00
Edwin L. Punzalan ad1714a02d Applied code formatting and removed System.out usage
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@385495 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 10:28:37 +00:00
Edwin L. Punzalan 28ef845ed9 PR: MRM-102
Applied suggested revisions on MRM proxy

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@385494 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 10:27:36 +00:00
Edwin L. Punzalan 981f5888e0 Fixed build errors from proxy
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@385009 13f79535-47bb-0310-9956-ffa450edef68
2006-03-11 05:18:17 +00:00
Brett Porter 681539a819 updates to get tests running again
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@384996 13f79535-47bb-0310-9956-ffa450edef68
2006-03-11 03:06:36 +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
Brett Porter 3a6fbd5217 [MSUREFIRE-23] restructure to allow different test suites to behave identically. Also improved class loader separation by not merging surefire and test classloaders, and renamed 'battery' references to 'test set'. TestNG support is currently commented out, and exception handling needs a cleanup, which will follow.
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@382683 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 06:07:26 +00:00
Edwin L. Punzalan 4afdf35958 PR: MRM-99
Submitted by: Maria Odea Ching

Applied patch to use RepositoryIndexSearchLayer for searching in packages

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@382635 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 03:23:32 +00:00
Edwin L. Punzalan 49c31dcdb8 PR: MRM-98
Submitted by: John Tolentino

Applied to use the plexus configuration for index and repository path

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@382623 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 02:41:52 +00:00
Edwin L. Punzalan 679c02737a PR: MRM-81
Submitted by: John Tolentino

Applied second patch

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@382358 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 11:52:59 +00:00
Edwin L. Punzalan cbfc5b63db PR: MRM-36
Submitted by: Maria Odea Ching

Applied patch for discovery and indexing schedule

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@382337 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 09:53:40 +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 43b79ffe9d Fixed a unit test bug that would vary the timestamp of a file on a different machine.
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@381999 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 12:04:28 +00:00
Edwin L. Punzalan 8d1880e028 PR: MRM-81
Submitted by: John Tolentino

Applied patch for general search webapp and configuration

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@381994 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 11:39:07 +00:00
Edwin L. Punzalan a6887b9758 Demoted the analyzer into an inner class
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@381621 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 10:05:43 +00:00
Edwin L. Punzalan 1604310157 PR: MRM-91
Added a second index object with the option to create an archived copy

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@381609 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 09:42:39 +00:00
Jason van Zyl a177ae145c adding for reference
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@381537 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 02:01:37 +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 3e17559c0a PR: MRM-59
Revised the unit test to use its own repository cache using the appropriate repository.  Btw, this shows that the cache layout reflect the proxy configuration layout.  This is needed so that checksums on 1.x repositories are located in the same directory as the checksumed file.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@380875 13f79535-47bb-0310-9956-ffa450edef68
2006-02-25 00:41:42 +00:00
Edwin L. Punzalan 76e034ab47 PR: MRM-59
Made the proxy able to respond to m1 path requests

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@380871 13f79535-47bb-0310-9956-ffa450edef68
2006-02-25 00:17:39 +00:00
Edwin L. Punzalan c810070fd7 PR: MRM-59
Added basic maven 1.x path parsing to the utils

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@380602 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 06:30:13 +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 69e3cfc270 PR: MRM-74
Submitted by: Nick Gonzalez

Applied patch for browse user interface and applied code formatting

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@380051 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 06:53:23 +00:00
Edwin L. Punzalan 2448efd5a0 Fixed error when building bec of a lack in dependency.
Wonder why we didn't catch this error earlier

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@380049 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 06:37:50 +00:00
Edwin L. Punzalan 28d269cb00 replaced usage of FileUtils.contentEquals() to private method compareFiles()
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@380034 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 03:27:56 +00:00
Brett Porter cbd3b3958d ignore xml header altogether
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@380033 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 03:20:23 +00:00
Edwin L. Punzalan d40c649157 PR: MRM-38
Submitted by: John Tolentino

This is the correct patch for the background scheduler.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@380029 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 02:33:57 +00:00
Edwin L. Punzalan 550c936a33 PR: MRM-38
Reverted to previous revision bec prev patch is incorrect

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@380028 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 02:32:31 +00:00
Edwin L. Punzalan df04a57088 PR: MRM-38
Submitted by: John Tolentino

patch for background task scheduler

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@380024 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 02:19:17 +00:00
Edwin L. Punzalan 9f13396757 PR: MRM-13
part 2 of previous commit: 

moved the expected files from target-repository to expected-files

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@379729 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 08:19:06 +00:00
Edwin L. Punzalan addb3a1a22 PR: MRM-13
moved the expected files from target-repository to expected-files

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@379728 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 08:17:12 +00:00
Edwin L. Punzalan fe19f5bffc removed <?xml version ... on expected files which breaks the build.
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@379726 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 08:09:29 +00:00
Edwin L. Punzalan bb16843c67 PR: MRM-13
Handled relocation information in v3 poms.  Includes creation of relocation pom and relocated the pom and jar to its new location.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@379722 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 07:49:59 +00:00
Brett Porter 341e4a2be5 revert auto formatting from IDEA that breaks tests
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@379715 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 06:43:31 +00:00
Brett Porter 00fc47d05c update versions
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@379714 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 06:43:07 +00:00
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 c2868b5625 update versions, ignores
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@379683 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 04:59:57 +00:00
Brett Porter aaf252d7f0 use plexus-utils in this library, ensure we get the managed version
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@379674 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 04:24:36 +00:00
Edwin L. Punzalan 43fc91d333 Applying code formatting...
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@379656 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 02:40:21 +00:00
Edwin L. Punzalan edd8a998aa PR: MRM-57, MRM-58
Submitted by: Maria Odea Ching

patch fix for general search

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@379654 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 02:39:04 +00:00
Edwin L. Punzalan 1c896a2d48 PR: MRM-97
Added hardfail unit test on configuration

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@379031 13f79535-47bb-0310-9956-ffa450edef68
2006-02-20 06:01:18 +00:00
Edwin L. Punzalan 644ee33484 PR: MRM-97
Added hardfail configuration option in ProxyRepository and implemented it in DefaultProxyManager

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@379010 13f79535-47bb-0310-9956-ffa450edef68
2006-02-20 03:42:00 +00:00
Edwin L. Punzalan 136af3e214 PR: MRM-96
Enabled use of proxy and added import of proxy configuration from maven-proxy configuration file.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@378453 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 07:19:44 +00:00
Edwin L. Punzalan 4ad366c501 PR: MRM-95
Added cacheFailure and cachePeriod to the repository configuration.  cacheFailure not yet implemented in this commit.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@378422 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 03:39:45 +00:00
Edwin L. Punzalan f1f0d41869 Fixed error when proxy is built from parent
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@378149 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 03:01:23 +00:00
Edwin L. Punzalan bd1033c24f Submitted by: Maria Odea Ching
from dev list:
- fix error in PackageSearchAction
- changed ArtifactRepositoryIndexSearcher searcher = indexFactory.createArtifactRepositoryIndexSearcher( index ) to DefaultRepositoryIndexSearcher searcher = indexFactory.createDefaultRepositoryIndexSearcher( index )

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@378147 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 02:55:46 +00:00
Edwin L. Punzalan 1a6bde0961 Submitted by: Maria Odea Ching
- fix error in IndexSearcherCli
- changed ArtifactRepositoryIndexSearcher searcher = indexFactory.createArtifactRepositoryIndexSearcher( index ) to DefaultRepositoryIndexSearcher searcher = indexFactory.createDefaultRepositoryIndexSearcher( index ) 

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@378146 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 02:54:57 +00:00