aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-base
Commit message (Collapse)AuthorAgeFilesLines
* -Reverted version to 1.0-beta-3-SNAPSHOTMaria Odea B. Ching2007-10-2619-19/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588567 13f79535-47bb-0310-9956-ffa450edef68
* Adding some tests for invalid request paths.Joakim Erdfelt2007-10-242-5/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587701 13f79535-47bb-0310-9956-ffa450edef68
* [MRM-565] Archiva 1.0-beta-3 fails in 404 on all legacy request.Joakim Erdfelt2007-10-232-12/+366
| | | | | | | | | | 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
* [MRM-563] Proxy connector logic for getIfModified is backwards.Joakim Erdfelt2007-10-2315-394/+515
| | | | | | | | | | | | 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
* Adding a few more .toKey() methods to aide in logging statements elsewhere.Joakim Erdfelt2007-10-231-0/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587310 13f79535-47bb-0310-9956-ffa450edef68
* [MRM-562] Artifact type "maven-plugin" is not detected correctly in ↵Joakim Erdfelt2007-10-2210-25/+304
| | | | | | | | | | .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
* [MRM-551] the default scan cron expression is once a day, should be hourlyBrett Porter2007-10-221-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587097 13f79535-47bb-0310-9956-ffa450edef68
* [MRM-546] correct clean up of registry after removalBrett Porter2007-10-221-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587088 13f79535-47bb-0310-9956-ffa450edef68
* [MRM-546] restore correct test data and fix configuration modificationsBrett Porter2007-10-223-53/+78
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587071 13f79535-47bb-0310-9956-ffa450edef68
* [MRM-546] re-enable tests that are passingBrett Porter2007-10-221-33/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587070 13f79535-47bb-0310-9956-ffa450edef68
* [maven-release-plugin] prepare for next development iterationMaria Odea B. Ching2007-10-2219-19/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586989 13f79535-47bb-0310-9956-ffa450edef68
* [maven-release-plugin] prepare release archiva-1.0-beta-3Maria Odea B. Ching2007-10-2219-19/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586987 13f79535-47bb-0310-9956-ffa450edef68
* [MRM-265]Maria Odea B. Ching2007-10-211-2/+1
| | | | | | | | | | | - 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
* [MRM-555] scanner checks timestamps, but some consumers will want to consume ↵Brett Porter2007-10-218-54/+196
| | | | | | artifacts regardless git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586827 13f79535-47bb-0310-9956-ffa450edef68
* Re-enabling tests now that MRM-535 is fixed.Joakim Erdfelt2007-10-192-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586636 13f79535-47bb-0310-9956-ffa450edef68
* Beefing up tests for RepositoryContentConsumers.Joakim Erdfelt2007-10-197-260/+425
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586524 13f79535-47bb-0310-9956-ffa450edef68
* Updating javadoc.Joakim Erdfelt2007-10-191-0/+91
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586517 13f79535-47bb-0310-9956-ffa450edef68
* run the correct consumersBrett Porter2007-10-192-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586514 13f79535-47bb-0310-9956-ffa450edef68
* Cleaning up potential multi-threading issues with use of static ↵Joakim Erdfelt2007-10-193-10/+9
| | | | | | SimpleDateFormat. git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586472 13f79535-47bb-0310-9956-ffa450edef68
* Correcting path resolution logic.Joakim Erdfelt2007-10-171-8/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585598 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused classes.Joakim Erdfelt2007-10-1710-2166/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585588 13f79535-47bb-0310-9956-ffa450edef68
* Removing unused imports.Joakim Erdfelt2007-10-171-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585587 13f79535-47bb-0310-9956-ffa450edef68
* Removing unused pieces.Joakim Erdfelt2007-10-171-24/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585586 13f79535-47bb-0310-9956-ffa450edef68
* Upgrading bidirlayout usage to RepoContent usage to eliminate bugs around ↵Joakim Erdfelt2007-10-171-12/+18
| | | | | | missing content from bad layout routines. git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585579 13f79535-47bb-0310-9956-ffa450edef68
* Upgrading bidirlayout usage to RepoContent usage to eliminate bugs around ↵Joakim Erdfelt2007-10-171-17/+15
| | | | | | missing content from bad layout routines. git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585576 13f79535-47bb-0310-9956-ffa450edef68
* Upgrading bidirlayout usage to RepoContent usage to eliminate bugs around ↵Joakim Erdfelt2007-10-171-20/+18
| | | | | | missing content from bad layout routines. git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585574 13f79535-47bb-0310-9956-ffa450edef68
* Adding ability to create an ArchivaArtifact from an ArtifactReference.Joakim Erdfelt2007-10-171-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585573 13f79535-47bb-0310-9956-ffa450edef68
* Updating from bidirlayout to RepoContent techniques.Joakim Erdfelt2007-10-174-39/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585569 13f79535-47bb-0310-9956-ffa450edef68
* Setting deprecations on interfaces / classes not to use.Joakim Erdfelt2007-10-176-0/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585564 13f79535-47bb-0310-9956-ffa450edef68
* removed usage of BidirectionalRepositoryLayout in database cleanup ↵Maria Odea B. Ching2007-10-167-131/+7
| | | | | | 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
* - removed print stack trace in DatabaseCleanupRemoveProjectConsumerMaria Odea B. Ching2007-10-161-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585014 13f79535-47bb-0310-9956-ffa450edef68
* [MRM-535] metadata-updater is changing lastUpdating timestamp when it shouldn'tJoakim Erdfelt2007-10-161-9/+35
| | | | | | | | | | 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
* [MRM-398] configure guest access by default for pre-configured repositoriesJoakim Erdfelt2007-10-151-0/+5
| | | | | | | 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
* [MRM-398] configure guest access by default for pre-configured repositoriesJoakim Erdfelt2007-10-151-3/+5
| | | | | | | 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
* [MRM-398] configure guest access by default for pre-configured repositoriesJoakim Erdfelt2007-10-152-5/+32
| | | | | | | 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
* [MRM-398] configure guest access by default for pre-configured repositoriesJoakim Erdfelt2007-10-151-0/+5
| | | | | | | 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
* [MRM-527]Maria Odea B. Ching2007-10-151-0/+203
| | | | | | | - 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
* [MRM-37 and MRM-527]Maria Odea B. Ching2007-10-159-18/+650
| | | | | | | | | | - 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
* Removing BidirectionalRepositoryLayoutFactory usage.Joakim Erdfelt2007-10-121-51/+22
| | | | | | | | | | 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
* Adding ManagedRepositoryContent.toFile( ArchivaArtifact ) and ↵Joakim Erdfelt2007-10-125-6/+60
| | | | | | ManagedRepositoryContent.toPath( ArchivaArtifact ) git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584215 13f79535-47bb-0310-9956-ffa450edef68
* Moved Keys out of archiva-dependency-graph into archiva-model to aide in ↵Joakim Erdfelt2007-10-123-2/+3
| | | | | | logging cleanup elsewhere. git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584214 13f79535-47bb-0310-9956-ffa450edef68
* Fixed unit tests for RepositoryPurge as they were non-repeatable in an IDE ↵Joakim Erdfelt2007-10-1214-576/+296
| | | | | | | | | | | | 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
* [MRM-501] Saving configuration fails through the webapp.Joakim Erdfelt2007-10-124-18/+167
| | | | | | | | | 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
* Fixing missing requirement in test components.xml.Joakim Erdfelt2007-10-112-2/+10
| | | | | | 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
* Attempting to remove <repositories> section is failing.Joakim Erdfelt2007-10-114-4/+56
| | | | | | | | 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
* Fixing svn:eol-style propertyJoakim Erdfelt2007-10-111-818/+818
| | | | git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583897 13f79535-47bb-0310-9956-ffa450edef68
* [MRM-533] Checksum files (sha1/md5) are not kept up to date on ↵Joakim Erdfelt2007-10-1114-252/+558
| | | | | | | | | | | 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
* Correcting logic for determining if the local maven-metadata.xml needs to be ↵Joakim Erdfelt2007-10-111-15/+45
| | | | | | updated. git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583862 13f79535-47bb-0310-9956-ffa450edef68
* [MRM-461] Warning message for non existent resources should include what ↵Joakim Erdfelt2007-10-101-4/+5
| | | | | | | | 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
* [MRM-519] fail to resolve artifactId for libs that contain versionKeyword in ↵Joakim Erdfelt2007-10-101-1/+1
| | | | | | | | 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