Commit Graph

66 Commits

Author SHA1 Message Date
Brett Porter 08b5d38cc5 adjust cobertura settings to make all pass for now
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@437078 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 04:49:08 +00:00
Brett Porter 0ad4610548 [MRM-138] make the proxy downloader thread-safe
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@437071 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 03:59:13 +00:00
Brett Porter b9fba5db77 [MRM-138] clean up some more logging
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@431569 13f79535-47bb-0310-9956-ffa450edef68
2006-08-15 10:23:00 +00:00
Brett Porter 0177502017 [MRM-138] fix logging, improve speed of tests and improve metadata handling
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@431536 13f79535-47bb-0310-9956-ffa450edef68
2006-08-15 05:49:53 +00:00
Brett Porter 8c96d47a9d [MRM-138] add legacy layout tests
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@431367 13f79535-47bb-0310-9956-ffa450edef68
2006-08-14 15:20:08 +00:00
Brett Porter e31602a2a4 [MRM-138] add snapshot tests
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@431347 13f79535-47bb-0310-9956-ffa450edef68
2006-08-14 13:40:56 +00:00
Brett Porter 84d65d7085 [MRM-138] add metadata tests and complete merge implementation
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@431292 13f79535-47bb-0310-9956-ffa450edef68
2006-08-14 05:01:29 +00:00
Brett Porter 5dc6004d8f [MRM-138] proxy checksum requests only to the managed repo
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@431278 13f79535-47bb-0310-9956-ffa450edef68
2006-08-14 01:29:21 +00:00
Brett Porter 48ecdcf197 [MRM-138] add checksum tests and bugfixes, refactor digest utils out
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@431275 13f79535-47bb-0310-9956-ffa450edef68
2006-08-14 00:52:42 +00:00
Brett Porter a570a12409 [MRM-138] add expiry to failure cache
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@431143 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 04:12:06 +00:00
Brett Porter ba2bef3cd3 [MRM-138] add more proxy tests, and fix a bug where a cached failure would not trigger a hard failure on a repository configured to
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@431137 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 02:51:39 +00:00
Brett Porter 58463f598f [MRM-138] add more proxy tests
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@431135 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 02:22:06 +00:00
Brett Porter f2fb641b50 [MRM-138] begin to flesh out proxy tests. Some bugs carried over from previous version already found have been noted.
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@431029 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 13:00:14 +00:00
Brett Porter d6f70d5e23 [MRM-138] rewritten the proxy and cleaned house. Moved maven-proxy config loader to config module and boosted tests. More tests still needed on proxy, core and webapp.
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@430971 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 04:31:55 +00:00
Brett Porter ce29219ee6 change required after plexus update
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@429587 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 05:34:22 +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 bc577a44eb Moved releases and snapshot policies into the proxy configuration class
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@414095 13f79535-47bb-0310-9956-ffa450edef68
2006-06-14 05:54:38 +00:00
Edwin L. Punzalan 3e28334fa3 moved configuration validations inside the configuration object
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@414043 13f79535-47bb-0310-9956-ffa450edef68
2006-06-14 03:48:25 +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
Edwin L. Punzalan b6dd4adbe6 more unit tests
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412984 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 08:54:31 +00:00
Brett Porter bda451364b [MRM-118] proxy config is not a component
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412658 13f79535-47bb-0310-9956-ffa450edef68
2006-06-08 04:59:55 +00:00
Brett Porter 1ef50fd5bd [MRM-118] proxy config is not a component
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412654 13f79535-47bb-0310-9956-ffa450edef68
2006-06-08 04:45:07 +00:00
Brett Porter 85d48bdf93 some more notes
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412324 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 08:19:57 +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 24873267f7 add some checks and notes
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412028 13f79535-47bb-0310-9956-ffa450edef68
2006-06-06 07:42:03 +00:00
Brett Porter 04575ed5bc add some checks and notes
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412024 13f79535-47bb-0310-9956-ffa450edef68
2006-06-06 07:26:13 +00:00
Edwin L. Punzalan eab4cc7819 Applied code formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@386246 13f79535-47bb-0310-9956-ffa450edef68
2006-03-16 03:17:52 +00:00
Edwin L. Punzalan 859145b3df PR: MRM-105
executed cacheFailure configuration option

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@386244 13f79535-47bb-0310-9956-ffa450edef68
2006-03-16 02:57:41 +00:00
Edwin L. Punzalan d3e88a986a PR: MRM-107
Removed classes from maven-proxy that may not be required at all.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@386036 13f79535-47bb-0310-9956-ffa450edef68
2006-03-15 10:27:57 +00:00
Brett Porter 649605f5db tweak doc
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@385912 13f79535-47bb-0310-9956-ffa450edef68
2006-03-14 22:09:45 +00:00
Edwin L. Punzalan 62df892f19 PR: MRM-106
Allowed only http proxy configuration and setup ProxyRepository if proxied or not

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@385795 13f79535-47bb-0310-9956-ffa450edef68
2006-03-14 13:10:16 +00:00
Edwin L. Punzalan 020cff7729 PR: MRM-104
make repoCache a member of the ProxyManager, which will remove ArtifactRepositoryFactory 

removed browsable configuration

created Map of repository layouts to query from
 
created a new class to load a maven-proxy to ProxyConfiguration

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@385751 13f79535-47bb-0310-9956-ffa450edef68
2006-03-14 07:52:22 +00:00
Edwin L. Punzalan 8849eeaf05 PR: MRM-101
Removed ProxyManagerFactory

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@385717 13f79535-47bb-0310-9956-ffa450edef68
2006-03-14 02:43:06 +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
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 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 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
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
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