Olivier Lamy
8b54c2ee99
[MRM-1504] new repository admin : more use of new api in webapp : in the repositories index action
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165842 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:05:02 +00:00
Olivier Lamy
ac4dbb87e1
get RID of plexus.requirement annotation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165558 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 08:11:21 +00:00
Olivier Lamy
f0c6ee5a71
get RID of plexus.component annotation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165527 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 07:26:05 +00:00
Olivier Lamy
7e35594e29
get RID of plexus.component annotation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165524 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 07:23:39 +00:00
Olivier Lamy
3929d7d7df
get RID of plexus.requirement annotation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165523 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 07:22:48 +00:00
Olivier Lamy
113fa60beb
get RID of deprecated use of ArchivaRoleConstants and some plexus annotations
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165521 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 07:21:43 +00:00
Olivier Lamy
c6066ec4b2
upgrade selenium version used
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165352 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 16:35:11 +00:00
Olivier Lamy
31ee82d0d9
start working on fixing issue with selenium tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165351 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 16:34:57 +00:00
Olivier Lamy
b2fb3e0465
[MRM-1506] api to configure RemoteRepository : use it in the webapp instead of directly archiva-configuration : fix attribute name and xmlrpc bean
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165336 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 15:31:28 +00:00
Olivier Lamy
605465f13e
[MRM-1506] api to configure RemoteRepository : use it in the webapp instead of directly archiva-configuration
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165335 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 15:31:04 +00:00
Olivier Lamy
24fb5970db
remove version already defined in parent
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165334 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 15:30:31 +00:00
Olivier Lamy
7961aeb46a
[MRM-1509] change xmlrpc to use new repository administration management api : switch for remote repositories
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165281 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 13:44:04 +00:00
Olivier Lamy
86d521a12b
[MRM-1490] Expose Archiva services trough REST : remote repository management available tru rest service
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165278 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 13:25:30 +00:00
Olivier Lamy
45698e6363
[MRM-1490] Expose Archiva services trough REST : remote repository management available tru rest service
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165277 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 13:24:58 +00:00
Olivier Lamy
d915951007
add missing fields in rest beans
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165276 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 13:24:19 +00:00
Olivier Lamy
4f42feb44f
[MRM-1504] Add a new module for repository administration management : move redback configuration and role constants to a new module in archiva-base called archiva-security-common
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165203 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 08:31:35 +00:00
Olivier Lamy
77287dbb1c
[MRM-1506] api to configure RemoteRepository : extract code from ManagedRepo admin for validation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164931 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 21:22:56 +00:00
Olivier Lamy
025c72c95c
scanning package org.apache.archiva.web too
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164837 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 09:03:16 +00:00
Olivier Lamy
bfa85f543b
get RID of org.apache.maven.archiva packages : applet package
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164823 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:19:38 +00:00
Olivier Lamy
c7e5fea75a
get RID of org.apache.maven.archiva packages : security package
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164822 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:15:36 +00:00
Olivier Lamy
0f94c8a025
get RID of org.apache.maven.archiva packages : interceptor package in webapp
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164821 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:08:11 +00:00
Olivier Lamy
50ec629df8
get RID of org.apache.maven.archiva packages : startup package in webapp
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164820 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:05:44 +00:00
Olivier Lamy
b1d8c69f44
get RID of org.apache.maven.archiva packages : tags package in webapp
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164818 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:00:58 +00:00
Olivier Lamy
54eed9ca99
get RID of org.apache.maven.archiva packages : validator package in webapp
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164816 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 07:46:52 +00:00
Olivier Lamy
30e0e0a01f
start to get RID of org.apache.maven.archiva package : rss package
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164815 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 07:44:31 +00:00
Olivier Lamy
25dd5b9a3e
start to get RID of org.apache.maven.archiva package
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164814 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 07:41:43 +00:00
Olivier Lamy
f4477dca33
start to get RID of org.apache.maven.archiva package
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164813 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 07:39:04 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Olivier Lamy
0848bc6475
fix some test spring setup for archiva-webdav
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131450 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 18:01:22 +00:00
Olivier Lamy
dc25b2f5e6
plexus-spring remove , fix test compilation in archiva-webdav
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131428 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 16:30:30 +00:00
Olivier Lamy
fa5bd3e98b
remove of plexus-spring fix compilation in webdav module
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131427 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 16:29:52 +00:00
Olivier Lamy
690f450cc7
remove of plexus-spring : fix archiva-xmlrpc-services/
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131365 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 10:21:34 +00:00
Olivier Lamy
b917e73f39
fix compilation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131364 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 10:21:09 +00:00
Olivier Lamy
b9f10d6e9b
remove plexus-spring fix archiva-xmlrpc-security
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130305 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 21:11:59 +00:00
Olivier Lamy
09292c0037
[MRM-1473] remove use of plexus-spring
...
fix archiva-rss module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130146 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 13:27:46 +00:00
Maria Odea B. Ching
3289f9b03b
[MRM-1476] 'Specified key was too long' error during startup when using MySQL databases with UTF8 charset
...
submitted by Greg Michael Meneses
o set default string length to 255 in jpox config
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129622 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 11:05:07 +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
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
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
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
Olivier Lamy
4f0e657361
fix compilation failure now we use standard java.util.concurrent.*
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127588 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 17:23:51 +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
Maria Odea B. Ching
af0ae64f42
[MRM-1475] Add proxy connector is broken
...
submitted by Greg Michael Meneses
o removed id attribute in struts property tag in proxy connector form which was removed in struts 2.1.x
o added selenium test for add proxy connector
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1126927 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 08:37:00 +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
Brett Porter
c6eac0e151
[MRM-1474] workaround url path mapping problems that rewrites HTML and doesn't detect the path in JavaScript
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1124691 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 11:43:31 +00:00
Olivier Lamy
9221d0e629
doh I have been to fast about excluding plexus-spring : need more job
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1124329 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 16:28:58 +00:00
Olivier Lamy
9553d302b1
fix 1.5 compilation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1104563 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 21:18:14 +00:00
Olivier Lamy
874aef16be
fix compilation issue
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1103902 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 21:27:12 +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
Maria Odea B. Ching
a5ec5dddc6
merged -r1102210 from 1.3.x branch (MRM-1469)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1102235 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 10:30:23 +00:00
Maria Odea B. Ching
29fae1ed8d
[MRM-1468] added validation for adding a managed repository via xmlrpc + unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1100956 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 11:00:12 +00:00
Brett Porter
adcdfcf3bf
[MRM-1472] some cleanup based on Olivier's comments on the dev list to clarify how to get the tomcat plugin running
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1100227 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 14:22:41 +00:00
Maria Odea B. Ching
3f96b9c2b6
fixed compile failure in test after upgrade of compiler plugin
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1100144 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 09:20:55 +00:00
Wendy Smoak
480eaee429
[MRM-1472] Maven configuration to enable mvn -P dev tomcat:run from the top of the project. Includes moving the application.xml file. Submitted by: Olivier Lamy
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1099827 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 14:42:00 +00:00
Maria Odea B. Ching
39ecffa064
fixed cause of selenium test failure from merge in -r1099425
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1099671 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 03:03:06 +00:00
Maria Odea B. Ching
8fd13f6d0a
merge -r1098897 from 1.3.x branch (MRM-1468: Fix XSS vulnerability in Archiva, patch submitted by Marc Jansen Tan Chua)
...
additional changes:
o added a factory for action validator manager since ObjectFactory.setObjectFactory(..) was removed in struts 2.1 so the unit tests for validation would work
o fixed conflicts
TODO:
o fix some failing selenium tests due to error 500
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1099425 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 12:03:29 +00:00
Jevica Arianne B. Zurbano
d72ee0c68b
[MRM-1470] Ability to add a repository relative to Archiva's appserver.base without knowing it's filesystem location
...
* applied patch
Submitted by: Maria Catherine Tan
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1097776 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 11:30:08 +00:00
Brett Porter
6566bcaa5e
[MRM-1111] fix xpath after reverting to default freemarker templates
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091636 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:28:45 +00:00
Brett Porter
f004a7a129
don't attempt to delete staging repository if it isn't there
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091635 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:27:48 +00:00
Brett Porter
51b1e5e8a3
cut-and-paste error
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091634 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:19:27 +00:00
Brett Porter
c2e2076916
[MRM-1111] fix xpath after reverting to default freemarker templates
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091633 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:08:42 +00:00
Brett Porter
1b9d78a769
give Cargo some more memory to run the application
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091632 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:05:17 +00:00
Brett Porter
e064cd7f67
accidentally merged Selenium tests that test functionality no longer there
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091631 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:03:54 +00:00
Brett Porter
05d32a4578
[MRM-1111] upgrade to Struts 2.1.8.1 - add missing unit testing code to 2 actions
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091476 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 15:39:17 +00:00
Brett Porter
5b9f93dbe9
[MRM-1111] use default template and caching mechanism now. Old templates were omitting any text from hyperlinks.
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091473 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 15:36:18 +00:00
Brett Porter
465c52bdca
[MRM-1111] accommodate that Struts no longer populates the parameters from the action mapping
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091440 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 14:57:09 +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
58d905941b
[MRM-1480]/[REDBACK-274] (CVE-2011-1026)
...
o upgrade to redback 1.2.8-SNAPSHOT
o configured struts2's token interceptor + use of <s:token> in affected actions to prevent CSRF issue
[MRM-1460] added selenium tests for CSRF fixes in affected pages
Merged: r1066067:1091313
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091315 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 07:16:34 +00:00
Brett Porter
76289acb8d
rename metadata-repository-file to metadata-store-file for consistency
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1086590 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 14:13:37 +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
Maria Odea B. Ching
11f0262cdc
[MRM-1453] fixed decimal format to US locale so test wouldn't fail on other locales
...
submitted by Mark Struberg
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1064737 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 15:41:06 +00:00
Maria Odea B. Ching
fc3b5a9fa1
[MRM-1452] add ability to delete contents of a repository via xml-rpc
...
submitted by Maria Catherine Tan
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1064444 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 03:19:09 +00:00
Jevica Arianne B. Zurbano
55d4b5c3af
[MRM-1451] NPE when merging through XMLRPC
...
* applied patch
Patch Submitted by: Maria Catherine Tan
* passed metadataRepository instead of null during merge
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1064082 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 11:17:18 +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
bf3058dbeb
[MRM-1327] save changes after metadata is added / removed
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053779 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:14:52 +00:00
Brett Porter
8c5de76d3b
Customise settings so that you can debug the cargo instance, and show tests to output as they progress
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053778 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:05:58 +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
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
a44b2ac9dd
cache has moved to a different spring ID - use the default one from the archiva-policies module
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1052163 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 03:18:17 +00:00