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
356f47fa89
upgrade to jackarabbit 2.3-SNAPSHOT which is compatible with lucene 3.x
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1139942 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 20:54:53 +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
d6a4fe82a6
move lucene version to a property
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138226 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 22:37:08 +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
0d6a0d7362
use surefire 2.9
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137816 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 23:03:18 +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
e675db7c00
remove directory too
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136312 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 07:51:10 +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