Commit Graph

4944 Commits

Author SHA1 Message Date
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
Brett Porter 1be6c22bce [MRM-9] improve checksum reading
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@372742 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 05:30:30 +00:00
Brett Porter f9c4b27afd [MRM-9] warn if no POM at source
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@372728 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 04:48:19 +00:00
Brett Porter 00ea26352a [MRM-9] checksum tests
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@372727 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 04:35:37 +00:00
Brett Porter ae38360d9c remove unused fields
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@372714 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 03:23:14 +00:00
Brett Porter 11b23f1c5c [MRM-9] continue with tests
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@372710 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 03:11:04 +00:00
Edwin L. Punzalan 49265d7791 PR: MRM-55
Submitted by: Maria Odea Ching

Checked the index for a duplicate and delete it if one exists

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@372138 13f79535-47bb-0310-9956-ffa450edef68
2006-01-25 07:04:13 +00:00
Edwin L. Punzalan 1e14d74abc PR: MRM-56
Submitted by: Maria Odea Ching

Enabled Index delete document.  Also did some refractoring and code formatting.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@371476 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 07:27:58 +00:00
Brett Porter bcee846abd [MRM-63] not able to hide, remove
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@370763 13f79535-47bb-0310-9956-ffa450edef68
2006-01-20 09:16:20 +00:00
Brett Porter 8abd8e4ba8 [MRM-63] add a progress bar for the checksum
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@370761 13f79535-47bb-0310-9956-ffa450edef68
2006-01-20 09:10:14 +00:00
Brett Porter 5db9f4bdb2 [MRM-63]
- run file reading code privileged
- do the applet tag convert thing


git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@370755 13f79535-47bb-0310-9956-ffa450edef68
2006-01-20 08:22:33 +00:00
Edwin L. Punzalan abbfa168f4 Fixed snapshot dep and removed jvm 1.5 methods
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@370734 13f79535-47bb-0310-9956-ffa450edef68
2006-01-20 05:34:17 +00:00
Brett Porter 377ed68146 applet for allowing upload of the md5 of a local file to the webapp for searching on the checksum
Still to do: investigate requirement for java.policy, and additional InvocationTargetException on Firefox


git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@370715 13f79535-47bb-0310-9956-ffa450edef68
2006-01-20 03:09:04 +00:00
Brett Porter 33099598c3 correct properties
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@370713 13f79535-47bb-0310-9956-ffa450edef68
2006-01-20 03:07:33 +00:00
Edwin L. Punzalan 05f70157b7 PR: MRM-35
Submitted by: Maria Odea Ching

Added more unit tests

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@369655 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 03:24:59 +00:00