Commit Graph

901 Commits

Author SHA1 Message Date
Olivier Lamy e711aa2679 add convenient getter/setter to ease json mapping for Map fields.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1242597 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 23:08:27 +00:00
Olivier Lamy 065cd8bbdd fix missing version in archetype
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240811 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 20:53:27 +00:00
Olivier Lamy 179170579c add wagon as test dependency in archetype to prevent cnfe
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240678 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 08:33:40 +00:00
Olivier Lamy ed7e4d2876 add wagon-http-lightweight as dependency to prevent CNFE in test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240633 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 22:37:03 +00:00
Olivier Lamy 68365364e3 add wagon-http-lightweight as dependency to prevent CNFE in tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240629 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 22:17:53 +00:00
Olivier Lamy 983e4abba7 fix osgi metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240628 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 22:14:42 +00:00
Olivier Lamy cc81e01722 [MRM-1599] NTLM proxy no longer works
change for metadata resolver too using ntlm proxy
take the opportunity to use repo admin api rather than archivaconfiguration directly/

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240625 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 22:14:00 +00:00
Olivier Lamy 5d6774f5f2 [MRM-1599] NTLM proxy no longer works
use a new wagon with spring bean http-ntlm if proxy use ntlm

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240623 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 22:08:28 +00:00
Olivier Lamy e258bfb349 [MRM-1599] NTLM proxy no longer works
add bean attribute and modify ui.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240622 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 22:04:51 +00:00
Olivier Lamy fc4b4d3d36 ensure ProxyConnector are correctly ordered
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1237697 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 14:58:35 +00:00
Olivier Lamy 9a00a3a355 fix false warning on missing policy
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1237625 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 12:43:53 +00:00
Olivier Lamy 627bdfa6b1 add rest service to validate cron expression
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235828 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 17:13:37 +00:00
Olivier Lamy 228246262d fix duplicate dependency declaration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235688 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 08:46:12 +00:00
Olivier Lamy 3a6ccb9038 fix archiva-web-common unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235681 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 08:38:53 +00:00
Olivier Lamy 720bbfe195 fix unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235561 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 23:43:25 +00:00
Olivier Lamy a375e8df78 remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235560 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 23:43:09 +00:00
Olivier Lamy 37382ef788 avoid using plexus-sisu bridge to get wagon instances: use now spring
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235559 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 23:42:53 +00:00
Olivier Lamy 5eed5ccf55 use ConcurrentHashMap rather than synchronized block
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235558 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 23:42:05 +00:00
Olivier Lamy b3bfdacdd8 use new central repository url
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235311 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 15:53:10 +00:00
Olivier Lamy 1421b2dd9a ignore .index/.indexer in repository scanning processing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1234820 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 14:32:52 +00:00
Olivier Lamy 83af0d05d5 ignore .indexer in repository scanning processing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1234819 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 14:32:14 +00:00
Olivier Lamy 4ada471449 [MRM-1574] add rest method to get repositoty statistics
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233310 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 12:18:19 +00:00
Olivier Lamy 883900fa2a [MRM-1590] Wrong URL returned by SearchService.getArtifactVersions.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233266 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 10:09:47 +00:00
Olivier Lamy 839d3e0028 fix rest call for scanRepositoryNow fullScan parameter was not honoured
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233135 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 00:01:42 +00:00
Olivier Lamy 58c30c851d add a rest method to validate if managed repository location already exists.
So move RepositoryCommonValidator to admin api and add the interface

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232615 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 22:35:08 +00:00
Olivier Lamy b15679f6a9 prevent NPE on initial scan at repository creation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232213 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 22:57:03 +00:00
Olivier Lamy c86c62cd2d when possible rest error must return the field with issue to map it in the ui
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231992 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 13:27:37 +00:00
Olivier Lamy f4c55ef0d4 validate managedRepository before remowing it for update. In case of non valid cronExpression it was removed before the validation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231900 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 10:29:13 +00:00
Olivier Lamy 3e554184c4 start adding various files for repositories management: html templates js
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231182 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 17:00:51 +00:00
Olivier Lamy a0477581fb fix annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231177 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 16:59:40 +00:00
Olivier Lamy 717cbf7c8a take care of some ArrayList size init
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229118 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 12:44:02 +00:00
Brett Porter f48d71800f fix typo (filer -> filter)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1227518 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 07:52:48 +00:00
Olivier Lamy 020a44b802 [MRM-1562] Update to Archiva as OSGi compliant application
Submitted by Jean-Baptiste Onofré

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1225147 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 09:09:34 +00:00
Brett Porter 615cfd730e remove all tab characters and fix some formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1215120 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 13:13:10 +00:00
Olivier Lamy e84f162ae5 fix my bad previous commit pom.xml was not well formed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1214656 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 08:34:37 +00:00
Olivier Lamy 3189d59b92 no need of this repo archiva artifacts must be here
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1214375 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 17:38:26 +00:00
Olivier Lamy 7ba8ff1f33 add dependency needed by archetype it test in archetype pom to ensure reactor will build them first
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1214353 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 17:21:20 +00:00
Olivier Lamy 24af77fa96 fix archetype it test failure due to spring 3.1.0 upgrade
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1214218 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 12:45:11 +00:00
Olivier Lamy 63090c754a use a property for jackrabbit version in consumer archetype
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1213949 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 21:53:39 +00:00
Olivier Lamy 67e313f681 [MRM-1564] spring 3.1.0 upgrade
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1213948 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 21:53:26 +00:00
Olivier Lamy 9c7358fd42 use property for redback version in archetype
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1213946 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 21:53:08 +00:00
Olivier Lamy b45d048272 reorder module build archiva-consumers need indexer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1213945 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 21:52:53 +00:00
Olivier Lamy 58b08d0094 bump to 1.4-M3-SNAPSHOT version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1213816 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 18:18:37 +00:00
Olivier Lamy a833d51414 get RID of plexus identifer we don't use anymore
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1212499 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:14:43 +00:00
Olivier Lamy 44de225ec3 fix previous bad commit on archetype pom
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1210448 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 13:10:55 +00:00
Olivier Lamy 3f27956523 lock plugin version in archetype same as archiva
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1210438 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 12:49:42 +00:00
Olivier Lamy d6af35bf22 use id central to folks on limited network access
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1209260 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 21:41:43 +00:00
Olivier Lamy 5f8ff6b6b1 use maven archetype released version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1205496 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 17:16:17 +00:00
Olivier Lamy 9d3a719381 [MRM-1562] Update to Archiva as OSGi compliant application.
Submitted by Jean-Baptiste Onofre.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1205009 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 14:17:04 +00:00
Olivier Lamy b137e9a99c an other try to prevent windauze file leak, I hope the last one :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1204957 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 12:40:42 +00:00
Olivier Lamy 5f6f2e9833 an other try to prevent windauze file leak
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1204908 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 10:43:47 +00:00
Olivier Lamy 4b16406276 an other try to prevent windauze file leak
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1204873 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 09:27:22 +00:00
Olivier Lamy c6db5dad33 an other try to prevent windauze file leak
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1204866 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 09:06:06 +00:00
Olivier Lamy 5bfcdf011a cleanup indexingContext on shutdown to try avoid file leaking on windows
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1204729 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 22:19:27 +00:00
Brett Porter 8b0e861e98 support Windows paths. Thanks to Chris Graham for the tip.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1204364 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 06:37:59 +00:00
Olivier Lamy fcb3e8c534 fix formatting no functionnal changes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203664 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 14:26:45 +00:00
Olivier Lamy 67b0a5a62a [MRM-1560] Add the possibility to schedule retrieve remote indexes when application startup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203406 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 22:50:21 +00:00
Olivier Lamy 83dfa790b3 skip error in MetadateRepository when deleting a repository; log warn the exception
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203405 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 22:49:50 +00:00
Olivier Lamy 988f8b45f3 includePom in index search results configurable: false by default
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203376 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 21:29:44 +00:00
Olivier Lamy 6eb766e9d9 not return pom artifacts when searching artifacts
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203364 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 21:02:08 +00:00
Olivier Lamy f8d3094638 fix some formatting I broke!
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203197 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 14:18:45 +00:00
Brett Porter 9b4e61dee7 alter again to store cache files in a different directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1201601 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 05:01:18 +00:00
Brett Porter 292066e3bb avoid configuring archiva in full for tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1201582 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 02:46:56 +00:00
Olivier Lamy f21e64d0c9 [MRM-815] aggregate indices for repository groups.
add a unit for this feature.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199337 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 16:48:35 +00:00
Olivier Lamy 6a767ceb44 configure archetype test to run with an empty repo to ensure all artifacts are available
use archetype 2.2-SNAPSHOT which has those features.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199336 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 16:47:11 +00:00
Olivier Lamy cef293cf57 move jdbc test url and jdbc test driver to properties to be able to change that in one place
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198646 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 08:29:35 +00:00
Olivier Lamy 9721429786 restore a good value, this value was here for testing: not a good production value :--
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198644 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 08:28:46 +00:00
Olivier Lamy 7738486c1a maven indexer cleanup only directory content so cleanup manually directory too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198370 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 13:50:40 +00:00
Olivier Lamy 7ad0e303a0 [MRM-815] aggregate indices for repository groups.
delete temporary on session end with a session listener
periodical taks to cleanup too old temp group index.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198011 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 18:50:28 +00:00
Olivier Lamy ea0034cd8a fix test compilation issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197907 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 09:15:00 +00:00
Olivier Lamy 1c437a85fb fix consumer archetype
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197792 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 21:28:51 +00:00
Olivier Lamy 48314e4daa remove temporary indexes from indexer too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197703 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 18:29:41 +00:00
Olivier Lamy 64e1d8c81a use derby only in memory for testing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197665 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 16:59:20 +00:00
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 f91f284d77 upgrade to redback 1.4-SNAPSHOT
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@1197356 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 23:45:56 +00:00
Olivier Lamy 44885020d8 optimize io consume by not deleting/copying artifacts for all tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197181 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 15:19:21 +00:00
Olivier Lamy 3504307447 fix archiva-xmlrpc-services unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197142 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 14:31:06 +00:00
Olivier Lamy eeed38179f fix tests in archiva-lucene-consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197141 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 14:30:36 +00:00
Olivier Lamy 42edbc5ca5 fix tests in archiva-core-consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197139 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 14:29:43 +00:00
Olivier Lamy 9991433b42 fix archiva-indexer tests
declare task spring annotations only for webapp

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196875 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 00:00:09 +00:00
Olivier Lamy 545a16dbc8 correctly close index on shutdown
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196856 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 23:19:46 +00:00
Olivier Lamy 93e5fdfa27 [MRM-815] aggregate indices for repository groups.
cleanup created temp directories.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196846 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:33:35 +00:00
Olivier Lamy 8e36162963 [MRM-815] aggregate indices for repository groups.
pack index for download.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196845 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:33:09 +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 b698377ca7 take care of non absolute directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196839 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:31:01 +00:00
Olivier Lamy eb125e9a34 add a convenient method to create index in repository admin service for remote repos
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196838 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:30:45 +00:00
Olivier Lamy e86c15f7b8 missed to commit pom with indexer dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196837 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:30:22 +00:00
Olivier Lamy 43eae0e795 add a convenient method to create index in repository admin service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196836 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:30:08 +00:00
Olivier Lamy 2f4e196c20 fix formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196832 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:28:47 +00:00
Olivier Lamy 57669c99f0 add snapshot repository to help the sample project archetype to find SNAPSHOT artifacts.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1195284 13f79535-47bb-0310-9956-ffa450edef68
2011-10-30 23:55:25 +00:00
Olivier Lamy c9b26afa07 add missing license header
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1195283 13f79535-47bb-0310-9956-ffa450edef68
2011-10-30 23:55:11 +00:00
Olivier Lamy 8ae51a6d33 [MRM-1547] release an archetype to create consumer
fix parent version.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1195072 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 23:17:00 +00:00
Olivier Lamy 54f0882529 [MRM-1547] release an archetype to create consumer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1195071 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 23:14:05 +00:00
Olivier Lamy 56791ab4ad [MRM-1430] create test-jar for consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1190206 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 08:42:34 +00:00
Olivier Lamy 334eebc391 [MRM-1544] move to a struts2 theme based on bootstrap css and jquery
start adding new module and directory. the new theme currently do nothin except having xhtml as a parent theme :-)

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1189166 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 12:24:05 +00:00
Olivier Lamy 7f0239d00c fix formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1189165 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 12:23:23 +00:00
Olivier Lamy 97c85abe24 [MRM-1542] missing classifier field in the delete artifact web page
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1188328 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 19:36:20 +00:00
Olivier Lamy 013ee7f312 remove a FIXME as it's fixed and covered by a unit test too RepositoryGroupAdminTest#addAndDeleteGroupWithRemowingManagedRepo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1188327 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 19:35:43 +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 d338930876 if searching with SearchFields with unknown repo ids do not revert to a search on all index.
small changes on previous commit: only if SearchFields has repos set to not break previous behaviour.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1183443 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 17:49:30 +00:00
Olivier Lamy 08d61568b7 if searching with SearchFields with unknown repo ids do not revert to a search on all index.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1183413 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 16:32:45 +00:00
Olivier Lamy cbdaacc012 add a method to retrieve all groupIds available in indexs: more tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1181729 13f79535-47bb-0310-9956-ffa450edef68
2011-10-11 11:46:01 +00:00
Olivier Lamy 3d268094df add a method to retrieve all groupIds available in indexs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1181728 13f79535-47bb-0310-9956-ffa450edef68
2011-10-11 11:45:22 +00:00
Olivier Lamy 659ab05e9f remove self assignemet
use StringBuilder to concate String in a loop.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179997 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 10:56:07 +00:00
Olivier Lamy 649e73136c fix display of search results with pagination
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179993 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 10:41:01 +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 c98687154c fix NPE in ArtifactLocator during scanning
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179990 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 10:39:59 +00:00
Olivier Lamy 2378e1a5a7 fix bean name used for tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179665 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 15:27:49 +00:00
Olivier Lamy d66e72fcd2 fix spring annotations for missing checksum consumer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179635 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 14:13:37 +00:00
Olivier Lamy a6a448659f fix list of consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179624 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 13:43:07 +00:00
Olivier Lamy d2d067a343 add missing spring annotations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179622 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 13:37:14 +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 8892375451 [MRM-1332] remove database scanning configuration and handle upgrade.
make create-archiva-metadata and duplicate-artifacts as default knowContentConsumers

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178955 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 21:15:25 +00:00
Olivier Lamy 46840f3c31 [MRM-1332] remove database scanning configuration and handle upgrade.
ensure some consumers are here and remove db consumers.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178954 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 21:14:27 +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 5c166688a9 prevent overzealous deletion of snapshot versions in the same artifact that may not be part of the currently scanned file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178312 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 07:18:10 +00:00
Brett Porter 28cdacbf13 make sure relevant information is logged with the exception
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178300 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 05:30:52 +00:00
Brett Porter 6b69ca6416 fix tests that check duplicate artifacts are not added to the lists
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178289 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 03:34:40 +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 43b763f95a fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177987 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 14:19:46 +00:00
Brett Porter 7a8e06fa3c fix the version where blockRedeployments was introduced
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177939 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 07:59:12 +00:00
Brett Porter fc6b251359 fix properties to avoid putting test data in JAR
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177935 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 07:10:32 +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 9c40ca597b formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177911 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 04:59:20 +00:00
Brett Porter 03c0f466c7 fix properties to avoid putting test data in JAR and remove derby.log from top
directory


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177908 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 04:53:04 +00:00
Brett Porter 09187669bb avoid derby.log in the current directory and adding incorrect information to
target/classes and the eventual JAR


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177904 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 04:46:20 +00:00
Brett Porter b1e349b85a avoid derby.log in the current directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177903 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 04:40:58 +00:00
Olivier Lamy 05191844ba add some materials to be able to use REST services in a gwt based application
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177666 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 14:00:23 +00:00
Olivier Lamy 0aedd14607 [MRM-1526] configure http connection pool values for wagon http : configure wagon on Archiva start
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177655 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 13:37:30 +00:00
Olivier Lamy e42e26c8e1 [MRM-1526] configure http connection pool values for wagon http.
add basic services.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177654 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 13:36:56 +00:00
Olivier Lamy 1b44321088 [MRM-1527] remove http://download.java.net/maven/2/ from default remote repositories (now sync with central) .
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177595 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 11:09:56 +00:00
Olivier Lamy 3e6842504a add a wagon transfert listener for debugging purpose
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177571 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 09:41:47 +00:00
Olivier Lamy e442d48741 fix url calculation for artifacts found in remote repositoires
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177074 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 21:37:57 +00:00
Olivier Lamy ddb8a0a595 small hack for packaging maven-plugin in artifact url calculation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177073 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 21:37:38 +00:00
Olivier Lamy 6b77912095 move maven url calculation to NexusRepositorySearch rest services will just add baseUrl
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177072 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 21:37:22 +00:00
Olivier Lamy bcf81e82ac rest search service must provide the real url artifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177069 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 21:34:34 +00:00
Olivier Lamy 1e6934261c [MRM-1393] Commons configuration bug causes build to fail on Windows 7
I have changed a unit which IMHO was wrong as didn't take care about managed repo coming from old configuration format: ArchivaConfigurationTest#testConfigurationUpgradeFrom09

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176791 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 09:06:32 +00:00
Olivier Lamy 3c8c0b8554 fix unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176111 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 22:49:15 +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 506abf01c8 [MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results : add a download remote time out field as file are more important and can take more time.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176036 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 20:34:24 +00:00
Olivier Lamy ff06852acd [MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results : setup a default weekly schedule for download remote index
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176035 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 20:33:46 +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 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 fcfd86cf53 [MRM-1519] api to configure webappconfiguration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175919 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:02:23 +00:00
Olivier Lamy e23376ad2a [MRM-1129] web applications are not indexed for java source code : add a unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174827 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 15:16:56 +00:00
Olivier Lamy 67c3409c6e add more OSGI search fields
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171622 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 15:24:54 +00:00
Olivier Lamy 33850774a4 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-configuration module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171539 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 13:18:21 +00:00
Olivier Lamy 3c42d0834e fix test compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171467 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 09:23:31 +00:00
Olivier Lamy 353936a74f [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-model module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171458 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 09:06:08 +00:00
Olivier Lamy 58b11bca24 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-consumer-api module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171453 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 08:54:07 +00:00
Olivier Lamy e41ad31bf9 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-repository-layer module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171447 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 08:41:33 +00:00
Olivier Lamy d5366b9a91 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-policies module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171444 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 08:34:11 +00:00
Olivier Lamy e4e35de0fa [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-proxy module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171440 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 08:21:12 +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 6561a250ed [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-cli module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171413 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 07:32:43 +00:00
Olivier Lamy 259220f867 code formatting : NO CODE CHANGE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171407 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 07:16:06 +00:00
Olivier Lamy de35618128 [MRM-1520] remove duplicate beans : fix for RemoteRepository service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171243 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 19:52:44 +00:00
Olivier Lamy e7a28da297 fix for jdk1.5 build jaxb api is not included
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171206 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 18:17:53 +00:00
Olivier Lamy d59216a4f1 [MRM-1520] remove duplicate beans : model beans jaxrs capable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171204 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 18:16:34 +00:00
Olivier Lamy 44ebf70e2d [MRM-1520] remove duplicate beans : fix for ManagedRepositoryAdmin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171190 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 17:37:35 +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 4579f684aa fix quick search which returns artifacts with classifier too : hackhish solution currently as I can't find a way to say in a Lucene query this field must empty or null
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171151 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 15:45:49 +00:00
Olivier Lamy 979fee6e57 [MRM-1490] REST services : search now returns classifier : fix new services based on this
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171015 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 08:59:28 +00:00
Olivier Lamy 7b51409788 [MRM-1490] REST services add missing fields when creating a managed repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171014 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 08:58:52 +00:00
Olivier Lamy 1aa85c7d7e fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170892 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 23:05:13 +00:00
Olivier Lamy d29c648c8f fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170889 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 23:03: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 ae4ff95a87 more tests on search rest services
prevent copying files for test in archiva-indexer : with scan activated some results were false

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170883 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 22:52:22 +00:00
Olivier Lamy 039b587b7e [MRM-1003] get RID of org.apache.maven package : artifact-converter module : test packages too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170639 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 14:25:24 +00:00
Olivier Lamy 1904684d12 [MRM-1003] get RID of org.apache.maven package : artifact-converter module : fix test compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170633 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 14:04:12 +00:00
Olivier Lamy 63e9988bb5 [MRM-1003] get RID of org.apache.maven package : artifact-converter module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170632 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 14:02:57 +00:00
Olivier Lamy 32eddecfda [MRM-1003] get RID of org.apache.maven package : fix previous : never do such move with an ide !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170626 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 13:54:26 +00:00
Olivier Lamy ae7f816a4f [MRM-1003] get RID of org.apache.maven package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170591 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 13:06:08 +00:00
Olivier Lamy ebac483742 more cleanup of direct use of archiva-configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170352 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 21:10:05 +00:00
Olivier Lamy 0ce164d106 fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170263 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 17:31:51 +00:00
Olivier Lamy 3d29a9d3f4 [MRM-1490] Expose Archiva services trough REST : search service more impl
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170261 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 17:31:27 +00:00
Olivier Lamy cd57d56fe9 remove IndexingContext when deleting a managed repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170259 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 17:30:51 +00:00
Olivier Lamy 0dacf0cb79 not used anymore
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170207 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 15:17:34 +00:00
Olivier Lamy a71e2b06ec get RID of file ~/.m2/archiva.xml created during tests with a new sysprops to use for tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170189 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 14:07:24 +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 b4959a42f5 during ManagedRepository update save only once as it cause some issues on RegistryListener (repo not found at the first save after removing the updated repo)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170130 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 12:02:18 +00:00
Olivier Lamy 1f05224168 [MRM-1490] REST services : organisation configuration methods
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167473 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 07:34:10 +00:00
Olivier Lamy 3c92bc1b40 [MRM-1514] api to configure OrganisationInfo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167472 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 07:33:38 +00:00
Olivier Lamy 2e2934ff94 remove no more use beans : see previous commit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167225 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 14:41:48 +00:00
Olivier Lamy b31467ae8d [MRM-1512] api to configure RepositoryScanningConfiguration : refactor to remove full access to bean with a large tree of nesteed beans. use simple methods to update fields of RepositoryScanningConfiguration.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167224 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 14:41:04 +00:00
Olivier Lamy 97de6d3118 [MRM-1490] REST services : more unit test for LegacyArtifactPath and LegacyArtifactPath
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167223 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 14:40:15 +00:00
Olivier Lamy 8566f7a26c [MRM-1512] api to configure RepositoryScanningConfiguration : more test auditlistener call for consumers modification
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167037 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 08:34:17 +00:00
Olivier Lamy 18d67e6fa8 [MRM-1512] api to configure RepositoryScanningConfiguration : use it in webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167036 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 08:33:55 +00:00
Olivier Lamy ff43de7a65 trigger audit event for file pattern actions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167035 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 08:33:15 +00:00
Olivier Lamy 9a7ab73755 [MRM-1512] api to configure RepositoryScanningConfiguration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167034 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 08:32:59 +00:00
Olivier Lamy 5b7476e8d6 [MRM-1490] REST services : configure legacy paths tru rest services
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166884 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 20:17:04 +00:00
Olivier Lamy 1bb10ee01e [MRM-1511] api to configure LegacyArtifactPath create services
and add some beans for other archiva admin service

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166882 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 20:15:23 +00:00
Olivier Lamy cd10c1cde8 [MRM-1513] Remove DatabaseScanningConfiguration fields
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166734 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 15:13:58 +00:00
Olivier Lamy b3f0fb7937 reoder modules
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166588 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 09:36:24 +00:00
Olivier Lamy 07ae616d7e add @since
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166558 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 08:08:03 +00:00
Olivier Lamy 81b2b9cf7e [MRM-1510] api to configure NetworkProxy
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166556 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 08:05:01 +00:00
Olivier Lamy d9d5b0d710 [MRM-1490] REST services : proxyconnector service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166426 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 21:48:21 +00:00
Olivier Lamy 9acde9b594 MRM-1507 : api to configure ProxyConnector : use it in the webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166392 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 20:35:00 +00:00
Olivier Lamy a2dd1fd1a4 use beanlib for wrappers constructions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166391 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 20:33:48 +00:00
Olivier Lamy 06a1782dcd copy Collection to avoid ConcurrentModificationException
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166163 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 13:15:20 +00:00
Olivier Lamy 2a795aa6bf MRM-1507 : api to configure ProxyConnector : oops missed to add some files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166131 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 11:41:47 +00:00
Olivier Lamy 281092c41a MRM-1507 : api to configure ProxyConnector
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166130 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 11:41:15 +00:00
Olivier Lamy cd252dc729 [MRM-1508] api to managed repository group : use it in webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165847 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:07:07 +00:00
Olivier Lamy 0f4fdab10d implements hashCode/equals for Collections
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165845 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:06:31 +00:00
Olivier Lamy 64bf00a031 [MRM-1508] api to managed repository group
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165844 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:06:11 +00:00
Olivier Lamy 8b54c2ee99 [MRM-1504] new repository admin : more use of new api in webapp : in the repositories index action
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165842 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:05:02 +00:00
Olivier Lamy 9799b541ab formatting : no code changed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165560 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 08:18:43 +00:00
Olivier Lamy ed36598016 get RID of plexus.configuration annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165559 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 08:13:32 +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 15ce0477fe [MRM-1506] api to configure RemoteRepository : implementation of update method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165210 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 08:53:47 +00:00
Olivier Lamy a79716d2eb add missing license header and align name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165205 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 08:32:05 +00:00
Olivier Lamy 4f42feb44f [MRM-1504] Add a new module for repository administration management : move redback configuration and role constants to a new module in archiva-base called archiva-security-common
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165203 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 08:31:35 +00:00
Olivier Lamy 0a1b1d317f [MRM-1506] api to configure RemoteRepository : add auditListener call
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165044 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 14:54:52 +00:00
Olivier Lamy 9b2e294e8c [MRM-1506] api to configure RemoteRepository : move some common methods to a common abstract class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165043 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 14:54:10 +00:00
Olivier Lamy 77eaae1d01 [MRM-1506] api to configure RemoteRepository : implementation of add and delete
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165041 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 14:53:33 +00:00
Olivier Lamy 8269936883 [MRM-1506] api to configure RemoteRepository : start adding unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165040 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 14:53:03 +00:00
Olivier Lamy a782dbfd5b [MRM-1506] api to configure RemoteRepository : extract code from ManagedRepo admin for validation : missed to add a file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164932 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 21:23:31 +00:00
Olivier Lamy 77287dbb1c [MRM-1506] api to configure RemoteRepository : extract code from ManagedRepo admin for validation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164931 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 21:22:56 +00:00
Olivier Lamy 72a5da6643 get RID of org.apache.maven.archiva packages : transaction package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164829 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:27:41 +00:00
Olivier Lamy 021495050a get RID of org.apache.maven.archiva packages : xml package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164824 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:21:42 +00:00
Olivier Lamy c7e5fea75a get RID of org.apache.maven.archiva packages : security package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164822 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:15:36 +00:00
Olivier Lamy 9bd413340e [MRM-1506] api to configure RemoteRepository : implement get methods missed to add impl
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164592 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 15:54:57 +00:00
Olivier Lamy 472c72d85c [MRM-1506] api to configure RemoteRepository : implement get methods
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164590 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 15:54:35 +00:00
Olivier Lamy ac051c8acd [MRM-1506] api to configure RemoteRepository : move common attributes in an AbstractRepository class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164589 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 15:53:58 +00:00
Olivier Lamy d9b6ddeba1 [MRM-1505] api to configure ManagedRepository : use it in webapp instead of directly archiva model
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164558 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 14:53:15 +00:00
Olivier Lamy 3ac3a4133f prevent creating ~/.m2/archiva.xml during unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164397 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 08:30:24 +00:00
Olivier Lamy 75f7fab6d4 [MRM-1509] change xmlrpc to use new repository administration management api
use new api for ManagedRepository

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164392 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 08:18:38 +00:00
Olivier Lamy 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 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 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 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 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