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
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
df2b9275e9
remove plexus-spring : fixed for stage-repository-merge
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130300 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 20:46:49 +00:00
Olivier Lamy
207e0997b4
cleanup pom
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130299 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 20:46:21 +00:00
Olivier Lamy
0cc1e8563e
remove of plexus-spring : fix more tests and lucene consumers module
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130245 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 17:49:01 +00:00
Olivier Lamy
b84ecb96f7
fix use of applicationContext.getBeansOfType instead of the old lookupMap.
...
The key is now interface#hint whereas was only hint with plexus
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130206 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 16:13:52 +00:00
Olivier Lamy
f378a857eb
[MRM-1473] remove use of plexus-spring
...
fix module metadata-store-jcr
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130164 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 14:37:32 +00:00
Olivier Lamy
76386bfcb1
[MRM-1473] remove use of plexus-spring
...
fix module metadata-store-file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130154 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 13:48:32 +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
Olivier Lamy
ee78778213
fix use of applicationContext.getBeansOfType instead of the old lookupMap.
...
The key is now interface#hint whereas was only hint with plexus
arghh !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130140 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 13:07:26 +00:00
Olivier Lamy
aaebb5d534
optimize use of debug
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130091 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 10:38:27 +00:00
Olivier Lamy
ae34ad83a9
optimize use of debug
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130089 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 10:34:48 +00:00
Olivier Lamy
498a6c57cd
optimize use of debug
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130088 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 10:33:12 +00:00
Olivier Lamy
8a68012d12
fix more spring test configuration
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129801 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 17:01:09 +00:00
Olivier Lamy
206b66a2be
fixing some test spring configuration : still some tests fail and puzzle me ! :-)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129792 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 16:39:20 +00:00
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
39ecc7836c
remove plexus-spring use : archiva-scheduler-indexing
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129386 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 21:36:05 +00:00
Olivier Lamy
949cb108d8
take care about performance for debug log
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129385 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 21:35:23 +00:00
Olivier Lamy
6fad90714a
help windauze to not fail on file creation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129237 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 16:07:59 +00:00
Olivier Lamy
61f2c22c0d
fix more tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129231 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 15:54:42 +00:00
Olivier Lamy
073aad6bf8
fix some tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129226 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 15:46:55 +00:00
Olivier Lamy
235ceb3c04
no need to concat String if debug not activated : so use slf4j {}
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129178 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 14:04:08 +00:00
Olivier Lamy
5d9fbb8fdf
no need to concat String if debug not activated : so use slf4j {}
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129177 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 13:59:16 +00:00
Olivier Lamy
f0a771edc3
replace StringBuffer with StringBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129176 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 13:57:32 +00:00
Olivier Lamy
7e78123c09
fix unit tests with adding some names for injected beans
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129122 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 10:54:47 +00:00
Olivier Lamy
188f5fbd05
miss to add @PostConstruct annotation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129116 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 10:24:51 +00:00
Olivier Lamy
10ec1d90ee
missed to add files
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129115 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 10:21:57 +00:00
Olivier Lamy
4abee3dd55
[MRM-1473] remove use of plexus-spring
...
start working on archiva-core-consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129114 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 10:20:18 +00:00
Olivier Lamy
81656ad269
missing license header
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128957 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 21:20:02 +00:00
Olivier Lamy
2ebbf02a72
missing license header
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128956 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 21:19:41 +00:00
Olivier Lamy
8b19bfa43d
fix package
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128919 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 18:00:32 +00:00
Olivier Lamy
5b69ca4fd3
remove use of plexus api (Initializable phase)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128918 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 18:00:17 +00:00
Olivier Lamy
cc963c71da
fix MetadataTransferTest units
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128784 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28 22:15:13 +00:00
Olivier Lamy
67af3bcb6a
cleanup configuration before test
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128783 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28 22:14:57 +00:00
Olivier Lamy
26c1c11252
no need of this configuration as it s done in setup and avoid null in directory as unit tests use getName for directories
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128782 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28 22:14:41 +00:00
Olivier Lamy
7abf32f317
fix use of delegate wagon in unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128463 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 21:24:52 +00:00
Olivier Lamy
59fddac27f
fix case typo in bean name
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128445 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 20:28:48 +00:00
Olivier Lamy
80d2a640e8
add missing license headers
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128444 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 20:28:30 +00:00
Olivier Lamy
9c81940d21
oups missed to add files
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128406 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 17:30:30 +00:00
Olivier Lamy
789083836c
[MRM-1473] remove plexus-spring use
...
replace plexus-quartz with spring-quartz
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128404 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 17:26:26 +00:00
Olivier Lamy
a9b50a0fe0
no need of svn:executable for xml file
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128214 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 09:38:14 +00:00
Olivier Lamy
7eebed1423
fix unit tests spring configuration in archiva-indexer
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128212 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 09:34:43 +00:00
Olivier Lamy
63af39fba0
fix unit tests spring configuration in archiva-scheduler-repository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128204 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 08:59:03 +00:00
Olivier Lamy
c8f7c57c25
oups missed to add file
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128085 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:56:37 +00:00
Olivier Lamy
abe408f63f
[MRM-1473] remove of plexus-spring : fix problem-reports module
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128084 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:56:19 +00:00
Olivier Lamy
5bc6009a39
fix repository-statistics compilation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128083 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:55:58 +00:00
Olivier Lamy
4eb07f4a1c
don't use directly exception class from plexus bridge
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128082 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:55:31 +00:00
Olivier Lamy
84f7fdad79
[MRM-1473] remove of plexus-spring : fix archiva converter
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128081 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:54:42 +00:00
Olivier Lamy
992f6a96dd
miss to add a file
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128080 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:54:19 +00:00
Olivier Lamy
2816105cf3
[MRM-1473] remove plexus-spring
...
fix maven2-repository module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128079 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:54:05 +00:00
Olivier Lamy
22961f8dc4
[MRM-1473] remove use of plexus-spring
...
ok for archiva-artifact-converter
introduce a new bridge tru sisu-guice to be able to use maven apis components
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128078 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:53:32 +00:00
Olivier Lamy
2fdf7359b3
fix tests in archiva-transaction
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128076 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:52:33 +00:00
Olivier Lamy
1788eb54c4
[MRM-1473] remove use of plexus-spring
...
remove all dependencies to plexus-container
use of sisu-inject-plexus (version 2.2.2 with ASL license) for components using maven api components.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128075 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:52:13 +00:00
Brett Porter
16714e5e4d
clean imports
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127737 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 23:58:48 +00:00
Olivier Lamy
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
a3c891b60d
correctly use basedir for configuration and tests : pass it tru sysprops via surefire
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127584 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 16:58:08 +00:00
Olivier Lamy
1736600c3c
no need of svn:executable = * for xml files
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127564 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:43:08 +00:00
Olivier Lamy
2fa80445c8
gloups I missed some svn add
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127561 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:37:15 +00:00
Olivier Lamy
971dcc2f35
[MRM-1473] remove use of plexus-spring
...
move archiva-repository-layer to full spring
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127555 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:31:30 +00:00
Olivier Lamy
b0a37ac386
move archiva-dependency-tree-consumer to sandbox
...
see thread http://mail-archives.apache.org/mod_mbox/archiva-dev/201105.mbox/%3CBANLkTim_wR6nGMCae=TH1tFhNKGf0c1Zgw@mail.gmail.com%3E
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127071 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 14:19:24 +00:00
Olivier Lamy
e10c8a7635
move archiva-dependency-tree-consumer to sandbox
...
see thread here http://mail-archives.apache.org/mod_mbox/archiva-dev/201105.mbox/%3CBANLkTim_wR6nGMCae=TH1tFhNKGf0c1Zgw@mail.gmail.com%3E
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127070 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 14:17:56 +00:00
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
eead981577
fix archiva-dependency-tree-consumer build : moving this full spring will need some more jobs as it depends on some maven/plexus api (so at least make it not fail
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1126533 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 15:12:10 +00:00
Olivier Lamy
3f8c66c3f4
fix junit
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125756 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21 17:57:55 +00:00
Olivier Lamy
dc33d46ce9
fix some spring bean name in archiva-policies
...
move archiva-repository-scanner to full spring
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125755 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21 17:57:38 +00:00
Olivier Lamy
ed51549ed7
fix bad merge
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125685 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21 12:33:03 +00:00
Olivier Lamy
facd5173ce
[MRM-1473] removing plexus-spring use
...
fix unit tests in archiva-repository-scanner (not yet moved in full spring)
Conflicts:
archiva-modules/archiva-base/archiva-configuration/src/main/resources/META-INF/spring-context.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125648 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21 08:45:49 +00:00
Olivier Lamy
5a3e23ead6
[MRM-1473] removing plexus-spring use
...
fix unit tests in archiva-configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125645 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21 07:49:25 +00:00
Olivier Lamy
02b4b8d6af
[MRM-1473] remove use of plexus-spring
...
start with archiva-configuration and archiva-policies
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125538 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 20:08:12 +00:00
Olivier Lamy
c96411890a
[MRM-1473] remove use of plexus-spring
...
start some changes on archiva-configuration and archiva-security
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125142 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 22:20:55 +00:00
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
5bfd24ff52
add an empty file to help git 'sync' with empty directories
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1104522 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 20:19:27 +00:00
Olivier Lamy
79f8b36380
upgrade mpirp plugin to 2.3.1 and javadoc to 2.8
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1103903 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 21:27:22 +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
7c018c68ed
fix some warning when building with maven3
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1103901 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 21:26:54 +00:00
Olivier Lamy
36466076b6
upgrade spring version to 3.0.5.RELEASE
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1103900 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 21:26:42 +00:00
Olivier Lamy
b781d2f5f7
update plexus-spring groupId
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1103898 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 21:26:24 +00:00
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
Brett Porter
bed7aa1b59
[MRM-1327] fix 'used by' to work under JCR store. This will still have problems under the file store at the moment
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1085722 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 14:00:06 +00:00
Brett Porter
522a7ac514
fix optional for dependencies in file metadata repository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1085707 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 12:07:15 +00:00
Brett Porter
95b297a2ae
[MRM-1327] use nodes for dependencies, make several notes about fixes required to properly isolate maven2 pieces
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1085704 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 11:54:11 +00:00
Maria Odea B. Ching
28a0b59676
[MRM-1461]
...
submitted by Maria Catherine Tan
o continue deleting contents of the repo even if it encountered a file that it couldn't delete then throw an IOException at the end
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1082160 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 14:53:40 +00:00
Brett Porter
f2b0885b53
ensure that it gets closed, even if close throws exception
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1071608 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 13:31:17 +00:00
Maria Odea B. Ching
1460694de3
close streams from previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1071145 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 04:51:03 +00:00
Maria Odea B. Ching
cb61344408
used IOUtils copy for merging so streams are buffered
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1071136 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 03:30:53 +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
Jevica Arianne B. Zurbano
13609a81fe
fixed typo
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1063154 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 06:45:31 +00:00
Brett Porter
605c1db826
[MRM-1327] choose a better default for login
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1061114 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 04:20:21 +00:00
Brett Porter
91a012ebdd
[MRM-1448] additional '.' in the classifier & extension should be attributed to the extension instead of the classifier.
...
Note that existing records will not be updated - the repository may need to be re-scanned to reflect the change.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1054034 13f79535-47bb-0310-9956-ffa450edef68
2010-12-31 00:53:23 +00:00
Brett Porter
8aacc3cd0b
[MRM-1443, MRM-1327] change to JSR-170's SQL queries to avoid the problem in JackRabbit 2.2.0 with ISDESCENDANTNODE and a large number of nodes
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053857 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 11:38:35 +00:00
Brett Porter
6e782b161c
[MRM-1443, MRM-1327] properly restrict per repository and improve performance
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053840 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 10:03:44 +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
479f10cb7f
[MRM-1443, MRM-1327] allow repository-statistics module to optimise statistics generation if JCR store is available
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053820 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 08:44:10 +00:00
Brett Porter
ed717a4b5b
[MRM-1327] assign node types to each different node so that they can be easily distinguished from each other when querying or traversing. Correct bug where projects would appear as namespaces and vice-versa.
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053788 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 02:30:09 +00:00
Brett Porter
6673c15740
[MRM-1327] don't auto-save artifact updates - this was only there for testing purposes
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053784 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:55:15 +00:00
Brett Porter
de23f7ef3f
[MRM-1327] make sure getArtifactsByDateRange and getArtifactsByChecksum query is restricted to the right repository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053783 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:41:07 +00:00
Brett Porter
e28ae522d1
[MRM-1327] make sure getArtifacts query is restricted to the right repository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053780 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:29:50 +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
201306c679
[MRM-1327] prevent facets being returned as artifact versions
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053767 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 23:23:28 +00:00
Brett Porter
6ff9147139
[MRM-1327] hook save()/close()/revert() methods to the repository implementation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053630 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 13:02:59 +00:00
Brett Porter
653a42283b
[MRM-1330] problem-reports is decoupled
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053608 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 10:44:09 +00:00
Brett Porter
53c1188710
[MRM-1330] correct bug - ensure parsed model from storage gets added to content repository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053567 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 08:15:02 +00:00
Brett Porter
e7c8bea2e6
[MRM-1330] update DuplicateArtifactsConsumer to the session-based API
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053554 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 07:06:17 +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
Brett Porter
091ebb7aea
avoid exception if the scheduler never started
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1052162 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 03:15:17 +00:00
Brett Porter
cdcc0f4ded
move cache configuration into Spring context file
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1052117 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 00:19:22 +00:00
Brett Porter
34638d4e67
clean up the "TODO" list, and mark those that are more important as "FIXME"
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051810 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 10:20:14 +00:00
Brett Porter
c63e2a3f77
[MRM-1327] refactor the repository API to make each concern clearer. Storage, resolver and metadata repository are separate interfaces. Rename methods on the resolver and the storage to be clearer of their intent
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051788 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 08:31:56 +00:00
Brett Porter
eff60e10de
[MRM-1327] instantiate the repository via Spring and avoid hard-coding
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051741 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 03:12:51 +00:00
Brett Porter
badcc9e925
[MRM-1327] add exception handling to the metadata repository implementation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051732 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 01:53:10 +00:00
Brett Porter
1ff88d24fe
[MRM-1327] clean up path construction and method sorting
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051466 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 11:40:08 +00:00
Brett Porter
7f610bca75
[MRM-1327] namespaces should be paths to avoid being too flat. Use queries for some other traversal methods.
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051458 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 11:21:57 +00:00
Brett Porter
2a6a4e570f
[MRM-1327] remove unnecessary facet node for project versions, and ensure artifact facet properties are correctly removed
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051444 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 10:16:04 +00:00
Brett Porter
c82a0e6bc1
[MRM-1327] remove unnecessary facet node for artifacts
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051429 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 09:30:25 +00:00
Brett Porter
5622b1c569
[MRM-1327] re-arrange utility methods, and use search for retrieving artifacts by date
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051396 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 07:21:44 +00:00
Brett Porter
4423d46b4f
[MRM-1327] very rough prototype of a JCR based storage mechanism. Passes tests, but needs to be cleaned up and properly integrated, then tested for performance
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1050283 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 06:26:09 +00:00
Brett Porter
5ce9fd5025
[MRM-1445] disable referrer check by default
...
Merged from: r1049409
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049410 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 04:04:59 +00:00
Brett Porter
70537eb036
[MRM-1421] Archiva repository purge incorrectly purges based on file timestamps even when the snapshot timestamp is known
...
Merged from: r1049391:1049399
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049407 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 03:39:46 +00:00
Brett Porter
f475ae1d1b
test case improvements
...
Merged from: r1049384-1049390
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049406 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 03:30:38 +00:00
Brett Porter
3c7670142f
[MRM-1396] Purge task problem : Not enough parts to the path
...
Merged from: r1049375
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049382 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 01:50:28 +00:00
Brett Porter
82485c9ed4
move mockito version to management section
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049376 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 01:28:22 +00:00
Brett Porter
458e11fd33
correctly acknowledge September 19
...
Image is derived from http://commons.wikimedia.org/wiki/File:Piratey,_vector_version.svg , which is in the public domain
Merged from: r1043948
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1043969 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 14:02:45 +00:00
Brett Porter
59bc6aa509
fix title, as it is showing amount used, not free
...
Merged from: r1042714
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042715 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:41:05 +00:00
Brett Porter
5285d77732
[MRM-1440] add current time as well, for comparison when troubleshooting captured results
...
Merged from: r1042711
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042712 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:34:52 +00:00
Brett Porter
6b58a6c15c
status page tweaks
...
Merged from: r1042700:1042702
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042704 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:25:19 +00:00
Brett Porter
98d9fea131
[MRM-1442] track time spent in each consumer during a scan, to help diagnose poor scanning performance
...
Merged from: r1042689
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042695 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:03:02 +00:00
Brett Porter
9565cefd5b
[MRM-1440] correct incorrect package name
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042690 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 15:57:12 +00:00
Brett Porter
6897c1f68a
[MRM-1441] add repository scanning details to system status page
...
Merged from: r1042633
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042652 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 14:09:28 +00:00
Brett Porter
c795a64c84
[MRM-1440] add a system status page
...
Merged from: r1042625:1042631
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042646 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 13:58:34 +00:00
Brett Porter
23ebf87131
[MRM-1439] improve indexing performance
...
Avoid re-reading the entire index each time an artifact is added, and instead search to see if it should be added or updated
Merged from: r1041829
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1041846 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 15:01:20 +00:00
Brett Porter
deba382d42
[MRM-1436] better Map handling
...
Submitted by: Dave Brosius
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1040919 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 09:48:32 +00:00
Brett Porter
0167efe972
[MRM-1433] remove @Override are on interface methods which is only possible in java 6 for Java 5 compatibility
...
Submitted by: Jim Sellers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1039998 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 00:52:27 +00:00
Brett Porter
30f0ab2365
[MRM-1435] fix up useless boxing issues
...
Submitted by: Dave Brosius
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1039994 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 00:39:43 +00:00
Maria Odea B. Ching
bc56d6353c
[MRM-1097]
...
o upgrade nexus indexer to 3.0.1 + added logger bean which is needed by NexusIndexer
o for deployments/proxied artifacts, create and close indexing context when indexing task is executed as compared to the original behavior where the indexing context is created
before it is queued (so as the indexing task queue builds up, more indexing contexts are being opened/created which might be causing the too many open files problem)
o updated unit tests with changes made
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1039004 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 11:20:47 +00:00
Brett Porter
0452f87c94
slight logging adjustment
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1038916 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 04:23:21 +00:00
Brett Porter
8e9ef5cb4a
small grammar fix
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1038903 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 03:38:05 +00:00
Maria Odea B. Ching
031f607b73
[MRM-1303] fixed npe in delete artifact + unit test
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1031518 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 11:22:06 +00:00
Maria Odea B. Ching
b719ecb818
check if metadata exists first before updating and copying to target repo
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1022822 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 05:15:51 +00:00
Maria Odea B. Ching
421229b886
o fix bug when checking for conflicting artifacts, compare managed repo & staging repo instead of both staging repo
...
o added debug logs
o removed alwaysmatcher for test so we can catch the specific values of passed params
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1022813 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 02:58:49 +00:00
Maria Odea B. Ching
e01a96d5f4
[MRM-1424] Implement WS for creating stage repository
...
submitted by Warner Pinero
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1006162 13f79535-47bb-0310-9956-ffa450edef68
2010-10-09 13:48:48 +00:00
Brett Porter
e1c5bb5b91
remove dead link
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1005339 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 06:42:22 +00:00
Maria Odea B. Ching
0d70a68dc6
remove versions since these are already set in parent
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1003740 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 03:37:58 +00:00
Maria Odea B. Ching
d35e740ca9
[MRM-1409] web services for repository merge
...
submitted by Gwen Harold Autencio
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1003378 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 03:50:04 +00:00
Maria Odea B. Ching
e82ce0f0b5
merged MRM-980 branch to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1002059 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 09:09:32 +00:00
Maria Odea B. Ching
9baf9de1ce
exclude plexus-spring in redback-struts2-integration as 1.3-SNAPSHOT is being pulled in causing jetty:run to break
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@992227 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 07:52:16 +00:00
Maria Odea B. Ching
7c73d3c9d1
[MRM-1417] add basic managed repository management support on adding repository, deleting repository, and loading repository by id
...
submitted by Catalino Pineda Jr.
additional modification to the patch:
o added invocation of repo mgnt service methods to sample client
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@987042 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 07:15:58 +00:00
Carlos Sanchez Gonzalez
887786e059
Seconds difference could make test fail, compare date differences
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@983755 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 18:05:55 +00:00
Carlos Sanchez Gonzalez
a96167a55d
Disable redback snapshot repo for releases and manage site plugin to the same version across projects
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@983636 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 13:26:45 +00:00
Jevica Arianne B. Zurbano
8cfd3806cc
[MRM-1394] - Replace the use of clickLinkWithText() with getSelenium().open() for accessing navigation menu pages
...
merge -r 960310:960311 from 1.3.x branch
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@960322 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 11:27:10 +00:00
Maria Odea B. Ching
4664fef366
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o use successful icon in successful delete
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@953620 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 09:27:02 +00:00
Maria Odea B. Ching
a72aeb4d5e
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o do not show add property widget if user does not have repository manager role
o added selenium test for browsing metadata if user is not a repository manager
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@953612 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 08:49:48 +00:00
Brett Porter
8f1414a1dc
[MRM-1387] switch to official javax.inject library that is in the central repository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@953607 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 08:35:06 +00:00
Maria Odea B. Ching
f5b6dcb189
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o added css to add property form
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952527 13f79535-47bb-0310-9956-ffa450edef68
2010-06-08 03:47:14 +00:00
Maria Odea B. Ching
a15932eb45
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o updated selenium test for deleting metadata
o added selenium tests for adding generic metadata property
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952174 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 09:56:57 +00:00
Maria Odea B. Ching
a1cfde68ae
fixed formatting
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952141 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 08:45:18 +00:00
Maria Odea B. Ching
f4732a184a
fixed formatting
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952137 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 08:20:58 +00:00
Maria Odea B. Ching
f36029359a
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o allow only users with repo manager role to add & delete metadata content
o add archiva-add-metadata and archive-delete-metadata permissions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952136 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 08:15:53 +00:00
Maria Odea B. Ching
8891e9fdd2
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o removed project metadata custom tag
o enable delete of generic metadata properties
o added unit tests for adding and deleting properties
o clear facet properties read from file before doing the update so that removed facet properties are not retained when updating project version metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952127 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 07:40:26 +00:00
Jevica Arianne B. Zurbano
a946c2e933
fixed typo
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@951347 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 09:51:45 +00:00
Maria Odea B. Ching
652118afbd
fixed formatting
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@951294 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 06:32:22 +00:00
Maria Odea B. Ching
a82088bc3f
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o added validation for adding new properties
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@951287 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 05:50:17 +00:00
Maria Odea B. Ching
f51b049d51
fixed formatting
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@951241 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 02:16:24 +00:00
Maria Odea B. Ching
1794af3da5
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o added new facet for generic properties
o display correct metadata in Metadata tab
o add new properties to metadata from UI
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@951239 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 02:11:25 +00:00
Jevica Arianne B. Zurbano
2ee860c6a0
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
* added mailingLists, licenses, and dependency in test artifact's pom
* added Selenium test for delete of metadata properties (mailing list, dependency, and license)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@948793 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 11:54:24 +00:00
Jevica Arianne B. Zurbano
da6e920101
[MRM-1362] [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
* added delete of mailing list, dependency, and license entries
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@948707 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 07:45:06 +00:00
Maria Odea B. Ching
a6063601a8
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
move closing of the list item inside if condition
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@947906 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 03:50:26 +00:00
Maria Odea B. Ching
2d781734b6
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o move out util for formatting project metadata to a custom tag
o do not show metadata section name (organization, issueManagement, ciManagement, scm, dependencies, mailing lists, licenses) when they are empty
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@947591 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 10:29:58 +00:00
Jevica Arianne B. Zurbano
8d7216a00e
added selenium test to check the artifact page tabs
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@947039 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 15:29:49 +00:00
Jevica Arianne B. Zurbano
ef8f63a5ac
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
* modified display of project metadata; added util to format the metadata for display
* modified format of mailing lists in "Mailing List" tab using the previous format of the mailing lists in "Project Metadata"
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@947020 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 14:22:15 +00:00
Maria Odea B. Ching
bf7d9bb135
merge -c 946618 from 1.3.x branch (MRM-1066)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@946631 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 13:39:44 +00:00
Maria Odea B. Ching
4721ffeaab
fixed missing closing tag
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@946110 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 10:35:24 +00:00
Jevica Arianne B. Zurbano
158fea721b
* moved the creation of index into its own method
...
* renamed createIndexForQuickSearch to createSimpleIndex to be used in Advanced Search tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@944651 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 14:41:11 +00:00
Jevica Arianne B. Zurbano
71f252b734
[MRM-1125] - default search should be AND not OR for multiple keywords
...
* applied patch
* added additional unit and selenium tests for quick search
Submitted by: Gwen Harold Autencio
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@944632 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 12:56:34 +00:00
Maria Odea B. Ching
d0835d9b5c
merged from 1.3.x branch -r942765 (MRM-621)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@942796 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 15:44:50 +00:00
Maria Odea B. Ching
8f4f8c83e9
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o action methods for updating and retrieving metadata properties
o updated struts config for getting project metadata
o added page for metadata in webapp artifact browse
o added test for getting project metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@940775 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 08:54:00 +00:00
Maria Odea B. Ching
47847c95c1
moved getMetadataFile inline
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@940398 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 08:49:48 +00:00
Maria Odea B. Ching
76502a997d
revert consumer name which was accidentally changed in commit -r940163
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@940396 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 08:41:42 +00:00
Maria Odea B. Ching
ced10f5fa5
[MRM-1353] Build number is always 1 for SNAPSHOT artifacts uploaded via web upload form
...
merge -c 930528 from 1.3.x branch with some tweaks in the unit and selenium tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@940163 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 06:13:08 +00:00
Jevica Arianne B. Zurbano
6a2661f866
[MRM-1345] MRM-1345 update use of Nexus indexer
...
* applied patch
* moved the constant in a new class
Submitted by: Gwen Harold Autencio
updated dependency versions:
* nexus-indexer 2.0.5
* plexus-utils 1.5.5
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@938402 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 10:29:58 +00:00
Marecor M. Baclay
45db0bf072
[MRM-1276] Selenium tests need a clean up
...
- removed the unnecessary commented out lines
- modified LoginTest to use the methods in abstract class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@933824 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 01:02:19 +00:00
Maria Odea B. Ching
dda469036d
[MRM-1372] Outdated instruction for Maven and JUnit still in ReadMe.txt for selenium tests
...
submitted by Patti Arachchige Eshan Sudharaka
o remove instruction for running pom in src/test/it
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@933495 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 06:55:01 +00:00
Marecor M. Baclay
713c937982
[MRM-1276] Selenium tests need a clean up
...
- added license to AbstractArtifactManagementTest class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@931478 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 09:29:51 +00:00
Marecor M. Baclay
ddeaa798b6
[MRM-1276] Selenium tests need a clean up
...
- fixed poor formatting in the source code (tabs, etc) following the Maven Code Style
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@931475 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 09:27:05 +00:00
Marecor M. Baclay
45100a8806
[MRM-1276] Selenium tests need a clean up
...
- used getSelenium().open() instead of clickLinkWithText
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@931081 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 10:48:51 +00:00
Marecor M. Baclay
b60226f360
[MRM-1276] Selenium tests need a clean up
...
- removed it.properties in src/test/resources
- updated the path in property file and some classes for the changes made in r.928992
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@929005 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 06:16:30 +00:00
Marecor M. Baclay
edf2cd3a40
[MRM-1276] Selenium tests need a clean up
...
-transferred the contents of src/test/it-resources to src/test/resources
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@928992 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 05:23:07 +00:00
Marecor M. Baclay
286a4ee97e
- replaced the missed hardcoded value with the value in the property file
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@925151 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 09:20:14 +00:00
Marecor M. Baclay
8d9c3f7613
- modified the scripts to use a property file(testng.properties) for dotnet artifact's groupId, artifactId and version
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@925149 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 09:13:31 +00:00
Brett Porter
203660343d
[MRM-1327] make sorting more consistent for other implementations
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924830 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 14:33:12 +00:00
Brett Porter
1ba8d3688a
[MRM-1327] make sorting more consistent for other implementations
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924779 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 14:03:26 +00:00
Brett Porter
1d5a085355
[MRM-1282] consistency in parameter naming
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924775 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 13:47:35 +00:00
Marecor M. Baclay
ac57eadd48
[MRM-1323] archiva webapp tests failed to run in internet explorer
...
Submitted by: Gwen Harold Autencio
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924673 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 09:25:09 +00:00
Brett Porter
4c5672c59e
[MRM-1327] abstract test case so that multiple implementations can use it
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924641 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 05:34:55 +00:00
Brett Porter
866fbdff7a
[MRM-958] switch tests to Mockito and make it easier to abstract
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924631 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 04:26:23 +00:00
Brett Porter
79189ae0ea
[MRM-1366] restore missing method
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924162 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 05:35:59 +00:00
Brett Porter
2e9c35d4aa
[MRM-1329] Start to revise Javadoc of APIs
...
- additionally, add projectVersion to the ArtifactMetadata so that the full coordinate is available.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@923520 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 00:21:13 +00:00
Brett Porter
b7810bb5f8
remove dependency on repository-layer from audit module
...
- fix components
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921818 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 12:07:35 +00:00
Brett Porter
83ffbd8e18
fix test
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921811 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 11:52:24 +00:00
Brett Porter
e2f5e24bf0
fix test
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921806 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 11:36:00 +00:00
Brett Porter
3387b53fca
remove dependency on repository-layer from audit module
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921799 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 11:05:46 +00:00
Brett Porter
51acb7acd7
remove dependency on repository-layer from repository-statistics module
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921791 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 10:39:33 +00:00
Brett Porter
5c18f8b344
[MRM-1359] add tests for legacy format translation in WebDAV and other Maven 1 repository notes
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921789 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 10:34:42 +00:00
Brett Porter
83821861e8
empty directories and ignores
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921786 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 10:33:24 +00:00
Brett Porter
52176501a4
[MRM-1359] Separate Maven 1.x functionality into its own plugin
...
- add skeleton and comments
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921691 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 04:50:05 +00:00
Brett Porter
a7238c5eb0
[MRM-1361] add support for NPanday artifact types. Currently requires some hard coding into webapp and tests, but removing the plugin from the webapp would safely disable the functionality.
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921687 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 04:43:23 +00:00
Brett Porter
5761f19b58
[MRM-1360] move type population into Maven 2 plugin
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921686 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 04:33:02 +00:00
Brett Porter
4330002cef
[MRM-1360] store artifact metadata in the repository and make maven facet's compliant
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921671 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 02:40:39 +00:00
Brett Porter
956d8d45d3
allow to run in jetty:run again
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921646 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 00:29:49 +00:00
Brett Porter
d6c33feff1
[MRM-1282] remove use of repository layer in favour of storage API
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921423 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 16:15:21 +00:00
Brett Porter
17348a45ce
[MRM-1282] remove duplicated artifact population, ensuring the metadata consumer now sets facets correctly too
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921376 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 14:55:59 +00:00
Brett Porter
ca5684b38f
[MRM-1282] Repository Path Translation consolidation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921374 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 14:47:30 +00:00
Brett Porter
f97e798940
[MRM-1282] Repository Path Translation consolidation
...
- DefaultPathParser now a shell around RepositoryPathTranslator, for refactoring away
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921366 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 14:35:31 +00:00
Brett Porter
2211cb809d
[MRM-1360] move type population into Maven 2 plugin
...
- correct problem with test case
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921228 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 04:27:51 +00:00
Brett Porter
3f9d3bac3e
[MRM-1360] move type population into Maven 2 plugin
...
- correct problem with the instantiation of the translator in the legacy code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921227 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 04:21:54 +00:00
Brett Porter
780176f7f5
[MRM-1360] move type population into Maven 2 plugin
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921224 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 04:02:48 +00:00
Brett Porter
989f143a5f
[MRM-1360] move the maven 2 repository plugin to use the shared test repository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921202 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 01:38:29 +00:00
Brett Porter
3bdb27b8a0
[MRM-1282] implement maven metadata for artifacts and remove legacy code
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921196 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 00:42:44 +00:00
Brett Porter
7e14904c86
remove redundant code (classifier argument is not used, maven-plugin maps to maven-plugin already using defaults)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921193 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 00:35:11 +00:00
Brett Porter
1f60d14c48
enforce test ordering
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920792 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 10:55:47 +00:00
Maria Odea B. Ching
3deb0ee356
o update artifact groupId/artifactId to not use "test" term for uploaded artifacts not used for search test
...
o added note in readme file to avoid using the term "test" in artifact namespace when writining new add/upload artifact test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920773 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 10:23:57 +00:00
Brett Porter
4c2bd734ff
[MRM-1282] remove JDK 6 API usage and unused method
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920766 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 10:10:56 +00:00
Brett Porter
ce3d47689a
[MRM-1283] improve test for when the metadata is later used
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920755 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 09:36:48 +00:00
Brett Porter
cd9c1097d1
[MRM-1282] start to implement maven metadata for artifacts, splitting from existing sources
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920722 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 08:00:25 +00:00
Brett Porter
af2a929978
[MNG-1301] remove the problem reports dependency on the repository layer, start to migrate path parsing into metadata API
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920649 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 04:24:32 +00:00
Brett Porter
49eab5d3da
remove unneeded commented out functionality
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920202 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 06:13:09 +00:00
Brett Porter
b5202fc449
minor clean up
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920188 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 03:43:49 +00:00
Brett Porter
62b97751fb
always output the HTML anyway
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@919326 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 07:59:47 +00:00
Brett Porter
e521a959c5
[MRM-1356] handle chunked / unknown length requests correctly
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@919307 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 06:09:53 +00:00
Brett Porter
e4c8856490
[MRM-1355] merge test for audit log username setting from branch, with adjustments
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@918887 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 08:21:21 +00:00
Brett Porter
6418e7926c
another note about Windows
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@918764 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 23:21:12 +00:00
Brett Porter
76fa406159
add a note about popup blockers
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@918759 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 23:10:29 +00:00
Brett Porter
3b18981b51
[MRM-1323] run tests with applet disabled to avoid warnings popping up
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@918745 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:42:46 +00:00
Brett Porter
1dc20b01ac
update readme
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@918712 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 21:51:41 +00:00