Olivier Lamy
159806983d
use an artifact with test resources from redback to avoid too much file duplication redback-core.xml
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197359 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 23:46:59 +00:00
Olivier Lamy
c215c38616
fix unit tests in archiva-scheduler-indexing
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197140 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 14:30:03 +00:00
Olivier Lamy
a635f44ace
remove unused imports and fields
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196843 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:32:43 +00:00
Olivier Lamy
baaa23f092
remove this ugly static method
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196841 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:32:15 +00:00
Olivier Lamy
0262091faa
[MRM-815] aggregate indices for repository groups.
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196840 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:31:42 +00:00
Olivier Lamy
33776a4920
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1185622 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 12:26:11 +00:00
Olivier Lamy
ccd7d803f7
[maven-release-plugin] prepare release archiva-1.4-M1
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1185616 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 12:19:44 +00:00
Olivier Lamy
addd86fec7
update timestamp on index save
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1182850 13f79535-47bb-0310-9956-ffa450edef68
2011-10-13 13:39:40 +00:00
Olivier Lamy
77fd603c0c
reduce log noise with using debug for something normal not a a warn
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1180898 13f79535-47bb-0310-9956-ffa450edef68
2011-10-10 12:01:04 +00:00
Olivier Lamy
47229dec13
add unit tests for paginate method
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179991 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 10:40:25 +00:00
Olivier Lamy
e506bed25d
[MRM-1327] implement alternative or improve repository metadata storage: remove some repository.xml not needed for test
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179244 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 14:48:15 +00:00
Olivier Lamy
f260414f76
[MRM-1327] implement alternative or improve repository metadata storage: jcr is now default storage mode.
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179142 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 10:23:09 +00:00
Olivier Lamy
12ba74abf2
fix @since 1.4 with @since 1.4-M1
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178731 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 09:05:30 +00:00
Brett Porter
3c20054f1d
update version to 1.4-M1-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178021 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 15:38:32 +00:00
Olivier Lamy
5ff3b30856
ensure we correctly delete temporary download directory
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177991 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 14:21:14 +00:00
Olivier Lamy
d8972640dc
add some logs informations for download remote index time
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177990 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 14:20:46 +00:00
Brett Porter
0fa1fa6ac2
change configuration base to org.apache.archiva instead of org.apache.maven.archiva, update "upgrading" document accordingly
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177933 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 06:56:48 +00:00
Brett Porter
77e42c692f
make RAT report pass
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177919 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 05:17:00 +00:00
Brett Porter
448b821613
fix properties to avoid putting test data in JAR and remove derby.log from root
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177910 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 04:56:42 +00:00
Olivier Lamy
afababf393
use isNotBlank to avoid warning in log
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176384 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 13:55:26 +00:00
Olivier Lamy
f5dc1fdb10
fix 1.5 compilation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176242 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 07:17:50 +00:00
Olivier Lamy
d3b0682003
[MRM-1516] missing dependency on velocity - ClassNotFoundException org.apache.velocity.tools.view.ToolboxManager
...
and fis unit tests.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176112 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 22:49:57 +00:00
Olivier Lamy
276eaf0b5d
[MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results : include remote repos when searching
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176110 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 22:48:28 +00:00
Olivier Lamy
ae7be0e049
better output of the transferListener for remote index download
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176041 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 20:35:59 +00:00
Olivier Lamy
d9c293217c
in s so *1000 :-)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176040 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 20:35:35 +00:00
Olivier Lamy
604b421c28
[MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results : add a download remote time out field as file are more import
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176039 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 20:34:42 +00:00
Olivier Lamy
4c507b7beb
[MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results : fix configuration of the network proxy to use for download remote index
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176008 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 19:30:14 +00:00
Olivier Lamy
427f594239
[MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results : honor full download parameter
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175932 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:09:01 +00:00
Olivier Lamy
e6c5aff3fc
commented code cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175931 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:08:43 +00:00
Olivier Lamy
d1a54e99e8
[MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175928 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:07:16 +00:00
Olivier Lamy
ec59e758e3
no need to create all of those objects if index already exisst
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175926 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:04:48 +00:00
Olivier Lamy
7a01a324d6
[MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-common module
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171418 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 07:42:25 +00:00
Olivier Lamy
c8ef0abdec
[MRM-1520] remove duplicate beans : move model beans to a single package
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171188 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 17:36:22 +00:00
Olivier Lamy
92f181109d
fix index optimize default index location
...
optimize io in search rest service unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171043 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 10:44:52 +00:00
Olivier Lamy
6e252d9a2d
-fix unit : lucene sometimes has pain to flush...
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170884 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 22:52:52 +00:00
Olivier Lamy
919a5ac3eb
[MRM-1504] Add a new module for repository administration management
...
split the repo admin in two modules : api and default implementation (to be able to more easily change the impl).
Use the repo admin api consumers and indexing modules.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170135 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 12:12:39 +00:00
Olivier Lamy
ac4dbb87e1
get RID of plexus.requirement annotation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165558 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 08:11:21 +00:00
Olivier Lamy
f0c6ee5a71
get RID of plexus.component annotation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165527 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 07:26:05 +00:00
Olivier Lamy
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
1788eb54c4
[MRM-1473] remove use of plexus-spring
...
remove all dependencies to plexus-container
use of sisu-inject-plexus (version 2.2.2 with ASL license) for components using maven api components.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128075 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:52:13 +00:00
Olivier Lamy
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
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
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
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
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
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
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
Brett Porter
606c82cbca
merged recent changes from trunk, and reimplemented incoming audit log functionality as a plugin using the metadata repository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900664 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 06:15:09 +00:00
Brett Porter
fcd43810f5
Merged /archiva/trunk:r885006-887051 (applied changes to scheduler manually due to different location)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@887052 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 04:08:30 +00:00
Brett Porter
4102a4a916
[MRM-1025] split the scheduler into modules to isolate database and indexer dependent code
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882207 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 17:16:20 +00:00