Commit Graph

517 Commits

Author SHA1 Message Date
Brett Porter 2db95ef56d [MRM-1324] repository statistics report doesn't appear to be working correctly
Submitted by: Greg Michael Meneses



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140450 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 06:44:30 +00:00
Olivier Lamy 23d74d0956 only pass tru NexusIndexer to create IndexingContext, this entry point take care of lucene locks : still some changes to do in junit to prevent lock
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140035 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 07:45:16 +00:00
Olivier Lamy e9e681546a [MRM-1345] update use of Nexus indexer to use Maven indexer, fix archiva-lucene-consumers compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1139944 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 20:55:31 +00:00
Olivier Lamy a4dd3b2ff6 [MRM-1345] update use of Nexus indexer to use Maven indexer
fix junits

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1139941 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 20:54:44 +00:00
Olivier Lamy a20d601f8e [MRM-1345] update use of Nexus indexer to use Maven indexer
remove the per-lookup component
refactor test to use only NexusIndexer facade

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1139940 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 20:54:21 +00:00
Olivier Lamy 8ae8adccb9 NexusRepositorySearch is not thread safe so use scope prototype
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138211 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 22:14:17 +00:00
Olivier Lamy 8095a5ff97 continue work on selenium test with id rather than label
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138210 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 22:13:49 +00:00
Olivier Lamy 1666960349 debug optim
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138209 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 22:13:17 +00:00
Maria Odea B. Ching 969e7fb37f [MRM-1411] project information is missing if a POM could not be read correctly
o for snapshot artifacts, get the timestamp and build number first from the metadata in the remote repo before proxying the actual parent pom 
o added unit tests, removed checksums and other test files that are not necessarily used


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136424 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 13:12:22 +00:00
Brett Porter ea6a0644af remove more old test files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136335 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 09:13:01 +00:00
Brett Porter 77cd9fc264 remove no longer used plexus test configuration files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136311 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 07:49:34 +00:00
Brett Porter ca05dcc62c use JUnit 4 API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136309 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 07:44:28 +00:00
Brett Porter 9b41c21838 use JUnit 4 API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136303 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 07:32:22 +00:00
Brett Porter 9ae8d172b2 use JUnit 4 API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136302 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 07:27:51 +00:00
Brett Porter af8d62f38f fix tests that are order-dependant
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136289 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 05:13:19 +00:00
Maria Odea B. Ching 57071cbb00 added spring-context as dependency to prevent compilation failure for @Service annotations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136272 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 02:22:00 +00:00
Olivier Lamy b3603c5c43 back to maven2 api for dependency tree
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136082 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 15:30:53 +00:00
Maria Odea B. Ching 1af82ff7d8 use getBasedir() in FileUtil in archiva-common
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135993 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 11:03:10 +00:00
Maria Odea B. Ching dab1e92990 [MRM-1411] project information is missing if a POM could not be read correctly
o proxy parent POM if not found in the repo when building the effective POM when creating metadata (also applied the same in dependency tree builder)
o added unit tests
o moved out wagonfactory classes into separate module so it can be used by maven2-repository w/o depending on archiva-proxy module (as it inroduces cyclic dependency)


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135978 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 09:36:05 +00:00
Olivier Lamy 45a61ecfa3 fix 1.5 build with reintroducing javax.annotation:jsr250-api dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135428 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 09:20:01 +00:00
Olivier Lamy 9b167a0934 use StringBuilder rather than + in a loop
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135411 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 08:49:51 +00:00
Olivier Lamy 0ad81d8bc6 use slf4j feature to optimise debug
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134715 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 17:55:52 +00:00
Olivier Lamy 8098934b2f no more need of plexus-component-metadata plugin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134589 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:21:52 +00:00
Olivier Lamy 0587fafcfe fix now missing legacy repo layout with maven3
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134389 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 17:02:32 +00:00
Olivier Lamy e3561e6c8e no more needed plexus annotations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134383 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 16:42:13 +00:00
Olivier Lamy e6a1d209a2 use sisu container classloader as tccl during lookup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134376 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 16:35:45 +00:00
Olivier Lamy 3529204995 cannot use @Inject for old plexus components'
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134352 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 15:38:52 +00:00
Olivier Lamy 3d2bbcff6c correctly set tccl during sisu init
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134351 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 15:38:09 +00:00
Olivier Lamy 45b308aab0 align maven api to use maven 3 version
temporary comment failing dependency tree

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134349 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 15:37:00 +00:00
Olivier Lamy 0cb8cf2879 I think I'm back to figth again with classLoader and this sisu
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133962 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 16:23:01 +00:00
Olivier Lamy c90eea8f1c remove use of plexus-spring all struts actions are spring beans now. Note still have issues with tomcat plugin and sisu bridge which need an urlclassloader
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133928 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 15:23:21 +00:00
Olivier Lamy c82abad170 no more used plexus test configuration files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133474 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 17:27:04 +00:00
Olivier Lamy 797e4a403b no more used plexus test configuration files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133471 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 17:21:21 +00:00
Olivier Lamy 5cba2ae53e oups too much deleted files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133469 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 17:04:39 +00:00
Olivier Lamy 02cb57fa7d no more used plexus test configuration files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133468 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 16:59:49 +00:00
Olivier Lamy 76807b535e no more used plexus test configuration files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133467 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 16:55:51 +00:00
Olivier Lamy de7890f4a3 fix more unit tests in archiva-security
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133448 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 15:59:41 +00:00
Olivier Lamy 217ae16282 fix unit test in archiva-proxy cache url failure clear between tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133396 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 13:32:25 +00:00
Olivier Lamy 95dde31389 fix spring configuration for junit and force default-lazy-init="true"
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133165 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 21:12:24 +00:00
Olivier Lamy 9c55823b96 fix main compilation in webapp module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133091 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 16:44:27 +00:00
Olivier Lamy 0cc1e8563e remove of plexus-spring : fix more tests and lucene consumers module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130245 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 17:49:01 +00:00
Olivier Lamy b84ecb96f7 fix use of applicationContext.getBeansOfType instead of the old lookupMap.
The key is now interface#hint whereas was only hint with plexus



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130206 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 16:13:52 +00:00
Olivier Lamy ee78778213 fix use of applicationContext.getBeansOfType instead of the old lookupMap.
The key is now interface#hint whereas was only hint with plexus
arghh !


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130140 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 13:07:26 +00:00
Olivier Lamy aaebb5d534 optimize use of debug
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130091 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 10:38:27 +00:00
Olivier Lamy 498a6c57cd optimize use of debug
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130088 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 10:33:12 +00:00
Olivier Lamy 8a68012d12 fix more spring test configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129801 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 17:01:09 +00:00
Olivier Lamy 206b66a2be fixing some test spring configuration : still some tests fail and puzzle me ! :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129792 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 16:39:20 +00:00
Olivier Lamy 39ecc7836c remove plexus-spring use : archiva-scheduler-indexing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129386 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 21:36:05 +00:00
Olivier Lamy 949cb108d8 take care about performance for debug log
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129385 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 21:35:23 +00:00
Olivier Lamy 6fad90714a help windauze to not fail on file creation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129237 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 16:07:59 +00:00
Olivier Lamy 61f2c22c0d fix more tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129231 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 15:54:42 +00:00
Olivier Lamy 073aad6bf8 fix some tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129226 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 15:46:55 +00:00
Olivier Lamy 235ceb3c04 no need to concat String if debug not activated : so use slf4j {}
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129178 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 14:04:08 +00:00
Olivier Lamy 5d9fbb8fdf no need to concat String if debug not activated : so use slf4j {}
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129177 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 13:59:16 +00:00
Olivier Lamy f0a771edc3 replace StringBuffer with StringBuilder
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129176 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 13:57:32 +00:00
Olivier Lamy 7e78123c09 fix unit tests with adding some names for injected beans
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129122 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 10:54:47 +00:00
Olivier Lamy 188f5fbd05 miss to add @PostConstruct annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129116 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 10:24:51 +00:00
Olivier Lamy 10ec1d90ee missed to add files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129115 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 10:21:57 +00:00
Olivier Lamy 4abee3dd55 [MRM-1473] remove use of plexus-spring
start working on archiva-core-consumers


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129114 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 10:20:18 +00:00
Olivier Lamy 81656ad269 missing license header
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128957 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 21:20:02 +00:00
Olivier Lamy 5b69ca4fd3 remove use of plexus api (Initializable phase)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128918 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 18:00:17 +00:00
Olivier Lamy cc963c71da fix MetadataTransferTest units
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128784 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28 22:15:13 +00:00
Olivier Lamy 67af3bcb6a cleanup configuration before test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128783 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28 22:14:57 +00:00
Olivier Lamy 26c1c11252 no need of this configuration as it s done in setup and avoid null in directory as unit tests use getName for directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128782 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28 22:14:41 +00:00
Olivier Lamy 7abf32f317 fix use of delegate wagon in unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128463 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 21:24:52 +00:00
Olivier Lamy 59fddac27f fix case typo in bean name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128445 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 20:28:48 +00:00
Olivier Lamy 80d2a640e8 add missing license headers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128444 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 20:28:30 +00:00
Olivier Lamy 9c81940d21 oups missed to add files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128406 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 17:30:30 +00:00
Olivier Lamy 789083836c [MRM-1473] remove plexus-spring use
replace plexus-quartz with spring-quartz



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128404 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 17:26:26 +00:00
Olivier Lamy a9b50a0fe0 no need of svn:executable for xml file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128214 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 09:38:14 +00:00
Olivier Lamy 7eebed1423 fix unit tests spring configuration in archiva-indexer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128212 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 09:34:43 +00:00
Olivier Lamy 63af39fba0 fix unit tests spring configuration in archiva-scheduler-repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128204 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 08:59:03 +00:00
Olivier Lamy 4eb07f4a1c don't use directly exception class from plexus bridge
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128082 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:55:31 +00:00
Olivier Lamy 84f7fdad79 [MRM-1473] remove of plexus-spring : fix archiva converter
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128081 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:54:42 +00:00
Olivier Lamy 22961f8dc4 [MRM-1473] remove use of plexus-spring
ok for archiva-artifact-converter
introduce a new bridge tru sisu-guice to be able to use maven apis components

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128078 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:53:32 +00:00
Olivier Lamy 2fdf7359b3 fix tests in archiva-transaction
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128076 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:52:33 +00:00
Olivier Lamy 1788eb54c4 [MRM-1473] remove use of plexus-spring
remove all dependencies to plexus-container
use of sisu-inject-plexus (version 2.2.2 with ASL license) for components using maven api components.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128075 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:52:13 +00:00
Brett Porter 16714e5e4d clean imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127737 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 23:58:48 +00:00
Olivier Lamy a3c891b60d correctly use basedir for configuration and tests : pass it tru sysprops via surefire
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127584 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 16:58:08 +00:00
Olivier Lamy 1736600c3c no need of svn:executable = * for xml files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127564 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:43:08 +00:00
Olivier Lamy 2fa80445c8 gloups I missed some svn add
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127561 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:37:15 +00:00
Olivier Lamy 971dcc2f35 [MRM-1473] remove use of plexus-spring
move archiva-repository-layer to full spring



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127555 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:31:30 +00:00
Olivier Lamy b0a37ac386 move archiva-dependency-tree-consumer to sandbox
see thread http://mail-archives.apache.org/mod_mbox/archiva-dev/201105.mbox/%3CBANLkTim_wR6nGMCae=TH1tFhNKGf0c1Zgw@mail.gmail.com%3E



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127071 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 14:19:24 +00:00
Olivier Lamy e10c8a7635 move archiva-dependency-tree-consumer to sandbox
see thread here http://mail-archives.apache.org/mod_mbox/archiva-dev/201105.mbox/%3CBANLkTim_wR6nGMCae=TH1tFhNKGf0c1Zgw@mail.gmail.com%3E



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127070 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 14:17:56 +00:00
Olivier Lamy eead981577 fix archiva-dependency-tree-consumer build : moving this full spring will need some more jobs as it depends on some maven/plexus api (so at least make it not fail
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1126533 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 15:12:10 +00:00
Olivier Lamy 3f8c66c3f4 fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125756 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21 17:57:55 +00:00
Olivier Lamy dc33d46ce9 fix some spring bean name in archiva-policies
move archiva-repository-scanner to full spring

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125755 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21 17:57:38 +00:00
Olivier Lamy ed51549ed7 fix bad merge
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125685 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21 12:33:03 +00:00
Olivier Lamy facd5173ce [MRM-1473] removing plexus-spring use
fix unit tests in archiva-repository-scanner (not yet moved in full spring)

Conflicts:
	archiva-modules/archiva-base/archiva-configuration/src/main/resources/META-INF/spring-context.xml

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125648 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21 08:45:49 +00:00
Olivier Lamy 5a3e23ead6 [MRM-1473] removing plexus-spring use
fix unit tests in archiva-configuration

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125645 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21 07:49:25 +00:00
Olivier Lamy 02b4b8d6af [MRM-1473] remove use of plexus-spring
start with archiva-configuration and archiva-policies



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125538 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 20:08:12 +00:00
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
Brett Porter 9c28117ca3 [MRM-1282] switch all timestamps to UTC
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900698 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 08:31:11 +00:00
Brett Porter 606c82cbca merged recent changes from trunk, and reimplemented incoming audit log functionality as a plugin using the metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900664 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 06:15:09 +00:00
Brett Porter fb9ad3f771 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@898618 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 02:07:00 +00:00
Brett Porter d3fede7d5d [maven-release-plugin] prepare release archiva-1.3
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@898616 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 02:05:50 +00:00
Maria Odea B. Ching b44ad982c3 [MRM-1296] Audit logging report
merged MRM-1296 branch to trunk


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@897892 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 15:07:00 +00:00
Brett Porter 1f1252456a [MRM-1283] keep track of incomplete metadata so that it can self correct and show a meaningful message to the user
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893691 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 04:02:11 +00:00
Brett Porter 79de06cf3e [MRM-1283] propagate errors occurring during resolution
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893686 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 02:40:57 +00:00
Brett Porter 0f2abe9bda [MRM-1282] clarify warning
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893372 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 01:18:16 +00:00
Brett Porter 4ad4cd3ced [MRM-1282] only create version metadata if necessary
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893368 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 01:01:32 +00:00