Commit Graph

326 Commits

Author SHA1 Message Date
Olivier Lamy c96411890a [MRM-1473] remove use of plexus-spring
start some changes on archiva-configuration and archiva-security

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125142 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 22:20:55 +00:00
Olivier Lamy 5bfd24ff52 add an empty file to help git 'sync' with empty directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1104522 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 20:19:27 +00:00
Olivier Lamy 36466076b6 upgrade spring version to 3.0.5.RELEASE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1103900 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 21:26:42 +00:00
Olivier Lamy b781d2f5f7 update plexus-spring groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1103898 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 21:26:24 +00:00
Brett Porter 86ed5afc5c [MRM-1111] upgrade to Struts 2.1.8.1
Applied patch and made some additional modifications
Submitted by: Julien Henry, Gwen Harold Autencio

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091398 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 13:23:24 +00:00
Brett Porter 076a33f877 [MRM-1327] fix 'used by' to work under JCR store. Remove updateProjectReferences API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1086569 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 12:42:47 +00:00
Maria Odea B. Ching 28a0b59676 [MRM-1461]
submitted by Maria Catherine Tan
o continue deleting contents of the repo even if it encountered a file that it couldn't delete then throw an IOException at the end


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1082160 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 14:53:40 +00:00
Brett Porter 91a012ebdd [MRM-1448] additional '.' in the classifier & extension should be attributed to the extension instead of the classifier.
Note that existing records will not be updated - the repository may need to be re-scanned to reflect the change.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1054034 13f79535-47bb-0310-9956-ffa450edef68
2010-12-31 00:53:23 +00:00
Brett Porter 23a09c2024 [MRM-1443, MRM-1327] allow repository-statistics module to optimise statistics generation if JCR store is available
- updates to other mock repositories

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053826 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 08:54:16 +00:00
Brett Porter 6ff9147139 [MRM-1327] hook save()/close()/revert() methods to the repository implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053630 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 13:02:59 +00:00
Brett Porter 653a42283b [MRM-1330] problem-reports is decoupled
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053608 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 10:44:09 +00:00
Brett Porter 53c1188710 [MRM-1330] correct bug - ensure parsed model from storage gets added to content repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053567 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 08:15:02 +00:00
Brett Porter f56609efad [MRM-1330] refactor access around the concept of a "repository session". See Javadoc for some notes. This should be a single entry point for application users of either the metadata repository, resolution, or storage access. The session needs to be explicitly closed (and modifications saved) to facilitate some storage mechanisms.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053542 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 06:14:04 +00:00
Brett Porter cdcc0f4ded move cache configuration into Spring context file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1052117 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 00:19:22 +00:00
Brett Porter 34638d4e67 clean up the "TODO" list, and mark those that are more important as "FIXME"
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051810 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 10:20:14 +00:00
Brett Porter c63e2a3f77 [MRM-1327] refactor the repository API to make each concern clearer. Storage, resolver and metadata repository are separate interfaces. Rename methods on the resolver and the storage to be clearer of their intent
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051788 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 08:31:56 +00:00
Brett Porter badcc9e925 [MRM-1327] add exception handling to the metadata repository implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051732 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 01:53:10 +00:00
Brett Porter 70537eb036 [MRM-1421] Archiva repository purge incorrectly purges based on file timestamps even when the snapshot timestamp is known
Merged from: r1049391:1049399

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049407 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 03:39:46 +00:00
Brett Porter f475ae1d1b test case improvements
Merged from: r1049384-1049390

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049406 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 03:30:38 +00:00
Brett Porter 3c7670142f [MRM-1396] Purge task problem : Not enough parts to the path
Merged from: r1049375


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049382 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 01:50:28 +00:00
Brett Porter 458e11fd33 correctly acknowledge September 19
Image is derived from http://commons.wikimedia.org/wiki/File:Piratey,_vector_version.svg, which is in the public domain
Merged from: r1043948



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1043969 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 14:02:45 +00:00
Brett Porter 98d9fea131 [MRM-1442] track time spent in each consumer during a scan, to help diagnose poor scanning performance
Merged from: r1042689


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042695 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:03:02 +00:00
Brett Porter 6897c1f68a [MRM-1441] add repository scanning details to system status page
Merged from: r1042633


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042652 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 14:09:28 +00:00
Brett Porter deba382d42 [MRM-1436] better Map handling
Submitted by: Dave Brosius


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1040919 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 09:48:32 +00:00
Brett Porter 0167efe972 [MRM-1433] remove @Override are on interface methods which is only possible in java 6 for Java 5 compatibility
Submitted by: Jim Sellers


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1039998 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 00:52:27 +00:00
Brett Porter 30f0ab2365 [MRM-1435] fix up useless boxing issues
Submitted by: Dave Brosius


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1039994 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 00:39:43 +00:00
Maria Odea B. Ching bc56d6353c [MRM-1097]
o upgrade nexus indexer to 3.0.1 + added logger bean which is needed by NexusIndexer
o for deployments/proxied artifacts, create and close indexing context when indexing task is executed as compared to the original behavior where the indexing context is created 
before it is queued (so as the indexing task queue builds up, more indexing contexts are being opened/created which might be causing the too many open files problem) 
o updated unit tests with changes made


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1039004 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 11:20:47 +00:00
Maria Odea B. Ching e82ce0f0b5 merged MRM-980 branch to trunk
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1002059 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 09:09:32 +00:00
Brett Porter 8f1414a1dc [MRM-1387] switch to official javax.inject library that is in the central repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@953607 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 08:35:06 +00:00
Jevica Arianne B. Zurbano 158fea721b * moved the creation of index into its own method
* renamed createIndexForQuickSearch to createSimpleIndex to be used in Advanced Search tests



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@944651 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 14:41:11 +00:00
Jevica Arianne B. Zurbano 71f252b734 [MRM-1125] - default search should be AND not OR for multiple keywords
* applied patch
* added additional unit and selenium tests for quick search

