]>
source.dussan.org Git - archiva.git/log
Joakim Erdfelt [Wed, 24 Oct 2007 00:19:39 +0000 (00:19 +0000)]
[MRM-565] Archiva 1.0-beta-3 fails in 404 on all legacy request.
Added test for get of artifact using legacy path.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587710
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 24 Oct 2007 00:16:40 +0000 (00:16 +0000)]
[MRM-565] Archiva 1.0-beta-3 fails in 404 on all legacy request.
Using new methods in RepositoryRequest to identify native resource path early and using it.
Adding PolicingServletRequest to deal with bad formatted request paths.
Beefing up RepositoryServletTest to test proxy-less (for now) requests ...
* Browse
* Get Checksum (default layout)
* Get Checksum (legacy layout)
* Get Metadata (versioned + default layout)
* Get Metadata (project + default layout)
* Get Artifact (default layout)
Adding custom mime-types.txt to get proper "Content-Type" headers on GET requests.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587708
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 24 Oct 2007 00:00:30 +0000 (00:00 +0000)]
Adding some tests for invalid request paths.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587701
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Tue, 23 Oct 2007 19:21:19 +0000 (19:21 +0000)]
[MRM-565] Archiva 1.0-beta-3 fails in 404 on all legacy request.
Preparing RepositoryRequest for support needed to detect ...
* Support Files
* Maven Metadata
* Artifacts
And translate to a native path for the managed repository.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587623
13f79535 -47bb-0310-9956-
ffa450edef68
Emmanuel Venisse [Tue, 23 Oct 2007 08:15:23 +0000 (08:15 +0000)]
Revert some bad changes in previous commit
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587415
13f79535 -47bb-0310-9956-
ffa450edef68
Emmanuel Venisse [Tue, 23 Oct 2007 08:08:59 +0000 (08:08 +0000)]
[MRM-458] update to last remote resources plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587412
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Tue, 23 Oct 2007 01:21:29 +0000 (01:21 +0000)]
[MRM-561] Error 500 while deleting a proxy connector
Corrected method name.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587351
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Tue, 23 Oct 2007 00:51:13 +0000 (00:51 +0000)]
Some error handling cleanup.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587341
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Tue, 23 Oct 2007 00:18:20 +0000 (00:18 +0000)]
[MRM-563] Proxy connector logic for getIfModified is backwards.
Fixing backwards logic in DefaultRepositoryProxyConnectors.
Updating test cases to honor correct .get() vs .getIfModified() logic wrt/mocks.
Updating ManagedLegacyTransferTest for all varients of Managed to Remote, Legacy vs Default, Present and Not Present.
Introducing NotModifiedException to cope with proper .getIfModified() logic.
Introducing NotFoundException to cope with operational exception vs serious connectivity exception.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587318
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Tue, 23 Oct 2007 00:12:47 +0000 (00:12 +0000)]
Adding a few more .toKey() methods to aide in logging statements elsewhere.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587310
13f79535 -47bb-0310-9956-
ffa450edef68
Carlos Sanchez Gonzalez [Mon, 22 Oct 2007 23:28:03 +0000 (23:28 +0000)]
[MAVENUPLOAD-1774] Add de.berlios.jsunit sync
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587285
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Mon, 22 Oct 2007 20:00:55 +0000 (20:00 +0000)]
[MRM-562] Artifact type "maven-plugin" is not detected correctly in .toArtifactReference() methods.
Added ability in default and legacy layouts to detect the 'maven-plugin' type.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587224
13f79535 -47bb-0310-9956-
ffa450edef68
Brett Porter [Mon, 22 Oct 2007 13:58:11 +0000 (13:58 +0000)]
[MRM-396] remove true/false from boolean icons
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587099
13f79535 -47bb-0310-9956-
ffa450edef68
Brett Porter [Mon, 22 Oct 2007 13:51:45 +0000 (13:51 +0000)]
[MRM-551] the default scan cron expression is once a day, should be hourly
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587097
13f79535 -47bb-0310-9956-
ffa450edef68
Brett Porter [Mon, 22 Oct 2007 13:50:13 +0000 (13:50 +0000)]
[MRM-558] add missing div
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587095
13f79535 -47bb-0310-9956-
ffa450edef68
Brett Porter [Mon, 22 Oct 2007 13:45:44 +0000 (13:45 +0000)]
naming consistency
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587092
13f79535 -47bb-0310-9956-
ffa450edef68
Brett Porter [Mon, 22 Oct 2007 13:41:43 +0000 (13:41 +0000)]
[MRM-559] fix version setting
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587089
13f79535 -47bb-0310-9956-
ffa450edef68
Brett Porter [Mon, 22 Oct 2007 13:39:52 +0000 (13:39 +0000)]
[MRM-546] correct clean up of registry after removal
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587088
13f79535 -47bb-0310-9956-
ffa450edef68
Brett Porter [Mon, 22 Oct 2007 13:02:47 +0000 (13:02 +0000)]
[MRM-559] fix version setting
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587079
13f79535 -47bb-0310-9956-
ffa450edef68
Brett Porter [Mon, 22 Oct 2007 12:37:25 +0000 (12:37 +0000)]
[MRM-546] restore correct test data and fix configuration modifications
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587071
13f79535 -47bb-0310-9956-
ffa450edef68
Brett Porter [Mon, 22 Oct 2007 12:36:50 +0000 (12:36 +0000)]
[MRM-546] re-enable tests that are passing
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587070
13f79535 -47bb-0310-9956-
ffa450edef68
Maria Odea B. Ching [Mon, 22 Oct 2007 02:56:59 +0000 (02:56 +0000)]
[maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586989
13f79535 -47bb-0310-9956-
ffa450edef68
Maria Odea B. Ching [Mon, 22 Oct 2007 02:54:10 +0000 (02:54 +0000)]
[maven-release-plugin] prepare release archiva-1.0-beta-3
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586987
13f79535 -47bb-0310-9956-
ffa450edef68
Maria Odea B. Ching [Sun, 21 Oct 2007 17:51:55 +0000 (17:51 +0000)]
[MRM-256]
RepositoryContentStatisticsDAOStub.java (left out from previous commit)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586922
13f79535 -47bb-0310-9956-
ffa450edef68
Maria Odea B. Ching [Sun, 21 Oct 2007 17:44:24 +0000 (17:44 +0000)]
[MRM-256]
ArtifactsByRepositoryConstraint -- this got left-out too
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586921
13f79535 -47bb-0310-9956-
ffa450edef68
Maria Odea B. Ching [Sun, 21 Oct 2007 17:36:02 +0000 (17:36 +0000)]
[MRM-256]
RepositoryContentStatisticsDAO --> oops, got left out from the previous commit
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586920
13f79535 -47bb-0310-9956-
ffa450edef68
Maria Odea B. Ching [Sun, 21 Oct 2007 17:30:07 +0000 (17:30 +0000)]
[MRM-265]
- added method for deleting the artifacts in the db when a repo is deleted
- also deleted repo scan statistics when the repo is deleted
- created DAO that does retrieving, deleting and adding of RepositoryContentStatistics to the db
- added and updated tests
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586919
13f79535 -47bb-0310-9956-
ffa450edef68
Brett Porter [Sun, 21 Oct 2007 05:20:38 +0000 (05:20 +0000)]
add a configuration file for jetty:run so that it doesn't create ~/.m2/archiva.xml - make testing isolated
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586858
13f79535 -47bb-0310-9956-
ffa450edef68
Brett Porter [Sun, 21 Oct 2007 03:45:59 +0000 (03:45 +0000)]
[MRM-400] improve appearance of selected tab by removing unnecessary link
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586846
13f79535 -47bb-0310-9956-
ffa450edef68
Brett Porter [Sun, 21 Oct 2007 02:44:22 +0000 (02:44 +0000)]
clean up
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586828
13f79535 -47bb-0310-9956-
ffa450edef68
Brett Porter [Sun, 21 Oct 2007 02:43:26 +0000 (02:43 +0000)]
[MRM-555] scanner checks timestamps, but some consumers will want to consume artifacts regardless
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586827
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Fri, 19 Oct 2007 22:53:53 +0000 (22:53 +0000)]
Re-enabling tests now that MRM-535 is fixed.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586636
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Fri, 19 Oct 2007 22:47:43 +0000 (22:47 +0000)]
[MRM-520] Proxy Connectors are not deleted with the deletion of a Repository.
Added ability of delete (managed|remote) repository action to clear out the associated proxy connector.
Added tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586635
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Fri, 19 Oct 2007 22:21:54 +0000 (22:21 +0000)]
Adding version into footer
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586630
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Fri, 19 Oct 2007 21:46:08 +0000 (21:46 +0000)]
[MRM-398] configure guest access by default for pre-configured repositories
* Moving redback initialization from a lazy init via xwork interceptor to archiva's startup process.
* Changing UserAssignment process to check/create assignment before assigning new roles.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586622
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Fri, 19 Oct 2007 16:40:05 +0000 (16:40 +0000)]
Beefing up tests for RepositoryContentConsumers.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586524
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Fri, 19 Oct 2007 16:13:49 +0000 (16:13 +0000)]
Updating javadoc.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586517
13f79535 -47bb-0310-9956-
ffa450edef68
Brett Porter [Fri, 19 Oct 2007 15:59:35 +0000 (15:59 +0000)]
run the correct consumers
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586514
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Fri, 19 Oct 2007 14:21:13 +0000 (14:21 +0000)]
Cleaning up potential multi-threading issues with use of static SimpleDateFormat.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586472
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Fri, 19 Oct 2007 14:20:02 +0000 (14:20 +0000)]
Upgrading to released versions
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586469
13f79535 -47bb-0310-9956-
ffa450edef68
Carlos Sanchez Gonzalez [Thu, 18 Oct 2007 15:24:47 +0000 (15:24 +0000)]
Add org.ow2 sync from org.objectweb
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586004
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 17 Oct 2007 17:46:40 +0000 (17:46 +0000)]
Correcting path resolution logic.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585598
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 17 Oct 2007 17:30:18 +0000 (17:30 +0000)]
Remove unused classes.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585588
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 17 Oct 2007 17:29:17 +0000 (17:29 +0000)]
Removing unused imports.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585587
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 17 Oct 2007 17:28:01 +0000 (17:28 +0000)]
Removing unused pieces.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585586
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 17 Oct 2007 17:23:04 +0000 (17:23 +0000)]
Upgrading bidirlayout usage to RepoContent usage to eliminate bugs around missing content from bad layout routines.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585583
13f79535 -47bb-0310-9956-
ffa450edef68
Carlos Sanchez Gonzalez [Wed, 17 Oct 2007 17:20:05 +0000 (17:20 +0000)]
[MAVENUPLOAD-1771] Add net.sf.aislib sync
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585581
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 17 Oct 2007 17:14:25 +0000 (17:14 +0000)]
Upgrading bidirlayout usage to RepoContent usage to eliminate bugs around missing content from bad layout routines.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585579
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 17 Oct 2007 17:01:25 +0000 (17:01 +0000)]
Upgrading bidirlayout usage to RepoContent usage to eliminate bugs around missing content from bad layout routines.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585576
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 17 Oct 2007 16:56:51 +0000 (16:56 +0000)]
Upgrading bidirlayout usage to RepoContent usage to eliminate bugs around missing content from bad layout routines.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585574
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 17 Oct 2007 16:54:27 +0000 (16:54 +0000)]
Adding ability to create an ArchivaArtifact from an ArtifactReference.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585573
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 17 Oct 2007 16:47:33 +0000 (16:47 +0000)]
Updating from bidirlayout to RepoContent techniques.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585569
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 17 Oct 2007 16:39:06 +0000 (16:39 +0000)]
Setting deprecations on interfaces / classes not to use.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585564
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 17 Oct 2007 16:30:31 +0000 (16:30 +0000)]
Changing name from "Maven Archiva" to "Apache Archiva" to match website.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585562
13f79535 -47bb-0310-9956-
ffa450edef68
Carlos Sanchez Gonzalez [Tue, 16 Oct 2007 16:44:22 +0000 (16:44 +0000)]
[MAVENUPLOAD-1761] Add mysql sync
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585195
13f79535 -47bb-0310-9956-
ffa450edef68
Maria Odea B. Ching [Tue, 16 Oct 2007 07:45:27 +0000 (07:45 +0000)]
removed usage of BidirectionalRepositoryLayout in database cleanup consumers, made use of the ManagedRepositoryContent instead
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585068
13f79535 -47bb-0310-9956-
ffa450edef68
Maria Odea B. Ching [Tue, 16 Oct 2007 03:13:03 +0000 (03:13 +0000)]
- removed print stack trace in DatabaseCleanupRemoveProjectConsumer
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585014
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Tue, 16 Oct 2007 01:31:40 +0000 (01:31 +0000)]
[MRM-535] metadata-updater is changing lastUpdating timestamp when it shouldn't
Correcting logic in snapshot metadata to only update on the following conditions.
* Last Updated exist in original metadata.xml or ...
* Last Updated timestamp as found in unique (timestamped) snapshots is newer.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584994
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Tue, 16 Oct 2007 01:29:31 +0000 (01:29 +0000)]
Fixing GET vs PUT logic.
Encountered a situation where a PUT could result in a 404.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584992
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Tue, 16 Oct 2007 00:52:42 +0000 (00:52 +0000)]
[MRM-468] incorrect URL reported from failures in WebDAV
Corrected locally the error message being reported by it.could.webdav
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584986
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Mon, 15 Oct 2007 20:39:42 +0000 (20:39 +0000)]
[MRM-398] configure guest access by default for pre-configured repositories
Reverted partially r584279. (some good fixes for related bugs in place)
Introduced ArchivaConfiguration.isDefaulted() to aide SecuritySynchronization (startup task in archiva-webapp) to add guest user read-only roles if the configuration was set to default for some reason.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584906
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Mon, 15 Oct 2007 20:39:39 +0000 (20:39 +0000)]
[MRM-398] configure guest access by default for pre-configured repositories
Reverted partially r584279. (some good fixes for related bugs in place)
Introduced ArchivaConfiguration.isDefaulted() to aide SecuritySynchronization (startup task in archiva-webapp) to add guest user read-only roles if the configuration was set to default for some reason.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584905
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Mon, 15 Oct 2007 20:39:37 +0000 (20:39 +0000)]
[MRM-398] configure guest access by default for pre-configured repositories
Reverted partially r584279. (some good fixes for related bugs in place)
Introduced ArchivaConfiguration.isDefaulted() to aide SecuritySynchronization (startup task in archiva-webapp) to add guest user read-only roles if the configuration was set to default for some reason.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584904
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Mon, 15 Oct 2007 20:39:34 +0000 (20:39 +0000)]
[MRM-398] configure guest access by default for pre-configured repositories
Reverted partially r584279. (some good fixes for related bugs in place)
Introduced ArchivaConfiguration.isDefaulted() to aide SecuritySynchronization (startup task in archiva-webapp) to add guest user read-only roles if the configuration was set to default for some reason.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584903
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Mon, 15 Oct 2007 20:39:26 +0000 (20:39 +0000)]
[MRM-398] configure guest access by default for pre-configured repositories
Reverted partially r584279. (some good fixes for related bugs in place)
Introduced ArchivaConfiguration.isDefaulted() to aide SecuritySynchronization (startup task in archiva-webapp) to add guest user read-only roles if the configuration was set to default for some reason.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584902
13f79535 -47bb-0310-9956-
ffa450edef68
Carlos Sanchez Gonzalez [Mon, 15 Oct 2007 14:23:20 +0000 (14:23 +0000)]
[MAVENUPLOAD-1746] Add ch.hortis.sonar sync
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584798
13f79535 -47bb-0310-9956-
ffa450edef68
Maria Odea B. Ching [Mon, 15 Oct 2007 11:35:35 +0000 (11:35 +0000)]
[MRM-527]
- added test/conf/repository-manager.xml which was left out from previous commit (database cleanup)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584745
13f79535 -47bb-0310-9956-
ffa450edef68
Maria Odea B. Ching [Mon, 15 Oct 2007 11:16:38 +0000 (11:16 +0000)]
[MRM-37 and MRM-527]
- added code for cleaning up the database of artifacts that are no longer existing in the repository
(DatabaseCleanupRemoveArtifactConsumer and DatabaseCleanupRemoveProjectConsumer)
- created tests for database cleanup of removed artifacts
- updated some of the test cases (in archiva-database and archiva-scheduled modules) to reflect the changes in thedb cleanup consumers
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584735
13f79535 -47bb-0310-9956-
ffa450edef68
Maria Odea B. Ching [Mon, 15 Oct 2007 03:59:21 +0000 (03:59 +0000)]
[MRM-521]
- added range validation for the repository purge fields
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584665
13f79535 -47bb-0310-9956-
ffa450edef68
Wendy Smoak [Sun, 14 Oct 2007 22:23:42 +0000 (22:23 +0000)]
Add links to the reference docs (snapshot docs are symlinked as 'latest' on the server) and fix the link to the mailing list page.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584627
13f79535 -47bb-0310-9956-
ffa450edef68
Wendy Smoak [Sun, 14 Oct 2007 19:42:15 +0000 (19:42 +0000)]
Add FindBugs to the project reports.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584593
13f79535 -47bb-0310-9956-
ffa450edef68
Wendy Smoak [Sun, 14 Oct 2007 18:51:40 +0000 (18:51 +0000)]
Configure the UMLGraph doclet to generate UML diagrams at the package and class level. This makes Graphviz a prerequisite for generating the javadoc.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584577
13f79535 -47bb-0310-9956-
ffa450edef68
Wendy Smoak [Sun, 14 Oct 2007 18:28:35 +0000 (18:28 +0000)]
Configure the JDK level for the PMD plugin.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584573
13f79535 -47bb-0310-9956-
ffa450edef68
Wendy Smoak [Sun, 14 Oct 2007 16:08:13 +0000 (16:08 +0000)]
Adjust url for publishing the site to archiva/ref/[version]
Comment out the Cobertura plugin, which breaks 'mvn site'
Drop the archiva-site module from the default list so it does not get published with the reference docs.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584562
13f79535 -47bb-0310-9956-
ffa450edef68
Wendy Smoak [Sun, 14 Oct 2007 01:33:45 +0000 (01:33 +0000)]
[MRM-459] Restored JSTL to compile scope, it needs to be included in the webapp. (from r584218)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584468
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Fri, 12 Oct 2007 21:35:41 +0000 (21:35 +0000)]
[MRM-398] configure guest access by default for pre-configured repositories
Newly added repositories are assigned to the guest user in read-only mode.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584279
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Fri, 12 Oct 2007 21:20:54 +0000 (21:20 +0000)]
Removing unused plexus test component xmls.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584274
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Fri, 12 Oct 2007 18:01:04 +0000 (18:01 +0000)]
[MRM-459] prune the distributed dependencies
Pruning the following ...
* ant-optional
* jdom
* classworlds
* jta
* xerces
Setting to <scope>provided</scope> the following ...
* servlet-api
* jsp-api
* jstl-api
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584218
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Fri, 12 Oct 2007 17:58:29 +0000 (17:58 +0000)]
Using new ManagedRepositoryContent.toFile( ArchivaArtifact )
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584217
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Fri, 12 Oct 2007 17:56:29 +0000 (17:56 +0000)]
Removing BidirectionalRepositoryLayoutFactory usage.
Replacing with more reliable ManagedRepositoryContent operations.
Cleaning up logging output.
Using new ManagedRepositoryContent.toFile( ArchivaArtifact ) method.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584216
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Fri, 12 Oct 2007 17:53:59 +0000 (17:53 +0000)]
Adding ManagedRepositoryContent.toFile( ArchivaArtifact ) and ManagedRepositoryContent.toPath( ArchivaArtifact )
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584215
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Fri, 12 Oct 2007 17:52:32 +0000 (17:52 +0000)]
Moved Keys out of archiva-dependency-graph into archiva-model to aide in logging cleanup elsewhere.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584214
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Fri, 12 Oct 2007 17:49:40 +0000 (17:49 +0000)]
Fixed unit tests for RepositoryPurge as they were non-repeatable in an IDE environment.
Corrected the assumption that a Managed Repository is the same as a Local Repository. (re: maven-metadata-local.xml)
Streamlined asserts to be more clear .assertExists() .assertDeleted() when reading code and when error message is created.
Removed jdom direct usage in unit tests in favor of XMLUnit.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584213
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Fri, 12 Oct 2007 01:26:06 +0000 (01:26 +0000)]
[MRM-501] Saving configuration fails through the webapp.
Provided an alternative configuration location.
Added unit tests for this condition.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584021
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Thu, 11 Oct 2007 18:35:21 +0000 (18:35 +0000)]
Fixing missing requirement in test components.xml.
Updating unit tests for proper metadata update detection.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583906
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Thu, 11 Oct 2007 18:26:00 +0000 (18:26 +0000)]
Attempting to remove <repositories> section is failing.
Saving partial unit test for brett to look at.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583903
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Thu, 11 Oct 2007 17:58:48 +0000 (17:58 +0000)]
Fixing svn:eol-style property
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583897
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Thu, 11 Oct 2007 16:43:13 +0000 (16:43 +0000)]
[MRM-533] Checksum files (sha1/md5) are not kept up to date on maven-metadata.xml files.
Grabbed checksum check/update logic out of ChecksumPolicy into standalone Checksums component.
Using new component in ChecksumPolicy and MetadatTools.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583875
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Thu, 11 Oct 2007 16:40:49 +0000 (16:40 +0000)]
Fixing Error 500 condition.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583874
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Thu, 11 Oct 2007 16:05:24 +0000 (16:05 +0000)]
Correcting logic for determining if the local maven-metadata.xml needs to be updated.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583862
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Thu, 11 Oct 2007 15:31:54 +0000 (15:31 +0000)]
Fixing versions.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583852
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Thu, 11 Oct 2007 00:32:22 +0000 (00:32 +0000)]
Fixing test case NPE wrt repo.location.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583652
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Thu, 11 Oct 2007 00:18:02 +0000 (00:18 +0000)]
Fixing event triggers.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583648
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Thu, 11 Oct 2007 00:14:43 +0000 (00:14 +0000)]
[MRM-493] Downloaded artifacts are stored in incorrect archiva-managed repository
Fixed by reseting dav servers on configuration save properly.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583646
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 10 Oct 2007 23:35:22 +0000 (23:35 +0000)]
[MRM-525] Typos on the hacking page
Patch by Alex Mayorga Adame
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583643
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 10 Oct 2007 23:24:38 +0000 (23:24 +0000)]
[MRM-461] Warning message for non existent resources should include what resource it failed to locate.
Added url + resource path to log message.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583641
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 10 Oct 2007 23:06:42 +0000 (23:06 +0000)]
[MRM-519] fail to resolve artifactId for libs that contain versionKeyword in artifactId, like "maven-test-plugin"
Final cleanup based on tests from real maven 1 projects.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583638
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 10 Oct 2007 23:06:39 +0000 (23:06 +0000)]
[MRM-519] fail to resolve artifactId for libs that contain versionKeyword in artifactId, like "maven-test-plugin"
Final cleanup based on tests from real maven 1 projects.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583637
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 10 Oct 2007 22:23:04 +0000 (22:23 +0000)]
[MRM-534] Test failure in RepositoryContentConsumerUtilTest
Fixed OS specific validation in mock object to be OS neutral.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583632
13f79535 -47bb-0310-9956-
ffa450edef68
Joakim Erdfelt [Wed, 10 Oct 2007 22:15:51 +0000 (22:15 +0000)]
Eliminating duplicate repositories from showing up after the conversion.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583630
13f79535 -47bb-0310-9956-
ffa450edef68