Commit Graph

309 Commits

Author SHA1 Message Date
Brett Porter e50371591d [MRM-528] run the correct consumers
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@580205 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 03:17:11 +00:00
Brett Porter bc5df1bd8a [MRM-528] run consumers as artifacts arrive via proxy
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@580187 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 00:12:03 +00:00
Joakim Erdfelt 15e551e983 [MRM-488] properties in pom are not resolved (at least while browsing)
Updating other test case for path change of effective-pom to expected-pom in tests.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@580184 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 23:36:33 +00:00
Joakim Erdfelt a216251c1f [MRM-488] properties in pom are not resolved (at least while browsing)
Preparing ModelWriter to aide in testing of issue.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@580183 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 23:35:03 +00:00
Joakim Erdfelt 0aa3e955ea [MRM-510] In Repository Browse, the first unique snapshot version clicked is getting persisted in the request resulting to 'version does not match' error
Fixing EffectiveProjectModelFilter caching to cache project model, not the parent model.
Adding unit tests to prevent this from occuring again.
Updating ProjectModelToDatabaseConsumer to adjust model version on unique snapshot after reading from disk, and before the effective project filter.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579856 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 00:30:37 +00:00
Joakim Erdfelt d539506103 Updating all consumers with JDK5 Generics for Collections.
Correcting report output on model details in ProjectModelToDatabaseConsumer.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579799 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 21:13:25 +00:00
Joakim Erdfelt 3565d57261 Expanding unit tests. (needed to eliminate this as possible cause for other issue)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579721 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 17:23:43 +00:00
Joakim Erdfelt 7f570c94b5 Fixing bad decision to use "<" and ">" in report messages, as they are currently filtered out as HTML.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579679 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 14:47:50 +00:00
Joakim Erdfelt de8c40f546 [MRM-519] fail to resolve artifactId for libs that contain versionKeyword in artifactId, like "maven-test-plugin"
Added unit tests for Ticket. (commented, still need a solution)

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579419 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 00:25:00 +00:00
Joakim Erdfelt 6b825688e0 Adding unit tests for dot notation artifactIds. (odd, but valid)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579333 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 18:03:15 +00:00
Joakim Erdfelt 3b339dd073 Cleaning up error message from ProjectModelToDatabaseConsumer on bad/unexpected models.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579332 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 18:02:43 +00:00
Joakim Erdfelt 4ded2e98a7 [MRM-486] Can not deploy artifact test.maven-arch:test-arch
Verifying that recent changes to DefaultBidirectionalLayout have fixed this jira.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@578897 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 18:36:19 +00:00
Joakim Erdfelt 268c98bf4e [MRM-469] Test failure in MavenProjectInfoReportsPluginDependencyGraphTest in archiva-dependency-graph
Re-enabled Test Case.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@578895 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 18:22:55 +00:00
Joakim Erdfelt 55b8953081 [MRM-470] Test failures in BytecodeIndexTest due to NPE in AbstractIndexCreationTestCase
Re-enabled test cases.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@578894 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 18:21:35 +00:00
Joakim Erdfelt af7ab9cdbb Correcting test error with closed writer stream.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@578279 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 21:23:48 +00:00
Joakim Erdfelt 07eb1d818e [MRM-243] 507 Insufficient Storage when deploying artifact with webdav
Adding commons-io to deps.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@578267 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 20:47:51 +00:00
Joakim Erdfelt 4c90d7f02f [MRM-243] 507 Insufficient Storage when deploying artifact with webdav
Adding proper IO closures to opened XML files.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@578266 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 20:46:15 +00:00
Joakim Erdfelt 4ba1367132 Eliminating debug message from logs.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@578242 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 19:44:55 +00:00
Joakim Erdfelt d5ff43184d Making pattern matching work in a platform neutral filesystem way.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@576684 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 04:19:50 +00:00
Joakim Erdfelt b1b4229880 Fixing .toRelative() to operate in a platform neutral way. working with filesystems and urls equally as well.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@576682 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 04:01:15 +00:00
Maria Odea B. Ching 55baa9dff8 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@576050 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 06:42:14 +00:00
Maria Odea B. Ching ffb8b570c3 [maven-release-plugin] prepare release archiva-1.0-beta-2
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@576048 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 06:39:24 +00:00
Brett Porter 5531453210 [MRM-460] correct the default configuration for failure policies
Submitted by: nicolas de loof

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@576030 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 03:47:36 +00:00
Brett Porter 20ed6eb362 [MRM-211] fix proxy tests for legacy, and correct handling of Maven 1.x plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@576029 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 03:30:54 +00:00
Brett Porter 8b19e8e2ab [MRM-463] fix merging of latest/release fields in metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@575145 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 02:20:48 +00:00
Brett Porter 7c2f63c4f5 [MRM-493] some cleanup before fixing merging of plugin metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@575135 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 01:15:16 +00:00
Brett Porter f2458ad14e [MRM-144] indexed -> scanned
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@574901 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 12:07:26 +00:00
Brett Porter 14658271d1 [MRM-144] clean up TODOs
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@574898 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 11:57:08 +00:00
Brett Porter ae4e1ada9b [MRM-144] indexed -> scanned
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@574891 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 11:39:16 +00:00
Brett Porter 184cf0176b clarify comments
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@574886 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 11:04:48 +00:00
Brett Porter 17f229020f [MRM-462] separate configuration of managed and remote repositories
Merged from branches/MRM-462

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@574859 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 09:33:41 +00:00
Joakim Erdfelt b783b480a7 Disabling problem test cases (for now).
Need to re-enable them in the future.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@574123 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 03:13:26 +00:00
Joakim Erdfelt 047ec47c8b [MRM-463] Metadata merging doesn't work.
Adding new Metadata Updater Consumer.
Updating archiva-configuration default for new consumer.
Updating archiva-proxy for new Metadata Tools approach.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@574121 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 03:01:25 +00:00
Joakim Erdfelt e641f56dfd [MRM-432] Proxy Connectors are unable to download artifacts with alpha numerical version numbers
Broke out metadata handling from BidirectionalRepositoryLayout into recent MetadataTools class.
Simplified test cases for default and legacy layout.
Test cases now perform round-trip for each example: reference -> path -> reference

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@574120 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 02:59:47 +00:00
Joakim Erdfelt 3b5e25770c [MRM-463] Metadata merging doesn't work.
Bug fixes to MetadataTool.
New Proxying features.
Proxying Unit Testing Updates.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@571008 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 01:22:19 +00:00
Maria Odea B. Ching 124fe26ea9 [MRM-453]
- Added tests for metadata driven snapshots in DaysOldRepositoryPurgeTest
- Added test data