Submitted by: Gwen Harold Autencio



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@944632 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 12:56:34 +00:00
Jevica Arianne B. Zurbano 6a2661f866 [MRM-1345] MRM-1345 update use of Nexus indexer
* applied patch
* moved the constant in a new class

Submitted by: Gwen Harold Autencio
updated dependency versions:
* nexus-indexer 2.0.5
* plexus-utils 1.5.5



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@938402 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 10:29:58 +00:00
Brett Porter 3387b53fca remove dependency on repository-layer from audit module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921799 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 11:05:46 +00:00
Brett Porter 5c18f8b344 [MRM-1359] add tests for legacy format translation in WebDAV and other Maven 1 repository notes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921789 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 10:34:42 +00:00
Brett Porter 83821861e8 empty directories and ignores
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921786 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 10:33:24 +00:00
Brett Porter 52176501a4 [MRM-1359] Separate Maven 1.x functionality into its own plugin
- add skeleton and comments

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921691 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 04:50:05 +00:00
Brett Porter 5761f19b58 [MRM-1360] move type population into Maven 2 plugin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921686 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 04:33:02 +00:00
Brett Porter d6c33feff1 [MRM-1282] remove use of repository layer in favour of storage API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921423 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 16:15:21 +00:00
Brett Porter 17348a45ce [MRM-1282] remove duplicated artifact population, ensuring the metadata consumer now sets facets correctly too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921376 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 14:55:59 +00:00
Brett Porter ca5684b38f [MRM-1282] Repository Path Translation consolidation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921374 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 14:47:30 +00:00
Brett Porter f97e798940 [MRM-1282] Repository Path Translation consolidation
- DefaultPathParser now a shell around RepositoryPathTranslator, for refactoring away

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921366 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 14:35:31 +00:00
Brett Porter 3f9d3bac3e [MRM-1360] move type population into Maven 2 plugin
- correct problem with the instantiation of the translator in the legacy code

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921227 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 04:21:54 +00:00
Brett Porter 780176f7f5 [MRM-1360] move type population into Maven 2 plugin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921224 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 04:02:48 +00:00
Brett Porter 7e14904c86 remove redundant code (classifier argument is not used, maven-plugin maps to maven-plugin already using defaults)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921193 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 00:35:11 +00:00
Brett Porter cd9c1097d1 [MRM-1282] start to implement maven metadata for artifacts, splitting from existing sources
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920722 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 08:00:25 +00:00
Brett Porter af2a929978 [MNG-1301] remove the problem reports dependency on the repository layer, start to migrate path parsing into metadata API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920649 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 04:24:32 +00:00
Brett Porter b5202fc449 minor clean up
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920188 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 03:43:49 +00:00
Brett Porter ec255eb8ee avoid timing issues with audit logs
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910447 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 09:48:16 +00:00
Brett Porter 38c8d861ea revert r910400, look for a simpler solution and unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910410 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 06:17:00 +00:00
Brett Porter 0db9498522 avoid timing issues with audit logs
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910400 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 05:34:01 +00:00