Commit Graph

3608 Commits

Author SHA1 Message Date
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
Edwin L. Punzalan dc7e193c06 PR: MRM-62
Allowed the ProxyConfiguration object to read the maven-proxy configuration by copying codes from the maven-proxy source itself

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@377968 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 08:56:29 +00:00
Edwin L. Punzalan f6bd2f7e05 Deleted 0 length unused files
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@377320 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 08:18:27 +00:00
Edwin L. Punzalan b06ee5cab3 PR: MRM-69
Patch for querying everything

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@376221 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 08:38:00 +00:00
Edwin L. Punzalan 28cc5e7180 PR: MRM-43
Added how-to apt

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@376214 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 07:41:43 +00:00
Edwin L. Punzalan 19a7ecb869 PR: MRM-43
Added javadoc annotations

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@376174 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 03:38:15 +00:00
Edwin L. Punzalan 9c9178d60f MRM-43
Applied code formatting

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@376170 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 03:21:27 +00:00
Edwin L. Punzalan 69ee104b55 MRM-43
More junit coverage

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@376168 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 03:19:34 +00:00
Edwin L. Punzalan f04a7ab30f PR: MRM-43
added more unit test coverage

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@376149 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 02:26:30 +00:00
Edwin L. Punzalan a12ef6e863 PR: MRM-43
Removed URL format requirement on cache path

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@375838 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 03:30:58 +00:00
Edwin L. Punzalan 321a75da80 PR: MRM-43
Added a factory and made sure the proxy instance will always have a configuration when run.  Current unit tests status also included.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@375827 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 02:10:14 +00:00
Edwin L. Punzalan 83eabf5929 PR: MRM-43
Added javadoc annotations and some code improvements

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@374828 13f79535-47bb-0310-9956-ffa450edef68
2006-02-04 03:37:44 +00:00
Edwin L. Punzalan 70e1d9ddb3 PR: MRM-43
Added ResourceDoesNotExistException in interface and implementation

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@374824 13f79535-47bb-0310-9956-ffa450edef68
2006-02-04 02:44:43 +00:00
Edwin L. Punzalan 5a63d9fc3b PR: MRM-43
Removed unused methods/parameters

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@374820 13f79535-47bb-0310-9956-ffa450edef68
2006-02-04 02:39:24 +00:00
Edwin L. Punzalan ad54aa84ac Added ResourceNotFoundException in the method signatures instead of ProxyException when a remote file isn't found in any of the repositories.
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@374819 13f79535-47bb-0310-9956-ffa450edef68
2006-02-04 02:33:50 +00:00
Edwin L. Punzalan a810d468c9 PR: MRM-43
Added digester usage from utils
Removed m1 client support from DefaultProxyManager.java (m1 support should be done in another class, maybe LegacyProxyManager)
Removed unused classes: Checksum.java and DefaultRepositoryFileManager.java
Added unit tests for configuration package

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@374817 13f79535-47bb-0310-9956-ffa450edef68
2006-02-04 02:26:29 +00:00
Edwin L. Punzalan 14c13708da PR: MRM-43
Ooops... one of the deps should be scope = test   ^_^

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@374315 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 09:02:20 +00:00
Edwin L. Punzalan 2e6bf7bf83 PR: MRM-43
Added unit tests for ArtifactUtils.java

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@374306 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 08:52:25 +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
Edwin L. Punzalan c2713e0c4f PR: MRM-43
Made the class method more general

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@373697 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 04:26:01 +00:00
Brett Porter fc03f60797 copyright and reformat
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@373689 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 03:44:13 +00:00
Edwin L. Punzalan 93dcc42646 Added proxy module
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@373670 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 02:13:38 +00:00
Brett Porter ad0403b208 small tweaks
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@373419 13f79535-47bb-0310-9956-ffa450edef68
2006-01-30 03:09:30 +00:00
Edwin L. Punzalan 940e56f246 Submitted by: Maria Odea Ching
Addresses code concerns raised by brett in the dev mailing list.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@373417 13f79535-47bb-0310-9956-ffa450edef68
2006-01-30 02:51:46 +00:00
Brett Porter be9c26c8cc [MRM-9] add transactional capabilities
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@373039 13f79535-47bb-0310-9956-ffa450edef68
2006-01-28 00:18:51 +00:00
Brett Porter fa1de2a3e6 [MRM-9] test invalid source snapshot metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@373022 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 23:15:17 +00:00
Brett Porter d215b81192 [MRM-9] test invalid source metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@372775 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 07:31:51 +00:00
Brett Porter 426cafec16 [MRM-9] test identical source and target repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@372767 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 06:24:45 +00:00
Brett Porter a4f75db365 [MRM-9] dry run tests
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@372763 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 05:57:54 +00:00
Brett Porter 9ecb2cca17 [MRM-9] more tests
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@372754 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 05:51:51 +00:00