Commit Graph

101 Commits

Author SHA1 Message Date
Olivier Lamy 0f9d0ff76e code simplification
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443274 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 23:25:58 +00:00
Olivier Lamy 53f8581435 no need to create etc.. if the index already exists
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443258 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 22:49:25 +00:00
Olivier Lamy 809047b3d8 force use of preemptive with last wagon snapshot
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1439837 13f79535-47bb-0310-9956-ffa450edef68
2013-01-29 11:17:18 +00:00
Olivier Lamy c81c17b153 mark internal class as final
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427058 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 09:29:03 +00:00
Olivier Lamy 5fd9dbe55f preserve stack trace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427057 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 09:28:40 +00:00
Olivier Lamy e92fede155 fix all RepositoryManager implementations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1423879 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 15:21:20 +00:00
Olivier Lamy 409477099c fix some unit tests due to the missing alias
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1417979 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 16:24:33 +00:00
Olivier Lamy 8021d4e5c8 use varargs from slf4j rather than creating an array for debug
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1409042 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 00:08:33 +00:00
Olivier Lamy 27c8f4047c move ntlm wagon trick in wagonFactory to avoid duplicate code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1404367 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 21:40:38 +00:00
Olivier Lamy 5f42d3dcac [MRM-1705] Feature to add custom parameters and/or headers when requesting an external repositories.
add parameters.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1401896 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 21:33:16 +00:00
Olivier Lamy a51724b013 [MRM-1705] Feature to add custom parameters and/or headers when requesting an external repositories.
correctly use headers.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1401889 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 21:14:46 +00:00
Olivier Lamy 4ba8af2e0e transform this interface to use a bean request will ease future enhancements
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1401843 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 19:50:16 +00:00
Olivier Lamy f1d408f40e fix mocks compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1400903 13f79535-47bb-0310-9956-ffa450edef68
2012-10-22 14:50:49 +00:00
Olivier Lamy b0b8c3c08a [MRM-1693] exposing index downloaded from remote repositories
pack index.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1398259 13f79535-47bb-0310-9956-ffa450edef68
2012-10-15 12:12:08 +00:00
Olivier Lamy e7bc35db81 add unit test for new method in MetadataRepository and fix compilation for some impls/mocks
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1397345 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 22:43:15 +00:00
Olivier Lamy 67f7fee51c ensure file are cleaned before test for folks who do not use clean and break the build (folks like me I mean :-))
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384232 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 08:39:20 +00:00
Olivier Lamy 46b69ff5f0 improve unit test with testing packed index files are really created
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384208 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 05:39:29 +00:00
Olivier Lamy 42b0dd3f92 fix unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384207 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 05:39:15 +00:00
Olivier Lamy 8136dbe4d2 [MRM-1263] creating an m2eclipse compatible index should be an optional component.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384138 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 21:45:27 +00:00
Olivier Lamy 7756665404 test last maven indexer version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384116 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 20:44:51 +00:00
Olivier Lamy 1377df4564 [MRM-1660] use log4j2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1382518 13f79535-47bb-0310-9956-ffa450edef68
2012-09-09 15:38:26 +00:00
Olivier Lamy 2e95b7d4ba fix mocks compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1381582 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 12:39:14 +00:00
Olivier Lamy a4f6bdf679 fix typo in the field name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370963 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 21:00:00 +00:00
Olivier Lamy 891e92e162 correctly use slf4j for logging
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370962 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 20:59:47 +00:00
Olivier Lamy 2b224893bc add hack to configure User-Agent to download index from central
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370588 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 23:21:01 +00:00
Olivier Lamy 2d46562c83 no need to delete index directories maven indexer does it
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1359659 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 13:29:45 +00:00
Olivier Lamy bf52af4760 change package for those test utils
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356101 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 07:49:49 +00:00
Olivier Lamy 1484a3316a [MRM-1638] Improve unit test for archiva build
Based on patch provided by Eric Barboni.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356091 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 07:36:23 +00:00
Olivier Lamy cbfc4aa789 fix compilation of impls
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1353620 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 15:56:28 +00:00
Brett Porter ced2e45916 [MRM-1632] Invalid Cron in a job means webapp will not start
If syntax is invalid, log a warning instead of throwing the exception, and the
job will not be scheduled.


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1348883 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 14:56:26 +00:00
Olivier Lamy a1230dc9e7 fix test mock compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1346610 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 21:43:29 +00:00
Olivier Lamy ea5ddd0961 improve MetadataRepository api to be able to remove an artifact with MetadataFacet use case deleting a maven artifact with a classifier
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1346609 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 21:42:02 +00:00
Olivier Lamy cc2feeebbe move spring-taskqueue to apache namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325979 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 22:10:16 +00:00
Olivier Lamy 5ba11055fe repackage spring-registry-commons to o.a.a namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325321 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 15:27:10 +00:00
Olivier Lamy 870ce2c4d8 use o.a.a package namespace for spring-quartz component
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325047 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 22:26:10 +00:00
Olivier Lamy d16e1fdf91 fix junit as now non absolute path is replace with appserver.base as parent
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308563 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 21:02:43 +00:00
Olivier Lamy ec49aa3e4b fix compilation issues
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293769 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 08:08:13 +00:00
Olivier Lamy 63964ffef4 [MRM-1606] Upgrade to wagon 2.2.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245404 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 11:36:20 +00:00
Olivier Lamy 5d6774f5f2 [MRM-1599] NTLM proxy no longer works
use a new wagon with spring bean http-ntlm if proxy use ntlm

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240623 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 22:08:28 +00:00
Olivier Lamy 37382ef788 avoid using plexus-sisu bridge to get wagon instances: use now spring
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235559 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 23:42:53 +00:00
Olivier Lamy cd7744eb28 add log info on maven repository indexing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233265 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 10:09:21 +00:00
Olivier Lamy fb20ad1b0e remove this synchronized block on indexer there is enough sync in indexer to not add an other one here
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1211184 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 21:41:30 +00:00
Olivier Lamy 1a22af4dd6 fix missing logging of id
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203407 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 22:50:39 +00:00
Olivier Lamy 67b0a5a62a [MRM-1560] Add the possibility to schedule retrieve remote indexes when application startup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203406 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 22:50:21 +00:00
Olivier Lamy 159806983d use an artifact with test resources from redback to avoid too much file duplication redback-core.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197359 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 23:46:59 +00:00
Olivier Lamy c215c38616 fix unit tests in archiva-scheduler-indexing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197140 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 14:30:03 +00:00
Olivier Lamy a635f44ace remove unused imports and fields
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196843 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:32:43 +00:00
Olivier Lamy baaa23f092 remove this ugly static method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196841 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:32:15 +00:00
Olivier Lamy 0262091faa [MRM-815] aggregate indices for repository groups.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196840 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:31:42 +00:00
Olivier Lamy addd86fec7 update timestamp on index save
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1182850 13f79535-47bb-0310-9956-ffa450edef68
2011-10-13 13:39:40 +00:00