Joakim Erdfelt
701f790c59
[MRM-487] pom version is not resolved
...
[MRM-488] properties in pom are not resolved (at least while browsing)
Fixed the ProjectModelExpressionFilter to filter all important fields.
Fixed ProjectModel400Reader's Generic's
Fleshed out the rest of ProjectModel400Writer.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@580514 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 23:13:51 +00:00
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