]> source.dussan.org Git - archiva.git/log
archiva.git
16 years agoUpgrading to released version.
Joakim Erdfelt [Fri, 26 Oct 2007 20:22:14 +0000 (20:22 +0000)]
Upgrading to released version.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588768 13f79535-47bb-0310-9956-ffa450edef68

16 years ago[MRM-481] Artifact requests with a .xml.zip extension fail with a 404 Error
Joakim Erdfelt [Fri, 26 Oct 2007 18:16:43 +0000 (18:16 +0000)]
[MRM-481] Artifact requests with a .xml.zip extension fail with a 404 Error
Fixed parsing of filenames to look for "." or "-" after the version to help determine if this artifact has a classifier or just a double-extension.
Added unit tests to repository.content.* classes for double extension.
Added unit test to RepositoryServlet for GET of artifact with double extension.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588732 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdating test cases for ManagedRepositories to not set RoleManager via plexus (to...
Joakim Erdfelt [Fri, 26 Oct 2007 16:10:59 +0000 (16:10 +0000)]
Updating test cases for ManagedRepositories to not set RoleManager via plexus (to aide in upgrade of redback)
/me runs to the edge of the ring and tags Jesse.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588696 13f79535-47bb-0310-9956-ffa450edef68

16 years ago[MRM-454]
Maria Odea B. Ching [Fri, 26 Oct 2007 10:36:48 +0000 (10:36 +0000)]
[MRM-454]
-synchronized the index operations in LuceneRepositoryContentIndex (used 'repository' as the lock) to avoid index locking
-added method for deleting artifacts from the index during repository purge
-updated repository purge tests

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588598 13f79535-47bb-0310-9956-ffa450edef68

16 years ago-Reverted version to 1.0-beta-3-SNAPSHOT
Maria Odea B. Ching [Fri, 26 Oct 2007 08:54:24 +0000 (08:54 +0000)]
-Reverted version to 1.0-beta-3-SNAPSHOT

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588567 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemoving osjava as it is no longer setup to sync
Henri Yandell [Fri, 26 Oct 2007 05:19:56 +0000 (05:19 +0000)]
Removing osjava as it is no longer setup to sync

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588528 13f79535-47bb-0310-9956-ffa450edef68

16 years ago[MRM-567] Unable to download plugin SNAPSHOT's from proxy.
Joakim Erdfelt [Fri, 26 Oct 2007 00:59:48 +0000 (00:59 +0000)]
[MRM-567] Unable to download plugin SNAPSHOT's from proxy.
Adding unit tests for Timestamped Snapshot GET from RepositoryServlet (with proxies).
Adding unit tests for Timestamped Plugin Snapshot GET from RepositoryServlet (with proxies).

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588460 13f79535-47bb-0310-9956-ffa450edef68

16 years ago[MRM-567] Unable to download plugin SNAPSHOT's from proxy.
Joakim Erdfelt [Thu, 25 Oct 2007 23:39:05 +0000 (23:39 +0000)]
[MRM-567] Unable to download plugin SNAPSHOT's from proxy.
Adding unit tests for Artifact downloads via proxied requests.
Splitting RepositoryServlet testcase up to work around PlexusTestCase bug (the configuration within the plexus container consumed the entire java heap, causing an OOM, switching to smaller test cases gets around this bug, but its still not nice bug to hit.)
Reworking MimeTypes to allow for loading of archiva custom configuration. (mainly to get around the .getClassLoader().getResource() differences between command line / ide unit testing)

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588391 13f79535-47bb-0310-9956-ffa450edef68

16 years agoa part of REDBACK-81, this will allow a user to customize various messages from redba...
Jesse McConnell [Thu, 25 Oct 2007 16:43:07 +0000 (16:43 +0000)]
a part of REDBACK-81, this will allow a user to customize various messages from redback if they so desire.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588279 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdating version
Joakim Erdfelt [Wed, 24 Oct 2007 16:38:27 +0000 (16:38 +0000)]
Updating version

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587923 13f79535-47bb-0310-9956-ffa450edef68

16 years ago[MRM-564] Audit log is not populated when artifacts are deployed
Joakim Erdfelt [Wed, 24 Oct 2007 15:38:38 +0000 (15:38 +0000)]
[MRM-564] Audit log is not populated when artifacts are deployed
Passing through listener to actual davserver impl.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587908 13f79535-47bb-0310-9956-ffa450edef68

16 years ago[MRM-567] Unable to download plugin SNAPSHOT's from proxy.
Joakim Erdfelt [Wed, 24 Oct 2007 00:39:14 +0000 (00:39 +0000)]
[MRM-567] Unable to download plugin SNAPSHOT's from proxy.
Adding tests for non-proxy downloads of SNAPSHOT first (gotta test the basics)

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587719 13f79535-47bb-0310-9956-ffa450edef68

16 years ago[MRM-565] Archiva 1.0-beta-3 fails in 404 on all legacy request.
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

16 years ago[MRM-565] Archiva 1.0-beta-3 fails in 404 on all legacy request.
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

16 years agoAdding some tests for invalid request paths.
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

16 years ago[MRM-565] Archiva 1.0-beta-3 fails in 404 on all legacy request.
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

16 years agoRevert some bad changes in previous commit
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

16 years ago[MRM-458] update to last remote resources plugin
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

16 years ago[MRM-561] Error 500 while deleting a proxy connector
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

16 years agoSome error handling cleanup.
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

16 years ago[MRM-563] Proxy connector logic for getIfModified is backwards.
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

16 years agoAdding a few more .toKey() methods to aide in logging statements elsewhere.
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

16 years ago[MAVENUPLOAD-1774] Add de.berlios.jsunit sync
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

16 years ago[MRM-562] Artifact type "maven-plugin" is not detected correctly in .toArtifactRefere...
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

16 years ago[MRM-396] remove true/false from boolean icons
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

16 years ago[MRM-551] the default scan cron expression is once a day, should be hourly
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

16 years ago[MRM-558] add missing div
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

16 years agonaming consistency
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

16 years ago[MRM-559] fix version setting
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

16 years ago[MRM-546] correct clean up of registry after removal
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

16 years ago[MRM-559] fix version setting
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

16 years ago[MRM-546] restore correct test data and fix configuration modifications
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

16 years ago[MRM-546] re-enable tests that are passing
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

16 years ago[maven-release-plugin] prepare for next development iteration
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

16 years ago[maven-release-plugin] prepare release archiva-1.0-beta-3
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

16 years ago[MRM-256]
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

16 years ago[MRM-256]
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

16 years ago[MRM-256]
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

16 years ago[MRM-265]
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

17 years agoadd a configuration file for jetty:run so that it doesn't create ~/.m2/archiva.xml...
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

17 years ago[MRM-400] improve appearance of selected tab by removing unnecessary link
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

17 years agoclean up
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

17 years ago[MRM-555] scanner checks timestamps, but some consumers will want to consume artifact...
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

17 years agoRe-enabling tests now that MRM-535 is fixed.
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

17 years ago[MRM-520] Proxy Connectors are not deleted with the deletion of a Repository.
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

17 years agoAdding version into footer
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

17 years ago[MRM-398] configure guest access by default for pre-configured repositories
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

17 years agoBeefing up tests for RepositoryContentConsumers.
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

17 years agoUpdating javadoc.
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

17 years agorun the correct consumers
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

17 years agoCleaning up potential multi-threading issues with use of static SimpleDateFormat.
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

17 years agoUpgrading to released versions
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

17 years agoAdd org.ow2 sync from org.objectweb
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

17 years agoCorrecting path resolution logic.
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

17 years agoRemove unused classes.
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

17 years agoRemoving unused imports.
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

17 years agoRemoving unused pieces.
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

17 years agoUpgrading bidirlayout usage to RepoContent usage to eliminate bugs around missing...
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

17 years ago[MAVENUPLOAD-1771] Add net.sf.aislib sync
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

17 years agoUpgrading bidirlayout usage to RepoContent usage to eliminate bugs around missing...
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

17 years agoUpgrading bidirlayout usage to RepoContent usage to eliminate bugs around missing...
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

17 years agoUpgrading bidirlayout usage to RepoContent usage to eliminate bugs around missing...
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

17 years agoAdding ability to create an ArchivaArtifact from an ArtifactReference.
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

17 years agoUpdating from bidirlayout to RepoContent techniques.
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

17 years agoSetting deprecations on interfaces / classes not to use.
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

17 years agoChanging name from "Maven Archiva" to "Apache Archiva" to match website.
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

17 years ago[MAVENUPLOAD-1761] Add mysql sync
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

17 years agoremoved usage of BidirectionalRepositoryLayout in database cleanup consumers, made...
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

17 years ago- removed print stack trace in DatabaseCleanupRemoveProjectConsumer
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

17 years ago[MRM-535] metadata-updater is changing lastUpdating timestamp when it shouldn't
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

17 years agoFixing GET vs PUT logic.
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

17 years ago[MRM-468] incorrect URL reported from failures in WebDAV
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

17 years ago[MRM-398] configure guest access by default for pre-configured repositories
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

17 years ago[MRM-398] configure guest access by default for pre-configured repositories
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

17 years ago[MRM-398] configure guest access by default for pre-configured repositories
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

17 years ago[MRM-398] configure guest access by default for pre-configured repositories
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

17 years ago[MRM-398] configure guest access by default for pre-configured repositories
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

17 years ago[MAVENUPLOAD-1746] Add ch.hortis.sonar sync
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

17 years ago[MRM-527]
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

17 years ago[MRM-37 and MRM-527]
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

17 years ago[MRM-521]
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

17 years agoAdd links to the reference docs (snapshot docs are symlinked as 'latest' on the serve...
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

17 years agoAdd FindBugs to the project reports.
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

17 years agoConfigure the UMLGraph doclet to generate UML diagrams at the package and class level...
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

17 years agoConfigure the JDK level for the PMD plugin.
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

17 years agoAdjust url for publishing the site to archiva/ref/[version]
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

17 years ago[MRM-459] Restored JSTL to compile scope, it needs to be included in the webapp....
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

17 years ago[MRM-398] configure guest access by default for pre-configured repositories
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

17 years agoRemoving unused plexus test component xmls.
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

17 years ago[MRM-459] prune the distributed dependencies
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

17 years agoUsing new ManagedRepositoryContent.toFile( ArchivaArtifact )
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

17 years agoRemoving BidirectionalRepositoryLayoutFactory usage.
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

17 years agoAdding ManagedRepositoryContent.toFile( ArchivaArtifact ) and ManagedRepositoryConten...
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

17 years agoMoved Keys out of archiva-dependency-graph into archiva-model to aide in logging...
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

17 years agoFixed unit tests for RepositoryPurge as they were non-repeatable in an IDE environment.
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

17 years ago[MRM-501] Saving configuration fails through the webapp.
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

17 years agoFixing missing requirement in test components.xml.
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

17 years agoAttempting to remove <repositories> section is failing.
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

17 years agoFixing svn:eol-style property
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

17 years ago[MRM-533] Checksum files (sha1/md5) are not kept up to date on maven-metadata.xml...
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