Commit Graph

2028 Commits

Author SHA1 Message Date
Joakim Erdfelt 912b15a347 [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
2007-10-15 20:39:26 +00:00
Carlos Sanchez Gonzalez 0954d1bab1 [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
2007-10-15 14:23:20 +00:00
Maria Odea B. Ching c577bbbaba [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
2007-10-15 11:35:35 +00:00
Maria Odea B. Ching 88e4896ee9 [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
2007-10-15 11:16:38 +00:00
Maria Odea B. Ching 829e85759e [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
2007-10-15 03:59:21 +00:00
Wendy Smoak 66387f3305 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
2007-10-14 22:23:42 +00:00
Wendy Smoak 5b45f8574b Add FindBugs to the project reports.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584593 13f79535-47bb-0310-9956-ffa450edef68
2007-10-14 19:42:15 +00:00
Wendy Smoak c7ec373166 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
2007-10-14 18:51:40 +00:00
Wendy Smoak 68241b0231 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
2007-10-14 18:28:35 +00:00
Wendy Smoak 024a9c774a 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
2007-10-14 16:08:13 +00:00
Wendy Smoak 7b37378b1d [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
2007-10-14 01:33:45 +00:00
Joakim Erdfelt 7fa01fb175 [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
2007-10-12 21:35:41 +00:00
Joakim Erdfelt 18174bb428 Removing unused plexus test component xmls.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584274 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 21:20:54 +00:00
Joakim Erdfelt 6981dfa58f [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
2007-10-12 18:01:04 +00:00
Joakim Erdfelt fb5386209f Using new ManagedRepositoryContent.toFile( ArchivaArtifact )
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584217 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 17:58:29 +00:00
Joakim Erdfelt 78084521ec 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
2007-10-12 17:56:29 +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 8d21f6e627 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
2007-10-12 17:52:32 +00:00
Joakim Erdfelt 46f7d825da 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
2007-10-12 17:49:40 +00:00
Joakim Erdfelt 69cdf2b902 [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
2007-10-12 01:26:06 +00:00
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