Commit Graph

1650 Commits

Author SHA1 Message Date
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 37b716926d Removing unused imports.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585587 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 17:29:17 +00:00
Joakim Erdfelt 766b613044 Removing unused pieces.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585586 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 17:28:01 +00:00
Joakim Erdfelt b571fcf307 Upgrading bidirlayout usage to RepoContent usage to eliminate bugs around missing content from bad layout routines.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585583 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 17:23:04 +00:00
Carlos Sanchez Gonzalez e02dcf50cf [MAVENUPLOAD-1771] Add net.sf.aislib sync
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585581 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 17:20:05 +00:00
Joakim Erdfelt cd2c55d5c3 Upgrading bidirlayout usage to RepoContent usage to eliminate bugs around missing content from bad layout routines.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585579 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 17:14:25 +00:00
Joakim Erdfelt 84731f48bc Upgrading bidirlayout usage to RepoContent usage to eliminate bugs around missing content from bad layout routines.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585576 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 17:01:25 +00:00
Joakim Erdfelt b8ec325b49 Upgrading bidirlayout usage to RepoContent usage to eliminate bugs around missing content from bad layout routines.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585574 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 16:56:51 +00:00
Joakim Erdfelt acdff6dcc1 Adding ability to create an ArchivaArtifact from an ArtifactReference.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585573 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 16:54:27 +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 544c45f048 Changing name from "Maven Archiva" to "Apache Archiva" to match website.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585562 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 16:30:31 +00:00
Carlos Sanchez Gonzalez 6869cf4807 [MAVENUPLOAD-1761] Add mysql sync
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585195 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 16:44:22 +00:00
Maria Odea B. Ching 657b328e5d removed usage of BidirectionalRepositoryLayout in database cleanup 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
2007-10-16 07:45:27 +00:00
Maria Odea B. Ching bc7e954a49 - removed print stack trace in DatabaseCleanupRemoveProjectConsumer
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585014 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 03:13:03 +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 a97d5c15b7 Fixing GET vs PUT logic.
Encountered a situation where a PUT could result in a 404.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584992 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 01:29:31 +00:00
Joakim Erdfelt 1e78efcf9f [MRM-468] incorrect URL reported from failures in WebDAV
Corrected locally the error message being reported by it.could.webdav



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584986 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 00:52:42 +00:00
Joakim Erdfelt f19ca1f500 [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@584906 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 20:39:42 +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 05f78c6d42 [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@584904 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 20:39:37 +00:00
Joakim Erdfelt e77cf5da22 [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@584903 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 20:39:34 +00:00
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