Commit Graph

51 Commits

Author SHA1 Message Date
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
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 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 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