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.
[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
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.
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.
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.
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.
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.
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.
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.
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.
[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
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.
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.
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.
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.
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.
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.
Joakim Erdfelt [Wed, 10 Oct 2007 09:47:20 +0000 (09:47 +0000)]
[MRM-432] Proxy Connectors are unable to download artifacts with alpha numerical version numbers
[MRM-519] fail to resolve artifactId for libs that contain versionKeyword in artifactId, like "maven-test-plugin"
[MRM-518] Changing the internal repository directory has no effect
[MRM-512] Unable to convert null repository config to archiva repository.
[MRM-533] metadata-updater is changing lastUpdating timestamp when it shouldn't
[MRM-493] Downloaded artifacts are stored in incorrect archiva-managed repository
- Work against proposal in mailing list http://www.nabble.com/-Proposal--Repository-Layout-Detection-Interaction-Changes.-tf4577852.html
- Creation of package org.apache.maven.archiva.repository.content
- Creation of RepositoryContent alternative as outlined in proposal.
- Have not swung all code over to new repositorycontent object yet.
- Left old BidirectionalRepositoryLayout classes in place temporarily.
- Migrated the following over to new RepositoryContent objects...
* the /repository/ url
* proxying
* metadata updating
* repository purge classes
- Unit testing. Lots and lots of unit testing.
- Correcting bad template email address.
Joakim Erdfelt [Mon, 8 Oct 2007 22:07:39 +0000 (22:07 +0000)]
Finishing the Repository split work that brett started.
ArchivaRepository has been removed from model.
This work was needed before repository layout/detection proposal work is started.
Joakim Erdfelt [Thu, 4 Oct 2007 22:29:43 +0000 (22:29 +0000)]
[MRM-482] Saving a proxy connector after adding a new property results to HTTP 500 error
[MRM-477] Missing ability to manage proxy order.
[MRM-437] admin editing of proxy connectors fails in multiple instances
* Split giant ball of mud ConfigureProxyConnectorAction into seperate Add/Edit/Delete/Sort/List actions
* Added ability to maintain sort order.
* Added unit testing.
* Cleaned up Proxy Connector admin UI to allow for extra long Location / URL paths.
* Slideout Hide of the Advanced configuration options on the Proxy Connector list screen.