Olivier Lamy
9bd413340e
[MRM-1506] api to configure RemoteRepository : implement get methods missed to add impl
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164592 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 15:54:57 +00:00
Olivier Lamy
472c72d85c
[MRM-1506] api to configure RemoteRepository : implement get methods
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164590 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 15:54:35 +00:00
Olivier Lamy
ac051c8acd
[MRM-1506] api to configure RemoteRepository : move common attributes in an AbstractRepository class
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164589 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 15:53:58 +00:00
Olivier Lamy
df883fe499
remove fixed FIXME :-)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164561 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 14:54:36 +00:00
Olivier Lamy
d376a39688
[MRM-1505] api to configure ManagedRepository : use it in webapp instead of directly archiva model : fix attribute in jsp
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164560 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 14:53:37 +00:00
Olivier Lamy
d9b6ddeba1
[MRM-1505] api to configure ManagedRepository : use it in webapp instead of directly archiva model
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164558 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 14:53:15 +00:00
Olivier Lamy
d1a0d0eb32
[MRM-1505] api to configure ManagedRepository : get RID of not any more used methods/fields
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164555 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 14:52:07 +00:00
Brett Porter
2620870be8
fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164496 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 12:02:23 +00:00
Brett Porter
b9a43698d1
fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164493 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 11:56:51 +00:00
Olivier Lamy
3ac3a4133f
prevent creating ~/.m2/archiva.xml during unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164397 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 08:30:24 +00:00
Olivier Lamy
ce995cce6d
[MRM-1509] change xmlrpc to use new repository administration management api
...
fix xml rpc spring declaration in webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164394 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 08:18:56 +00:00
Olivier Lamy
75f7fab6d4
[MRM-1509] change xmlrpc to use new repository administration management api
...
use new api for ManagedRepository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164392 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 08:18:38 +00:00
Olivier Lamy
56587c1e6d
this should be fix unit test on ci server : again the famous it works on my machine :-)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164354 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 06:17:27 +00:00
Olivier Lamy
428ab46553
run unit test in specified order to understand why those break on jenkins @ asf
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164238 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 20:05:19 +00:00
Olivier Lamy
0fdb6a722c
align/magnify names :-)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164172 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 17:09:08 +00:00
Olivier Lamy
3629e72ab3
throw exception when id or cron expression are empty
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164154 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 16:43:14 +00:00
Olivier Lamy
e6ce81d425
add unit for issue fixed in the previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164151 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 16:42:17 +00:00
Olivier Lamy
9be7bece75
fix missing value in a bean constructor
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164150 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 16:41:50 +00:00
Olivier Lamy
745243b347
remove some logic methods not anymore used as move to repo admin api
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163946 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 08:49:08 +00:00
Olivier Lamy
2d5d7683fd
[MRM-1490] expose rest services: split in more smaller classes rather than a big one with all services split unit tests too
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163924 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 07:33:39 +00:00
Olivier Lamy
5a1a84ca30
[MRM-1490] expose rest services: split in more smaller classes rather than a big one with all services
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163923 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 07:33:21 +00:00
Olivier Lamy
f42244015e
fix unit test when executing all : an other unit tests set a mock in the singleton component
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163922 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 07:04:39 +00:00
Olivier Lamy
75b97f7c21
[MRM-1505] api to configure ManagedRepository : use it for EditAction in webapp
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163914 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 06:03:05 +00:00
Olivier Lamy
53c7f783a5
fix updateManagedRepo in rest service
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163913 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 06:02:30 +00:00
Olivier Lamy
b88c2f5107
[MRM-1505] api to configure ManagedRepository
...
fix update with staged repo .
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163912 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 06:01:58 +00:00
Olivier Lamy
d111b2f894
fix unit tests while implementing [MRM-1505] in rev 1163444
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163565 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 10:30:09 +00:00
Olivier Lamy
4f0ccd3020
[MRM-1505] api to configure ManagedRepository
...
fix delete of staged repo too.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163510 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 07:12:47 +00:00
Olivier Lamy
d12d5d853a
extract common test methods,add unit test for staged repo
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163509 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 07:12:22 +00:00
Olivier Lamy
005b157da7
use QueryParam rather than PathParam to have a more human readable url :
...
deleteManagedRepository?repositoryId=&deleteContent
rather than deleteManagedRepository/foo/true
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163508 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 07:11:55 +00:00
Olivier Lamy
c9b788afb9
add a missing a PathParam
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163449 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 22:53:53 +00:00
Olivier Lamy
0887d40cd8
[MRM-1505] api to configure ManagedRepositories : integrate it in webapp for delete action.
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163444 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 22:49:42 +00:00
Olivier Lamy
8b766739ad
oups olamy failed the build
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163271 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 16:11:21 +00:00
Olivier Lamy
0faa26af80
take care of symlink for asf jenkins
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163264 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 15:37:51 +00:00
Olivier Lamy
415ba43b68
[MRM-1504] new repository admin module : start using it in webapp module for add.
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163258 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 15:23:55 +00:00
Olivier Lamy
c23eed84a3
add more unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163200 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 13:19:26 +00:00
Olivier Lamy
f38d60d26f
ensure roles for repositories are correclty added/removed
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163199 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 13:19:07 +00:00
Olivier Lamy
925ec59db6
rest services use new repo admin module for managed repos
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163031 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 21:43:57 +00:00
Olivier Lamy
67cfeeab8f
trigger audit event listeners call in repo admin api when add/delete a managed repo
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163030 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 21:43:33 +00:00
Olivier Lamy
3573e5a36e
test we pass in audit event listener
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163029 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 21:43:12 +00:00
Olivier Lamy
48ef3f20f2
introduce an AuditInformation bean to have more easily extensible audit mechanism
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163027 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 21:42:38 +00:00
Olivier Lamy
8eba376fb8
[MRM-1504] repository admin module : implements update ManagedRepository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163025 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 21:42:14 +00:00
Olivier Lamy
8015b813c2
[MRM-1504] repository admin module : implements delete ManagedRepository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163024 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 21:41:34 +00:00
Olivier Lamy
f2dbfdf0a8
use location rather than url : better naming
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162819 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 14:02:39 +00:00
Olivier Lamy
6f4e720378
[MRM-1504] repository admin module : add unit test for add repository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162818 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 14:02:09 +00:00
Olivier Lamy
5528856fb2
lock maven-dependency-plugin version in parent pom
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162817 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 14:01:42 +00:00
Brett Porter
82d6d72490
replace url with location to match configuration API and populate sensible values
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162668 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 07:41:16 +00:00
Brett Porter
a2ca0a36fb
don't write configuration to ~/.m2/archiva.xml
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162658 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 07:07:07 +00:00
Olivier Lamy
66d063c736
oups fix junit
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162443 13f79535-47bb-0310-9956-ffa450edef68
2011-08-27 21:02:16 +00:00
Olivier Lamy
f7c3341a98
remove unused import which fail compilation on 1.5
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162370 13f79535-47bb-0310-9956-ffa450edef68
2011-08-27 15:06:57 +00:00
Olivier Lamy
0d10fd3a9f
[MRM-1504] api for repository admin
...
start some jobs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162369 13f79535-47bb-0310-9956-ffa450edef68
2011-08-27 15:06:42 +00:00
Maria Odea B. Ching
76821dd5c9
[MRM-1488] allow users with sysadmin role to flush cache from System Status page
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161988 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 04:16:34 +00:00
Olivier Lamy
eb52fe82f7
delete plexus descriptor files : not anymore used
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161464 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 09:31:57 +00:00
Brett Porter
3445922612
update licenses and send in RAT
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161440 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 08:42:50 +00:00
Brett Porter
6c2bcf8b39
remove empty file
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161431 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 08:07:40 +00:00
Brett Porter
1f730953af
remove generated test
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161427 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 07:56:59 +00:00
Brett Porter
da3051d315
Jasper reports no longer supported
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161426 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 07:56:17 +00:00
Brett Porter
78348b12ef
fix directory name
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161396 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 05:49:37 +00:00
Brett Porter
8d439b8f77
no longer used
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161150 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 15:23:33 +00:00
Brett Porter
71f1dbe96e
update release
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161101 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 13:50:59 +00:00
Brett Porter
7e0d039096
remove redundant if statement
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161094 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 13:30:06 +00:00
Brett Porter
41d91f293a
clean up comments
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161088 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 13:17:52 +00:00
Brett Porter
0699d4aaaa
[MRM-1317] Pagination is broken in audit log report in trunk
...
Submitted by: Maria Catherine Tan
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161083 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 13:10:10 +00:00
Brett Porter
b3ca825219
remove redundant setup method
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161077 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 12:44:24 +00:00
Olivier Lamy
80b7556beb
get rid of created ${plexus.home} with derby database created in and never cleaned : could cause some issues -> account locked
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160783 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 16:35:49 +00:00
Olivier Lamy
324c61a7be
take care of cleaning redback database : it can cause failure due to account locked !
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160717 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 14:46:03 +00:00
Olivier Lamy
95e2f5b636
[MRM-1503] use wagon-http instead of wagon-http-lightweight (as it change proxy network system properties)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160694 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 13:55:11 +00:00
Olivier Lamy
97f001e967
write methods for interface RemoteRepositoryAdmin
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160658 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:30:26 +00:00
Olivier Lamy
0f0a3486c9
start working on interfaces for module archiva-repository-admin
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160654 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:20:00 +00:00
Olivier Lamy
d27077404a
desactivate animal sniffer plugin as it fail in module archiva-modules/metadata/test-repository/
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160653 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:19:36 +00:00
Olivier Lamy
92ee458231
oups fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160650 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:19:02 +00:00
Olivier Lamy
f71c441d3d
jaxb api is used so declare it
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160649 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:18:49 +00:00
Olivier Lamy
1b3e593825
missing license header
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160648 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:18:35 +00:00
Olivier Lamy
1f9b928264
add maven layout for the new module to managed repo : archiva-repository-admin
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160297 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 15:13:34 +00:00
Olivier Lamy
fa90a670b1
fix junit
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160296 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 15:12:36 +00:00
Olivier Lamy
957679528e
oups fix compilation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160295 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 15:12:08 +00:00
Olivier Lamy
30ebe43f59
simplify inject of bean list
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160293 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 15:11:34 +00:00
Olivier Lamy
0c7626a137
update changed name in maven indexer
...
add more rest service to update managed repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160252 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 13:03:54 +00:00
Olivier Lamy
468d33012d
as now RepositoryArchivaTaskScheduler is started this mock configuration must not failed with NPE or UOE
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159692 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 17:16:18 +00:00
Olivier Lamy
94faa497ae
fix webapp unit tests with commenting a spring which is not used and override the good one
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159691 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 17:15:41 +00:00
Olivier Lamy
23cceb8c62
[MRM-1490] expose services tru rest
...
add some managed repo admin support
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159688 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 17:14:32 +00:00
Olivier Lamy
9077dbddcd
oups fix bad commit
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159540 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 08:29:53 +00:00
Olivier Lamy
566379bb17
add a method to know if a repo is already under scanning
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159533 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 07:54:42 +00:00
Olivier Lamy
f4bb416191
fix permission management for scan repo rest services
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159532 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 07:54:14 +00:00
Olivier Lamy
53d4ecac05
[MRM-1490] expose service tru rest
...
impl Repo management service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159531 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 07:53:42 +00:00
Olivier Lamy
fd94d9c6ec
[MRM-1490] Expose Archiva services trough REST
...
start adding some services :
* search
* administration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159529 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 07:52:52 +00:00
Olivier Lamy
d85c1890d7
[MRM-1490] Expose archiva services trough rest
...
add the configuration in webapp module to expose it
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159120 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 09:49:20 +00:00
Olivier Lamy
dc319ae9f9
when adding a new file tru the lucene consummer no need to scan the full repo : so using the new flag introduced in previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159078 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 08:20:27 +00:00
Olivier Lamy
0ea6774509
fix unit test, ArtifactIndexingTask has now a new field onlyUpdate to prevent full scan after only adding a file
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159077 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 08:17:26 +00:00
Olivier Lamy
3652f4c6e4
fix @since
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158974 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 23:54:12 +00:00
Olivier Lamy
d598306cf2
add missing license headers
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158973 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 23:53:53 +00:00
Olivier Lamy
f3189bad3e
[MRM-1490] Expose Archiva services trough rest
...
add modules structure with the very first service : ping :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158972 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 23:53:30 +00:00
Olivier Lamy
9357da09d3
upgrade to last versions of quartz and ehcache
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158469 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 23:03:30 +00:00
Olivier Lamy
fb8ff53c01
doh ensure we scan repository to index datas for the first scan, ensure we are not searching on all index
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158468 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 23:03:05 +00:00
Olivier Lamy
70bd4e3ede
fix compilation issues :my bad !!
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158332 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 15:50:54 +00:00
Olivier Lamy
7a2b07b118
oups fix compilation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158299 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 14:42:28 +00:00
Olivier Lamy
eceef01319
fix typo and use lookup rather than empty constructor for components coming from maven-indexer
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158274 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 13:51:48 +00:00
Olivier Lamy
b39ba2f6c5
add an other hack when using tomcat maven plugin and issue with TCCL not URLClassLoader with sisu
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158273 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 13:51:25 +00:00
Olivier Lamy
c7607a63e5
a little hackhish but fix use with tomcat maven plugin, sisu need a URLClassLoader as TCL to be able to use lookupList
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158272 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 13:50:45 +00:00
Olivier Lamy
5c5c959a14
improve toString for debuging purpose
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158135 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 07:16:56 +00:00
Olivier Lamy
1776b31a4b
cleanup creation of IndexCreator with using the container rather than using default constructors
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158035 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 22:17:08 +00:00
Olivier Lamy
7a354f09ed
[MRM-1501] search on artifacts with OSGI Metadatas fields
...
modify SearchResultSearchResultHitSearchResultHit to return osgi metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158023 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 21:28:13 +00:00
Olivier Lamy
c1abddcaf9
[MRM-1501] add unit for searching with osgi query
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158021 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 21:27:48 +00:00
Olivier Lamy
f8aa5f9e78
add OSGI index creator to the the list of indexors used by archiva
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158020 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 21:27:13 +00:00
Olivier Lamy
f4a130e2c5
[MRM-1481] Ability to do user management through xmlrpc
...
Submitted by Maria Catherine Tan
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1156322 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 19:17:50 +00:00
Olivier Lamy
b36ed8a621
[MRM-1487] simplify previous fix !
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1156242 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 15:51:57 +00:00
Olivier Lamy
5ee3d9ee40
[MRM-1487] Unable to add a proxy connector
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1156241 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 15:51:26 +00:00
Olivier Lamy
4d06deba67
use selenium plugin released version
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1154859 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 07:38:57 +00:00
Maria Odea B. Ching
8a665bdbbd
[MRM-1484] set timezone
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1154110 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 07:54:39 +00:00
Maria Odea B. Ching
8391b7c4d7
[MRM-1484] Upgrade Atlassian XMLRPC binder to 0.11 to get fix for multi-threading issue in Aapache XMLRPC 3.1.1+
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1153002 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 02:35:47 +00:00
Brett Porter
1e8ff1265f
add some comments about areas that can be improved when proxy sits behind the repository API
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1151737 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 05:49:37 +00:00
Olivier Lamy
4e18b216a5
fix typo in context path
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1143863 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 15:02:59 +00:00
Olivier Lamy
324deb4633
fix css link
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1141572 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 15:29:45 +00:00
Olivier Lamy
61bb624347
[MRM-1479] upgrade jquery version 1.6.1
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1141566 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 15:12:47 +00:00
Brett Porter
e98e1ffbcf
remove incorrect operation that was mismatched with merge-repository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1141370 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 03:03:49 +00:00
Olivier Lamy
306376c41b
add missing operation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1141261 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 21:40:31 +00:00
Brett Porter
31e93bb1c9
some low hanging fruit in the quest to improve the staging repository implementation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1141002 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 08:41:07 +00:00
Maria Odea B. Ching
2a853ec545
removed use of SchedulerAction in MergeAction
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140987 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 07:54:07 +00:00
Brett Porter
1f68b697b7
clean up some tests and avoid creating bad ~/.m2/archiva.xml descriptor
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140961 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 04:17:55 +00:00
Olivier Lamy
7d53f8c9cc
correctly close index on shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140870 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 22:19:47 +00:00
Olivier Lamy
d7f0f91636
[MRM-1478] Enable DB caching
...
Submitted by Maria Catherine Tan
patch applied with modifications
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140869 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 22:19:30 +00:00
Brett Porter
a5c5d53fa1
[MRM-1335] improve the message appearing when an artifact's metadata is incomplete
...
Submitted by: Greg Michael Meneses
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140473 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 08:05:07 +00:00
Brett Porter
23e2f88dfb
[MRM-1344] multiple versions appear in search results
...
Submitted by: Greg Michael Meneses
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140464 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 07:31:13 +00:00
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
c03b07252e
be able to try selenium tests by group
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140310 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 20:48:32 +00:00
Olivier Lamy
c4234aa1bf
fix selenium test
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140309 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 20:48:16 +00:00
Olivier Lamy
478506f9ef
add dependency to oro as it's optionnal in commons-validator
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140237 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 16:49:42 +00:00
Olivier Lamy
bb80f7ba1a
context close already done in tearDown
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140234 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 16:47:22 +00:00
Olivier Lamy
f124a475e9
fix unit tests by using NexusIndexer facade to manipulate index datas : adding/removing artifacts
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140232 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 16:45:57 +00:00
Olivier Lamy
7f9e6e70e9
take of already existing context to prevent lucene locks
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140038 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 07:53:59 +00:00
Olivier Lamy
8233856ae4
retrieve IndexSearcher from NexusIndexer instead of manual creation to prevent lucene locks
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140036 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 07:45:32 +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
0265e37707
[MRM-1345] update use of Nexus indexer to use Maven indexer, fix archiva-scheduler-indexing compilation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1139943 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 20:55:15 +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
1eeba6ab68
cleanup test as link with id not here
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138590 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 19:16:22 +00:00
Olivier Lamy
48e840bcb4
fix links on left menu
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138491 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 14:47:27 +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
Olivier Lamy
a26b625c43
push more work on selenium test using id rather than labels
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138081 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 16:40:39 +00:00
Olivier Lamy
feb736e529
not use default tomcat port as can't create port allocation issue on ci server
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137942 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 10:33:18 +00:00
Olivier Lamy
da2bc3902d
no need of cast
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137941 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 10:32:16 +00:00
Maria Odea B. Ching
c8617ac77e
o fixed npe in dependency tree on artifact browse by adding the nodevar attribute dependencytree page
...
o removed PlexusTagUtil and lookup the dependency tree component in the tag using the webappcontext
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137917 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 09:21:10 +00:00
Olivier Lamy
2c18ad9781
use Integer.valueOf rather than new Integer
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137821 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 23:20:24 +00:00
Olivier Lamy
2bab67755e
fix locale dependant tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137818 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 23:03:54 +00:00
Olivier Lamy
8715b0a767
satrt fixing some selenium to not be locale dependant only use id
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137817 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 23:03:37 +00:00
Olivier Lamy
41a9446b4b
start working on use id in selenium test rather than text which make tests locale dependant
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137718 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 17:51:46 +00:00
Olivier Lamy
2ec5d2ecd9
fix jdk1.5 unit test : HashMap doesn't guarantee order
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137377 13f79535-47bb-0310-9956-ffa450edef68
2011-06-19 15:08:02 +00:00
Olivier Lamy
c3af85436f
ensure starting unit tests with clean configuration to prevent sporadic failure
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137376 13f79535-47bb-0310-9956-ffa450edef68
2011-06-19 15:07:34 +00:00
Olivier Lamy
701a06014a
headless profile already exist
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137029 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 21:18:28 +00:00
Olivier Lamy
85bf1da66b
add xvfb profile to be able to run selenium test on a headless machine
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137020 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 20:59:47 +00:00
Olivier Lamy
f23144e02f
ugly display stack trace in selenium tests to know why it failed on asf jenkins in ubuntu slave
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137019 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 20:59:36 +00:00
Olivier Lamy
3ebb3f35d1
add configuration for tomcat6 for cargo and made it default, add some test around forcing locale via request_locale=en_US but still failed :-(
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136916 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 15:52:41 +00:00
Olivier Lamy
a784ace80c
upgrade default 5.x tomcat version to 5.5.33
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136683 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 21:07:14 +00:00
Olivier Lamy
5fd154909b
add a tomcat6 profile
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136682 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 21:07:03 +00:00
Olivier Lamy
51abce7789
make selenium mojo version configure and add a chrome profile
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136498 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 15:54:24 +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
08c60ff557
added spring-context-test dependency
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136286 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 03:56:18 +00:00
Maria Odea B. Ching
2a686f4089
exclude banned dependencies from redback dependencies in archiva-security module
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136283 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 03:52:42 +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
3875bf1f0f
upgrade cargo plugin to 1.1.1
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136208 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 21:38:13 +00:00
Olivier Lamy
c2a4cc53da
move cargo port to a property and selenium plugin version to pluginManagement section
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136207 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 21:38:02 +00:00
Olivier Lamy
9d2be26c55
fix it run
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136195 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 21:15:24 +00:00
Olivier Lamy
84ef692a11
ensure we don't have anymore proxy connectors for this unit test
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136176 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 20:24:50 +00:00
Olivier Lamy
a54f72b741
fix DependencyTreeTest in webapp module
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136124 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 17:11:17 +00:00
Olivier Lamy
7b2233965f
a little of help regarding memory in webdav unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136121 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 16:57:39 +00:00
Olivier Lamy
d54c8ec3e0
fix DefaultDependencyTreeBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136094 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 15:50:48 +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
Olivier Lamy
aefe91d87c
back to forkMode once for webdav module : faster build
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136035 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 13:37:52 +00:00
Olivier Lamy
26665cb8ea
cleanup archivaConfiguration before new test
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136005 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 11:54:15 +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
Maria Odea B. Ching
90df2242ac
added missing @Inject
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135973 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 09:25:15 +00:00
Olivier Lamy
e75bb63a99
fix junit BrowseActionTest and RepositoriesActionTest
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135814 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 21:46:04 +00:00
Olivier Lamy
0ddd97bda1
fix junit RssFeedServletTest
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135766 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 19:58:02 +00:00
Olivier Lamy
b65800bd86
fix junit DeleteArtifactActionTest
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135761 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 19:32:27 +00:00
Olivier Lamy
6080960325
fix junit BrowseActionTest
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135711 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 17:24:30 +00:00
Olivier Lamy
e1d9dfbee5
fix junit GenerateReportActionTest
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135696 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 16:51:45 +00:00
Olivier Lamy
d36818c0fe
fix junit ShowArtifactActionTest
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135689 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 16:39:58 +00:00
Olivier Lamy
0f21fce9ac
fix junit RepositoryGroupsActionTest
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135597 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 14:20:33 +00:00
Olivier Lamy
ef36672d5f
fix junit EditRemoteRepositoryActionTest
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135596 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 14:19:15 +00:00
Olivier Lamy
98f74f984a
fix SortProxyConnectorsActionTest
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135589 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 14:15:52 +00:00
Olivier Lamy
2aa8c3c35a
fix unit test EditOrganizationInfoActionTest
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135554 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 13:17:27 +00:00
Olivier Lamy
c89214ef07
fix OrganizationInfoActionTest
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135519 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 12:20:20 +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
1bc0683d36
fix 1.5 build with reintroducing javax.annotation:jsr250-api dependency
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135418 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 08:58:21 +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
80c3274cd3
fix sonar issue : Inefficient use of keySet iterator instead of entrySet iterator
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135410 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 08:48:36 +00:00
Olivier Lamy
413d9e641b
fix sonar issue : Double assignment of field
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135408 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 08:46:07 +00:00
Olivier Lamy
c19e95ffc1
fix more tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135332 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 22:35:36 +00:00
Olivier Lamy
4db8075bc6
fix more unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135326 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 22:23:33 +00:00
Olivier Lamy
44629e35f6
fix more unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135325 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 22:23:14 +00:00
Olivier Lamy
fcf4879734
fix more test in webapp module
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135307 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 21:50:10 +00:00
Olivier Lamy
1638ae466c
fix junit ProxyConnectorsActionTest
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135304 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 21:49:32 +00:00
Olivier Lamy
48ba62c363
simplify/boost unit tests with loading a smaller container
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135266 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 20:33:55 +00:00
Olivier Lamy
9bc2b8ae00
fix junit : cleanup ProxyConnectors before each tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135265 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 20:33:37 +00:00
Olivier Lamy
e318df26fc
fix junit : ensure file from previous test is deleted, cleanup connectors before/after each tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135264 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 20:33:20 +00:00
Olivier Lamy
748a97c62f
fix junit for RepositoryServletProxiedMetadataLocalOnlyTest
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135187 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 17:27:17 +00:00
Olivier Lamy
1a5b1ab654
forkMode always in webdav module to fix a lot of unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135169 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 16:48:37 +00:00
Olivier Lamy
1d66415cae
fix unit test for RepositoryServletProxiedTimestampedSnapshotPolicyTest : call setup and tearDown
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135142 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 15:21:11 +00:00
Olivier Lamy
51abcfbcbb
fix unit test for RepositoryServletProxiedPassthroughTest : call setup and tearDown
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135141 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 15:20:54 +00:00
Olivier Lamy
22ae2288b1
fix unit test for RepositoryServletProxiedMetadataRemoteOnlyTest : call setup and tearDown
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135140 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 15:20:37 +00:00
Olivier Lamy
c97525b3b6
fix archiva configuration duplicate remote repos during unit tests for RepositoryServletProxiedPluginSnapshotPolicyTest
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135113 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 14:22:15 +00:00
Olivier Lamy
1eacae0de2
fix spring configuration for unit test RepositoryServletSecurityTest
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135112 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 14:21:55 +00:00
Olivier Lamy
cd73ad4d78
fix junit spring configuration
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135064 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 09:00:36 +00:00
Olivier Lamy
b55ef5058a
fix junit spring configuration
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135059 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 08:24:17 +00:00
Olivier Lamy
4ebc70a0e6
ensure we save the configuration for restarting applicationcontext with httpunit tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134960 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 19:15:17 +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
877d1d76b4
simplify debug with using slf4j feature with {}
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134713 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 17:55:28 +00:00
Olivier Lamy
cd0f9ad6a7
prefer StringBuilder to StringBuffer
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134712 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 17:55:03 +00:00
Olivier Lamy
2cd4113c6d
upgrade sitemesh struts plugin now tomcat:run works
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134679 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 16:01:52 +00:00
Olivier Lamy
f9e6895b42
fix unit tets configuration
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134603 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:45:41 +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
c6b5ed4818
fix some test compilation issues in webapp module : will fix unit later, must compile at least !
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134584 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:17:34 +00:00
Olivier Lamy
75ac09e5b5
fix some test compilation issues in webapp module : will fix unit later, must compile at least !
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134582 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:16:55 +00:00
Olivier Lamy
90eed34339
fix some test compilation issues in webapp module : will fix unit later, must compile at least !
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134581 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:16:27 +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
edbfd20066
one day probably won't miss to add files : nut not today :-)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134381 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 16:40:59 +00:00
Olivier Lamy
8d497e8555
move audit plugin to spring annotations : it looks now mvn tomcat:run -Pdev works !!
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134378 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 16:38:49 +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
d9ba2b6814
force spring-jdo version to be used
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134348 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 15:35:58 +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
03accd4ffd
oups miss to add a file
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133953 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 15:55:58 +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
013b9914d8
fix some unit tests setup in archiva-webdav
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133581 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 22:12:21 +00:00
Olivier Lamy
1fb61463c8
ensure cleanup datas for other tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133543 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 20:12:23 +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
7d9ef40bf3
fix unit tests in archiva-security
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133465 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 16:50:23 +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
9b142e861d
start fixing spring configuration for unit test in archiva-webdav
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133115 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 17:57:33 +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
532dd24896
fix some unit tests initializationError
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1132596 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 11:06:00 +00:00
Olivier Lamy
8ad78e8f02
log when initservers is done
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131451 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 18:01:39 +00:00