Commit Graph

2058 Commits

Author SHA1 Message Date
Joakim Erdfelt ae567b9b6b 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
2007-10-11 18:35:21 +00:00
Joakim Erdfelt 41ad038b82 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
2007-10-11 18:26:00 +00:00
Joakim Erdfelt 7ff4618a09 Fixing svn:eol-style property
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583897 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 17:58:48 +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 e4d1944847 Fixing Error 500 condition.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583874 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 16:40:49 +00:00
Joakim Erdfelt bb9a82825b 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
2007-10-11 16:05:24 +00:00
Joakim Erdfelt 009ca8b128 Fixing versions.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583852 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 15:31:54 +00:00
Joakim Erdfelt 46c2f650b3 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
2007-10-11 00:32:22 +00:00
Joakim Erdfelt 9aa41ce31b Fixing event triggers.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583648 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 00:18:02 +00:00
Joakim Erdfelt 731955abe9 [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
2007-10-11 00:14:43 +00:00
Joakim Erdfelt 1e08c78cad [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
2007-10-10 23:35:22 +00:00
Joakim Erdfelt 510867d718 [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
2007-10-10 23:24:38 +00:00
Joakim Erdfelt c88017fe32 [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
2007-10-10 23:06:42 +00:00
Joakim Erdfelt 5c36e85275 [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
2007-10-10 23:06:39 +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 54207afb87 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
2007-10-10 22:15:51 +00:00
Joakim Erdfelt e799f29dc2 Removing usage of old layout objects.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583625 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 21:42:03 +00:00
Joakim Erdfelt 027685ca6b Adjusting chattiness of logs.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583624 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 21:39:44 +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 1ad4bcc637 Removing debug statement from JSP.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@582023 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 22:42:07 +00:00
Joakim Erdfelt 42336da5e3 [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.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@582020 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 22:29:43 +00:00
Carlos Sanchez Gonzalez f4a8ffcf1a [MAVENUPLOAD-1743] Add com.agilejava.blammo sync
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@581744 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 23:04:40 +00:00
Carlos Sanchez Gonzalez 576dd1fc46 Update svn url
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@581743 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 23:00:56 +00:00
Carlos Sanchez Gonzalez ff427e6ff3 Update svn url
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@581742 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 22:59:07 +00:00
Joakim Erdfelt b07a8c9aac Making archiva startup deterministic.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@581348 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 18:57:19 +00:00
Joakim Erdfelt eaab7a56c6 [MRM-202] Change the top-left logo to be an Archiva logo that goes to the front page of the instance
Applied url to webwork namespace:action of "/index" for top left logo.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@581332 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 18:12:18 +00:00
Joakim Erdfelt 3a88ce0ad2 [MRM-513] Support remote repositories with passwords.
Commited patch from James William Dumay.
Updated title/h1 sections of add/edit/delete jsps to be consistent with regards to "remote" and "managed" usage.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@581324 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 18:00:48 +00:00
Joakim Erdfelt f4330d5248 [MRM-448] validation for reports form.
Creating validation.
Changing "Show Reports" to "Pick Reports" to be more clear.
Minor cleanup of jasper detection.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@581119 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 00:44:21 +00:00
Joakim Erdfelt 2ddcb71f37 JDK5 Typesafe Collection Updates
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@581104 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 22:33:16 +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 d539506103 Updating all consumers with JDK5 Generics for Collections.
Correcting report output on model details in ProjectModelToDatabaseConsumer.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579799 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 21:13:25 +00:00
Joakim Erdfelt dca8107e77 [MRM-503] Metadata files need Pragma:no-cache response header.
Applied Pragma and Cache-Control headers to maven-metadata.xml requests only.
Added TODO for other filetypes.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579747 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 18:23:41 +00:00
Joakim Erdfelt 3565d57261 Expanding unit tests. (needed to eliminate this as possible cause for other issue)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579721 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 17:23:43 +00:00
Joakim Erdfelt 7f570c94b5 Fixing bad decision to use "<" and ">" in report messages, as they are currently filtered out as HTML.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579679 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 14:47:50 +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 0af7305111 [MRM-494] leaving repository ID blank on the add repository page goes to the edit page where ID cannot be edited
Overhauled repository admin actions to be more consistent with best practices.
Split into seperate actions.
Added -validation.xml files.
Added unit tests.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579417 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 00:01:01 +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 3b339dd073 Cleaning up error message from ProjectModelToDatabaseConsumer on bad/unexpected models.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579332 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 18:02:43 +00:00
Brett Porter 0222469bc6 simplify the repository configuration pages
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579036 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 02:13:13 +00:00