Commit Graph

107 Commits

Author SHA1 Message Date
Maria Odea B. Ching c6024956a9 -added missing ArtifactClassifierMapping which got left out from yesterday's commit
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@596922 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 03:37:20 +00:00
Maria Odea B. Ching 9cc410a27c [MRM-596]
applied patch submitted by nicolas de loof

- remove the assertion that legacy path have no classifier. Simply have no way to support unstandard classifiers.
- automatically use "-javadoc" and "-sources" classifiers for path with types "javadoc.jars" and "java-sources". Check for the classifier to 
be detected in the version string and remove it.


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@596620 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 11:12:47 +00:00
Maria Odea B. Ching 46fbfa0fd1 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593451 13f79535-47bb-0310-9956-ffa450edef68
2007-11-09 08:32:31 +00:00
Maria Odea B. Ching 68ec920cd9 [maven-release-plugin] prepare release archiva-1.0-beta-4
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593449 13f79535-47bb-0310-9956-ffa450edef68
2007-11-09 08:30:01 +00:00
Joakim Erdfelt 729ad246d2 [MRM-564] Audit log is not populated when artifacts are deployed.
Expanded Audit concepts into listener / event / log.
Using log4j for audit log (for consistency with other logging)
Moved AuditLog from webapp to repository-layer.




git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593246 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 18:36:12 +00:00
Joakim Erdfelt baf4c89435 [MRM-547] proxy connectors: cache failures options are confusing
[MRM-549] proxy connectors: no "always" option for releases and snapshots policies
Applying changes to policy naming per decisions made in dev@archiva mailing list.
Updating DefaultArchivaConfiguration.load() to automatically adjust old configuration settings to new values.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@590908 13f79535-47bb-0310-9956-ffa450edef68
2007-11-01 06:21:26 +00:00
Maria Odea B. Ching 76ca3a6797 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589972 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 06:18:56 +00:00
Maria Odea B. Ching 7cde1cdf00 [maven-release-plugin] prepare release archiva-1.0-beta-3
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589970 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 06:16:21 +00:00
Brett Porter b2c335626a [MRM-528] must only use the enabled consumers
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589542 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 08:24:12 +00:00
Joakim Erdfelt 76aabf37a0 [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
2007-10-26 18:16:43 +00:00
Maria Odea B. Ching c5f4e5079b -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
2007-10-26 08:54:24 +00:00
Joakim Erdfelt 89079a2684 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
2007-10-24 00:00:30 +00:00
Joakim Erdfelt ac7babe5a1 [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
2007-10-23 19:21:19 +00:00
Joakim Erdfelt 1c0f8cd18e [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
2007-10-22 20:00:55 +00:00
Maria Odea B. Ching d2ceac7b0b [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
2007-10-22 02:56:59 +00:00
Maria Odea B. Ching 44c44aa4f1 [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
2007-10-22 02:54:10 +00:00
Brett Porter d271660cc6 [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
2007-10-21 02:43:26 +00:00
Joakim Erdfelt 8d22aca37f Beefing up tests for RepositoryContentConsumers.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586524 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 16:40:05 +00:00
Joakim Erdfelt 53b29620d5 Updating javadoc.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586517 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 16:13:49 +00:00
Brett Porter cc605be65b run the correct consumers
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586514 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 15:59:35 +00:00
Joakim Erdfelt 5242d36ec9 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
2007-10-19 14:21:13 +00:00
Joakim Erdfelt 0427f685c7 Remove unused classes.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585588 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 17:30:18 +00:00
Joakim Erdfelt 568312aa1f Updating from bidirlayout to RepoContent techniques.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585569 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 16:47:33 +00:00
Joakim Erdfelt f3d43d4d4d 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
2007-10-17 16:39:06 +00:00
Joakim Erdfelt 0ef85fe69c [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
2007-10-16 01:31:40 +00:00
Joakim Erdfelt 4914303c3d [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
2007-10-15 20:39:39 +00:00
Joakim Erdfelt baacf6e15f 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
2007-10-12 17:53:59 +00:00
Joakim Erdfelt a4f2841522 [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
2007-10-11 16:43:13 +00:00
Joakim Erdfelt 857156936a [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
2007-10-10 22:23:04 +00:00
Joakim Erdfelt 313cc4ddfc Fixing XMLException on non-existant proxy metadata file.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583623 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 21:35:50 +00:00
Joakim Erdfelt e6bf512368 [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.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583412 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 09:47:20 +00:00
Joakim Erdfelt 25bc854985 Reducing chattiness by adding ConfigurationListener to give option of event on configuration save as a whole, not each field.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@582993 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 23:08:32 +00:00
Joakim Erdfelt 8af86cd884 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.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@582987 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 22:07:39 +00:00
Joakim Erdfelt 4b9cf4b929 Adding ProjectModel300Reader tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@582026 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 23:48:58 +00:00
Joakim Erdfelt 13e64dfc3d [MRM-517] Some maven 2 requests are treated as maven 1 requests
Applied patch by: nicolas de loof



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@582024 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 23:03:37 +00:00
Joakim Erdfelt df668819ac Fixing build / test error within continuum.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@580582 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 13:37:01 +00:00
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 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 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 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 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
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 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