Commit Graph

164 Commits

Author SHA1 Message Date
Maria Odea B. Ching 6cc476e103 [MRM-436]
- Added tests for the cron expression comma(',') fix



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@566973 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 08:54:27 +00:00
Brett Porter c8571f77e2 [MRM-436] configuration tests don't always set database scanning fields, so add some null guards
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@566959 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 07:47:06 +00:00
Maria Odea B. Ching db8685f9dd Added null check before closing the searcher.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@566949 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 07:11:12 +00:00
Maria Odea B. Ching 2666b91c1b [MRM-436]
- Added '\' for the snapshots cron expression in default-archiva.xml to escape the ',' 
- (DefaultArchivaConfiguration) Added method for adding '\' to the cron expression if ',' exists before saving the configuration and method for 
removing '\' after the configuration is read from the configuration file



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@566945 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 06:59:41 +00:00
Maria Odea B. Ching fb626a92e5 Moved searcher.close() in DefaultCrossRepositorySearch.searchAll(...) inside finally block.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@566059 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 08:22:08 +00:00
Maria Odea B. Ching a3305c920a - MultiSearcher for index is not being closed causing too many files open error, added line for close searcher
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@565709 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 11:34:04 +00:00
Joakim Erdfelt f86d4d90d1 Correcting cache name.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@565485 13f79535-47bb-0310-9956-ffa450edef68
2007-08-13 19:42:05 +00:00
Joakim Erdfelt da086173f7 [MRM-465] (Load Testing) When asking for pages that require the effective-pom in high load, app becomes unresponsive.
Added an ehcache around the effective-pom resolution process.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@565484 13f79535-47bb-0310-9956-ffa450edef68
2007-08-13 19:40:06 +00:00
Brett Porter a658609b5c [MRM-456] permit having configuration in both sources as long as it doesn't contain any elements that might not save properly (lists)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@564135 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 08:24:40 +00:00
Maria Odea B. Ching d9ff71462a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@563101 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 10:38:34 +00:00
Maria Odea B. Ching 72c28b496c [maven-release-plugin] prepare release 1.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@563098 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 10:35:55 +00:00
Maria Odea B. Ching bdf4db75a9 Commented out tests due to test failures (needed for release).
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@563095 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 10:21:29 +00:00
Maria Odea B. Ching 26df7922cd Commented assert in MavenProjectInfoReportsPluginDependencyGraphTest because of test failure.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@563082 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 09:59:05 +00:00
Maria Odea B. Ching 7db1bd8f9d [MRM-294]
- Changed DefaultCleanupReleasedSnapshots to CleanupReleasedSnapshotsRepositoryPurge
- Removed unneeded fields in RepositoryPurgeConsumer
- Added constructor for DaysOldRepositoryPurge, RetentionCountRepositoryPurge and CleanupReleasedSnapshotsRepositoryPurge
- Updated test classes and test resources



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@563064 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 08:22:35 +00:00
Maria Odea B. Ching 45ad3a396b [MRM-275]
- Added days older, retention count and delete released snapshots fields in repository page.
- Updated RepositoryPurgeConsumer



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@563030 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 05:45:38 +00:00
Maria Odea B. Ching 1a7b107c06 [MRM-294] and [MRM-275]
- Added the test cases which were left out during the initial commit
- Added DefaultCleanupReleasedSnapshots (m2 implementation for cleaning up snapshots that were already released)
- Updated the following files: archiva-core-consumers/pom.xml, RepositoryPurgeConsumer, DaysOldRepositoryPurge, RetentionCountRepositoryPurge and 
AbstractRepositoryPurge



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562882 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 15:08:44 +00:00
Maria Odea B. Ching 9dda4d03d3 [MRM-294] Repository purge
- Added RepositoryPurgeConsumer
- Added these other classes used in repo purge: DaysOldRepositoryPurge, RetentionCountRepositoryPurge, ArtifactFilenameFilter and 
RepositoryPurgeException
- Added tests and test data
- Added new fields in configuration.mdo (daysOlder and retentionCount)
- Added repository-purge as a consumer in default-archiva.xml (but currently commented out)



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562766 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 21:46:32 +00:00
Brett Porter 498d33c645 [MRM-451] correct regression in the change listener handling of the default configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562681 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 10:11:33 +00:00
Brett Porter 0dc2c29c92 [MRM-329] revised reporting actions
Submitted by: Teodoro Cue

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562511 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 16:02:00 +00:00
Brett Porter 19800f99da [MRM-430] revert configuration if it failed to save
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562488 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 14:48:18 +00:00
Joakim Erdfelt ad906608b7 * Updating my email address from joakim@erdfelt.com to my apache side email address at joakime@apache.org
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562485 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 14:44:15 +00:00
Joakim Erdfelt 419b6bd007 Fixing license header and adding statis serialVersionUID.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562482 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 14:37:47 +00:00
Joakim Erdfelt 480a2b7872 Correcting whitelist handling.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562477 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 14:33:35 +00:00
Joakim Erdfelt ded6d2666e Correcting whitelist handling.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562476 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 14:33:32 +00:00
Brett Porter 01350dc303 [MRM-430] configuration adjustments and tests
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562474 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 14:16:58 +00:00
Brett Porter b3f3de4a98 [MRM-347] locate the repositories under the data directory
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562370 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 07:39:18 +00:00
Brett Porter af94415b0e [MRM-347] prevent creating /${appserver.home} directory which is not populated under the appserver for some reason. The base directory is the appropriate location for data anyway - so these are the values that should have been used.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562369 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 07:36:53 +00:00
Brett Porter f8e12362f6 [MRM-412] support legacy layout requests
Submitted by: nicolas de loof

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562356 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 06:54:05 +00:00
Joakim Erdfelt 59cd555432 [MRM-329] The Reports link gives an HTTP 500
Patch by: Teodoro Cue Jr



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562233 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 20:02:27 +00:00
Maria Odea B. Ching 488303a9e8 [MRM-425 and MRM-426]
- Added and modified code for handling snapshots (if the versions of a specific artifact snapshot are only timestamped versions, add a 
generic snapshot which is pointing to the latest timestamp version) in DefaultRepositoryBrowsing and ProjectModelToDatabaseConsumer.
- Updated pom validations in ProjectModelToDatabaseConsumer - handling of timestamped versions were considered
- Added isUniqueSnapshot(..) and isGenericSnapshot(..) in VersionUtil
- Added new attribute 'modelVersion' in DependencyTreeTag to get the in-pom version. Did not use the version attribute so as to retain the 
actual version being browsed. Also updated DependencyTree
- Updated the ff. pages for the version to be displayed: artifactInfo.jspf, showArtifact.jsp, dependencyTree.jsp and artifactDecorator.jsp
- Updated the version in SearchResultHit



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@558795 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 16:48:30 +00:00
Fabrice Bellingard b1652e7034 Various <version> fixes in POMs after 1.0-alpha-2 release
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@550447 13f79535-47bb-0310-9956-ffa450edef68
2007-06-25 10:37:47 +00:00
Wendy Smoak c1ef06e2ab [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@550128 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 22:22:30 +00:00
Wendy Smoak 2023b7ee64 [maven-release-plugin] prepare release archiva-parent-1.0-alpha-2
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@550126 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 22:21:50 +00:00
Wendy Smoak 35123fcd01 MRM-421 Added a whitelist entry of '*' to the pre-configured internal -> central proxy connector so it will actually proxy. Without this, requests result in 'Failed pre-download policies' log messages.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@550008 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 04:07:39 +00:00
Wendy Smoak d0f4612596 MRM-422 Fix the directory name for the snapshots repository in the default config
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@550007 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 03:41:48 +00:00
Fabrice Bellingard 0d205a2db8 [MRM-418] Remove the network proxy example from default archiva.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@549497 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 14:37:48 +00:00
Maria Odea B. Ching 0c068d1f83 [MRM-409] Updated validation of poms.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@549048 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 10:21:47 +00:00
Joakim Erdfelt 0c58a1c253 Turning down the noise in the log.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548828 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 19:14:37 +00:00
Brett Porter ce3bd90a4a couple of small syntax fixes
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548354 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 13:28:59 +00:00
Joakim Erdfelt 6405f2be6b [MRM-388] Unable to configure archiva if configuration file did not already exist
Correcting DatabaseUpgrade process that was causing the problem.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548151 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 00:54:16 +00:00
Joakim Erdfelt 8ee3af9fbf [MRM-415]: [MySQL] Specified key was too long; max key length is 765 bytes
Specifying a size for all keys in database. (missed one)



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548149 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 00:51:02 +00:00
Joakim Erdfelt 2b3afd3d17 [MRM-415]: [MySQL] Specified key was too long; max key length is 765 bytes
Specifying a size for all keys in database.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548135 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 23:25:54 +00:00
Joakim Erdfelt e6fc266d61 [MRM-369]: [Repository Scanning] Exception on update to pre-existing artifact.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548120 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 21:44:25 +00:00
Joakim Erdfelt 17e3dd1d76 Fixing JDK 1.5 specific usage. (to use JDK 1.4 as minimum JDK)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548113 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 21:13:55 +00:00
Joakim Erdfelt e7664898d6 [MRM-410] Dependency Tree is not shown in artifact details screen.
* Refactored project resolution into ProjectModelResolverFactory component.
* All resolution access points now use this factory.
* Created ResolverFactoryInit as plexus component load-on-start, to hookup database to resolver stack.
* Created archiva:dependency-tree taglib



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548008 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 04:50:05 +00:00
Fabrice Bellingard 743213aaf3 [MRM-370] NPE when trying to proxy a request for a plugin
Patch submitted by Jens Mühlenhoff

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@547590 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 09:33:41 +00:00
Jesse McConnell 68721e8607 flush the outputwriter so its all cleaned up
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@547385 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 20:08:06 +00:00
Joakim Erdfelt 926610fc53 [MRM-410] Dependency Tree is not shown in artifact details screen.
Adding support libs.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@547277 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 15:25:42 +00:00
Joakim Erdfelt 5d08631288 Creating VersionComparator for doing logical sorts of Lists of versions.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@547259 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 14:41:19 +00:00
Maria Odea B. Ching 4d18f5723d MRM-409 and MRM-376
-Added pom validation in ProjectModelToDatabaseConsumer
-Added handling of ObjectNotFoundException in ShowArtifactAction
-Created a new class CorruptArtifactReport for corrupt/invalid pom or artifact repository problem (to be added in database)



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@547209 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 10:47:02 +00:00