Changes made in DaysOldRepositoryPurge:
- Added functionality to consider the metadata driven snapshots (check the timestamp in the filename first before the last modified date of the 
file if it is a unique versioned snapshot)



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@570089 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 12:27:13 +00:00
Maria Odea B. Ching 51e10b3364 Added plexus-slf4j-logging as dependency to fix test failure in MetadataToolsTest.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@570085 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 11:59:14 +00:00
Maria Odea B. Ching a19fe2147a Added TIMESTAMP_PATTERN variable to fix build error in archiva-repository-layer.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@570083 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 11:58:14 +00:00
Maria Odea B. Ching dd76a49078 [MRM-453]
- Added tests for RepositoryConsumer and CleanupReleasedSnapshotsRepositoryPurge
- Added test data for the new tests
- Refactored AbstractRepositoryPurgeTest, DaysOldRepositoryPurgeTest and RetentionCountRepositoryPurgeTest



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@569789 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 09:42:27 +00:00
Joakim Erdfelt 8887f9cbe9 [MRM-463] Metadata merging doesn't work.
Baseline Components for metadata merging.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@569760 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 03:26:00 +00:00
Joakim Erdfelt 05d0e9e6f5 Fixing subtle bug in PathUtil.toRelative() encountered during Metadata work.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@569758 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 03:16:11 +00:00
Brett Porter b525d2423a fix the test cases - we should be synchronizing on the current class, not the configuration object itself
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@568618 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 14:15:38 +00:00
Maria Odea B. Ching 4ca6b3fe22 Synchronized save() and afterConfigurationChange() in DefaultArchivaConfiguration.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@568531 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 09:44:38 +00:00
Maria Odea B. Ching e1a2228627 Added test for the changes in DefaultArchivaConfiguration (escape character '\' showing up in repositories.jsp)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@568382 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 02:30:55 +00:00
Maria Odea B. Ching d00a9c7e1b - Updated the code for escaping/unescaping cron expressions in DefaultArchivaConfiguration as the escape character '\' is displayed in the
repositories.jsp 



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@568146 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 14:35:15 +00:00
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
Fabrice Bellingard 2cba9744f8 [MRM-413] maven2-repository.dev.java.net repository URL in not correct
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@544769 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 08:45:24 +00:00
Joakim Erdfelt 9bcbf0e482 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@543535 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 17:10:47 +00:00
Joakim Erdfelt 582f8d5781 [maven-release-plugin] prepare release archiva-1.0-alpha-1
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@543533 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 17:10:13 +00:00
Fabrice Bellingard 6cc21f2daf [MRM-394] default remote repositories central, java.net are not available in remote repositories list
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@543454 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 10:13:29 +00:00
Maria Odea B. Ching b22c2b33aa MRM-376 Added model.setOrigin("filesystem") in WrappedDatabaseProjectModelResolver. A null origin causes the project model not to be added in the database, thus when searched/browsed in repo results to JDOObjectNotFoundException.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@543115 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 11:31:19 +00:00
Fabrice Bellingard 4d8738d248 [MRM-405] Archiva can't connect to remote repositories if they are behind a network proxy
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@542803 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 11:54:13 +00:00
Joakim Erdfelt 2ee0a9bc84 [MRM-380]: When trying to look at project with empty groupId
Update for exception on Roles and JDODetachedFieldException

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@542634 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 19:47:26 +00:00
Joakim Erdfelt 188b3e45e5 [MRM-380]: When trying to look at project with empty groupId
Update for efficicency.  Save resolved project models to database as they are resolved.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@542631 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 19:24:48 +00:00
Joakim Erdfelt acd4e4c59c [MRM-379]: Limit in description size causes problems with Apache parent POM
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@542617 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 18:37:37 +00:00
Joakim Erdfelt 7f4271c1df [MRM-380]: When trying to look at project with empty groupId
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@542604 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 18:08:35 +00:00
Joakim Erdfelt d43baefa76 [MRM-384] Move maven-artifact-converter and maven-transaction to archiva.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@542560 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 15:13:29 +00:00
Joakim Erdfelt ebbda9b5d7 Renaming modules
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@542527 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 14:10:19 +00:00
Joakim Erdfelt 4eebcf6502 Moving maven-transaction to archiva-transaction
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@542526 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 14:09:25 +00:00
Joakim Erdfelt 6622c0e72f Moving maven-artifact-converter to archiva trunk.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@542525 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 14:08:36 +00:00
Joakim Erdfelt bf565c3f3a [MRM-331]: Finding an Artifact gives an HTTP 500
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541744 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 18:33:59 +00:00
Joakim Erdfelt 701945429f [MRM-330]: Searching gives an HTTP 500
Functionality is now the same as archiva 0.9

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541723 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 17:11:37 +00:00
Joakim Erdfelt 6bfec56ad8 Fixing whoops in repository id handling
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541704 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 16:07:36 +00:00
Joakim Erdfelt 0c61521dde [MRM-330]: Searching gives an HTTP 500
Next phase of work towards a search/find fix.
Many improvements in indexer / configuration

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541680 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 15:05:51 +00:00
Jesse McConnell 73162b6210 [MRM-360] changing default cronexpression for repo scanning to hourly, and database scanning to every two hours.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541648 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 13:45:59 +00:00
Joakim Erdfelt c8610ec35d * Fixing test of propertyName values in ConfigurationNames class.
* Updating ProxyTestCase to use trigger with appropriate values.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541383 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 18:47:50 +00:00
Joakim Erdfelt d32992e00d Fixing in-IDE test failures.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541375 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 18:27:49 +00:00
Jesse McConnell 4b0ebdca08 [MRM-351] revisiting, added another configuration option for turning off the applet itself but still enabling the findArtifact functionality. switched defaults to true by popular demand as well.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541350 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 16:27:31 +00:00
Jesse McConnell dd330f3d5e added webapp configuration section, default setting for default-archiva.xml object, and associated test
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541319 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 15:17:03 +00:00
Jesse McConnell 6473f82940 [MRM-353] fix for divide by zero error...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541112 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 22:52:51 +00:00
Joakim Erdfelt 8e4c990b3b [MRM-346]: Show Artifact results in error 500.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@540599 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 14:43:07 +00:00
Fabrice Bellingard 6a82d8f370 Use the released version 1.0-alpha-15 of modello-maven-plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@540594 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 14:17:11 +00:00
Joakim Erdfelt ec549451bb [MRM-346]: Show Artifact results in error 500.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@540343 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 23:01:36 +00:00
Joakim Erdfelt 3dce54c7fb [MRM-346]: Show Artifact results in error 500.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@539619 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 22:35:12 +00:00
Joakim Erdfelt 650c56007b [MRM-346]: Show Artifact results in error 500.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@539163 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 23:17:48 +00:00
Joakim Erdfelt 2ae3268ff9 [MRM-346]: Show Artifact results in error 500.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@539145 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 22:16:57 +00:00
Joakim Erdfelt 966e374f6c [MRM-336]: Repository Admin - "Index Repository" appears to not do anything.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@538404 13f79535-47bb-0310-9956-ffa450edef68
2007-05-16 01:59:20 +00:00
Fabrice Bellingard 0f6e5f56ce [MRM-306] Changed the cron expressions so that they are valid ones
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@538159 13f79535-47bb-0310-9956-ffa450edef68
2007-05-15 12:43:10 +00:00
Arnaud Heritier 4f35d1c716 MRM-338 : Fix dependencies convergence between archiva projects
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@537669 13f79535-47bb-0310-9956-ffa450edef68
2007-05-13 23:01:31 +00:00
Joakim Erdfelt b2a4a02c00 [MRM-336]: Repository Admin - "Index Repository" appears to not do anything.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@537304 13f79535-47bb-0310-9956-ffa450edef68
2007-05-11 22:25:12 +00:00
Joakim Erdfelt 711bb6c0c6 Updates to Database scanner, updater, task, consumers, and admin screens.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@536680 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 22:03:49 +00:00
Joakim Erdfelt 21b1ac804b Updates to RepositoryScanning process, task, and admin screen
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@536390 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 01:47:52 +00:00
Joakim Erdfelt c671224fbb Refactoring RepoContentConsumer into Known vs Invalid to aide in config/scanning
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@536233 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 16:05:18 +00:00
Joakim Erdfelt 6ff6fab1e4 Adding Network Proxy admin screens.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@535999 13f79535-47bb-0310-9956-ffa450edef68
2007-05-07 21:30:38 +00:00
Joakim Erdfelt cfc5869263 Adding ActiveManagedRepositories for non-webapp to use.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@535895 13f79535-47bb-0310-9956-ffa450edef68
2007-05-07 15:16:22 +00:00
Joakim Erdfelt f8b9e076b3 * Updates to repositories and proxy connector configuration / admin screens.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@535418 13f79535-47bb-0310-9956-ffa450edef68
2007-05-05 00:05:23 +00:00
Joakim Erdfelt a988c657a6 Minor correction of declared versioning.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@534271 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 23:21:42 +00:00
Joakim Erdfelt 99efaacbf0 Upgrading trunk to 1.0-alpha-1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@534183 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 18:25:13 +00:00
Joakim Erdfelt 4c9789b228 Merging changes from old (archiva-0.9) trunk into branch.
svn merge revision 518676 to 534045.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@534082 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 13:37:43 +00:00
Joakim Erdfelt e52e0793df Updates for admin screens
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@534044 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 12:46:46 +00:00
Emmanuel Venisse f90cf2a601 Update SNAPSHOTs to released versions
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@533017 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 08:46:55 +00:00
Joakim Erdfelt 383e27a7bf Disabling failing test until proper solution is found.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@532832 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 18:25:25 +00:00
Joakim Erdfelt f384b671de Adjusting scope of slf4j to allow compile on windows.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@532824 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 17:50:20 +00:00
Joakim Erdfelt aaa0c570a1 Adding xmlunit to unit testing of metadata modules.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@532822 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 17:45:45 +00:00
Joakim Erdfelt aea90f0eea Making unit tests more resilient on windows.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@532776 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 15:12:49 +00:00
Joakim Erdfelt 423f26e756 Making unit tests more resilient on windows.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@532772 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 15:07:56 +00:00
Joakim Erdfelt 14e5ac5eb3 Fixes for tests under windows.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@532767 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 14:57:16 +00:00
Emmanuel Venisse b0003019c0 Little fix for windows
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@532761 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 14:33:45 +00:00
Joakim Erdfelt fd3ad3d093 Fixing parent on converter
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@532501 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 22:02:35 +00:00
Joakim Erdfelt 76fd577ce2 Fixing archiva-converter and usage in archiva-cli
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@532496 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 21:51:17 +00:00
Joakim Erdfelt 274fe175ad Adding registry commons to test scope
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@532463 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 19:58:48 +00:00