Commit Graph

1749 Commits

Author SHA1 Message Date
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 b351e202b5 add snippet for use it in documentation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179621 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 13:36:49 +00:00
Olivier Lamy 28fce4b89f cleanup spring configuration for unit tests in webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179396 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 19:29:30 +00:00
Olivier Lamy 621a98296f move jcr related classes to store-jcr module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179311 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 16:44:02 +00:00
Olivier Lamy 3ed9b80b38 add @since
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179247 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 14:50:19 +00:00
Olivier Lamy 8de2760aac fix small typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179246 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 14:50:03 +00:00
Olivier Lamy 34d9606346 [MRM-1327] implement alternative or improve repository metadata storage: if no repository.xml found in ${appserver.base}/conf/repository.xml revert to the default found in resources.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179245 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 14:49:22 +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 cf3caad5cc [MRM-1327] implement alternative or improve repository metadata storage: add repository.xml for webapp-test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179147 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 10:25:07 +00:00
Olivier Lamy a60af54fd5 [MRM-1327] implement alternative or improve repository metadata storage: fix spring alias
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179146 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 10:24:42 +00:00
Olivier Lamy eb3adda0b0 [MRM-1327] implement alternative or improve repository metadata storage: no need of this hack to fix unit tests in webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179145 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 10:24: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 c110af17f4 missed to fix add
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178822 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 14:58:08 +00:00
Olivier Lamy 2de2460457 [MRM-1173] Cannot delete patterns with single and double quotes : fix black list too
simplify too  fix for MRM-1135

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178795 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 13:59:23 +00:00
Olivier Lamy ebcabb17a3 [MRM-1173] Cannot delete patterns with single and double quotes.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178794 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 13:58:52 +00:00
Olivier Lamy 3556951234 don't fail with an IOException when artifact to copy not exists, throw a more human readable message :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178739 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 09:31:39 +00:00
Olivier Lamy a30ed7be7f fix code format
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178738 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 09:31:11 +00:00
Olivier Lamy 9675668bcb remove unused private methods
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178734 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 09:11:36 +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
Olivier Lamy 5af0402430 add @since
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178728 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 08:57:16 +00:00
Olivier Lamy 5c4045dd87 [MRM-1526] configure http connection pool values for wagon http: add validation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178726 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 08:56:17 +00:00
Olivier Lamy 345cc14b7c [MRM-1526] configure http connection pool values for wagon http: ui part
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178725 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 08:55:51 +00:00
Olivier Lamy 0d0e89a25b [MRM-1515] see how to reduce dependencies: exclude stax:stax-api
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178425 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 15:12:20 +00:00
Olivier Lamy d9478104fe [MRM-1515] reduce dependencies : struts 1.x not needed :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178359 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 09:45:20 +00:00
Olivier Lamy d9df6e4404 move antrun version to pluginManagement section
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178320 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 07:44:01 +00:00
Olivier Lamy a877490636 add a profile for ci servers to cleanup file ~/.m2/archiva.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178319 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 07:43:20 +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 c57c3b0284 remove old validation and properties that are no longer used
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178292 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 04:17:53 +00:00
Brett Porter 382ff8df7d remove unnecessary template reference
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178291 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 03:37:53 +00:00
Brett Porter fd41049237 remove unused templates
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178290 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 03:36:49 +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 6907587afb fix tests that check cron expression. Do javascript-based validation of an empty value, then server size validation of valid cron expression
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178288 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 02:54:45 +00:00
Brett Porter 242cfa1f9a add a patched version of Struts form template that corrects WW-3688 for URL
validation, and re-enable appearance tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178285 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 01:56:43 +00:00
Brett Porter ea1e15a65d validation for repository group addition
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178047 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 17:25:28 +00:00
Brett Porter adcd341efe missing page calls that are required for order independence
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178039 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 16:16: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
Brett Porter 6fd8ff12c6 correct text for dotnet-library type and re-enable Selenium test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178020 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 15:35:40 +00:00
Brett Porter 027e721634 upgrade TestNG and resolve some issues with test ordering
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178013 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 15:19:31 +00:00
Brett Porter e2ee507bff fix Selenium tests for recent changes. Disable tests that show broken behaviour
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177993 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 14:37:15 +00:00
Olivier Lamy af62171f9f include osgi fields for advanced search action
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177992 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 14:21:34 +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
Olivier Lamy e4e6fd32af add a success message for this ajax call
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177989 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 14:20:21 +00:00
Olivier Lamy 3ead9fbb4a fix parameter for ajax call
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177988 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 14:20:02 +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 68267a0c88 fix location of cargo install
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177971 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 12:19:20 +00:00
Brett Porter 7f7a317c90 make cargo download to a retained location, extract to target
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177953 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 09:13:23 +00:00
Brett Porter bb262c51b7 fix group for browsers that require upload
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177952 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 09:03:04 +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 cf8d566442 avoid creating .archiva directory in src directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177930 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 06:23:32 +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 052750b17a fix properties to avoid putting test data in WAR and remove derby.log from root
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177917 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 05:14:38 +00:00
Brett Porter 38638641f0 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@1177916 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 05:08:15 +00:00
Brett Porter d331e85a8a 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@1177913 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 05:05:16 +00:00
Brett Porter 4573dd8420 avoid derby.log in root
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177912 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 05:00:11 +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 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
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 532824377f avoid derby.log in top directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177906 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 04:49:19 +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
Brett Porter cd104567e6 [MRM-1361] align types to NPanday 1.4.0
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177895 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 03:44:02 +00:00
Olivier Lamy ab8e566d28 display build timestamp and build number in system status page
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177721 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 16:18:33 +00:00
Olivier Lamy c7bd423375 more easy version display using bean properties
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177720 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 16:17:56 +00:00
Olivier Lamy 0ad390f082 fix again creation of file ~/.m2/archiva.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177719 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 16:17:19 +00:00
Olivier Lamy 27526f5262 use wagon in unit test to download the file hope will fix the issue with 1.5
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177683 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 14:49:05 +00:00
Olivier Lamy 3e0caade83 [MRM-1526] configure http connection pool values for wagon http : add REST services
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177675 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 14:21:44 +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 bf865287f3 don't fail on bad zip file to get debug infos
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177659 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 13:39:00 +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 7d285b2179 add some debug to understand why it fails with 1.5 on jenkins
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177622 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 12:25:32 +00:00
Olivier Lamy 0aaf3a2769 [MRM-1527] remove http://download.java.net/maven/2/ from default remote repositories (now sync with central) : missed to fix a unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177596 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 11:10:23 +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 21f14a45f0 add commented logger for wagon debug in main log4j.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177573 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 09:42:51 +00:00
Olivier Lamy 75aa4c3c6c fix logger name for headers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177572 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 09:42:13 +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 3734ce78c8 [MRM-1496] Broken remote repository confuses Archiva
fixed with wagon 2.0 upgrade but add a unit test.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177570 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 09:40:59 +00:00
Olivier Lamy 543785d926 this package not exists anymore
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177568 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 09:39:30 +00:00
Olivier Lamy 42b564bb7d use Base64 from commons-codec
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177567 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 09:38:20 +00:00
Olivier Lamy 5daf80bc20 fix maven 2.2.1 build
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177255 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 10:28:13 +00:00
Olivier Lamy e259d38caf fix double / in url
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177075 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 21:38:13 +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 45ff9153bf add maven property to be able to override archiva url for rest services test for manual testing on an existing archiva instance
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177070 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 21:35:11 +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 18b92bde16 format : no code change
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177068 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 21:33:56 +00:00
Olivier Lamy 3323da7d34 [MRM-1500] Fix sample on how to use ldap in applicationContext.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176805 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 09:58:53 +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 33771ae22c add a lot of missing eol-style native for *.jsp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176611 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 20:44:41 +00:00
Olivier Lamy 3c247ba1f8 add a lot of missing eol-style native
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176606 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 20:40:36 +00:00
Olivier Lamy 9b1ab5d366 trigger download remote index call in async mode
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176386 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 13:56:10 +00:00
Olivier Lamy 3283a043d1 configure appeserver.base value for surefire to avoid files creation in basedir
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176385 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 13:55:51 +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 066197cdd2 add a rest service to schedule a download remote index
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176245 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 07:18:30 +00:00
Olivier Lamy 489d8bfaf0 fix needed authz for download remote index
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176243 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 07:18:07 +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 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 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 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 4fabcacf28 add missing label
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176009 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 19:31:36 +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 b42ae3b997 fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175927 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:05:02 +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 534b2e8363 ensure in tests we are fine with post and returning json type
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175923 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:04:03 +00:00
Olivier Lamy 7be4016505 [MRM-1519] api to configure webappconfiguration : expose it as a rest service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175920 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:03: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
Brett Porter 438026ad5c make test more robust - the executor was previously disabled so it didn't operate and the queue removal was not reliable. Now wait for initial scan to complete, then force a scan.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174596 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 08:42:40 +00:00
Olivier Lamy 1e6b57df30 fix unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174561 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 07:19:43 +00:00
Olivier Lamy ebc6b76dcc format code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174543 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 06:43:19 +00:00
Olivier Lamy b79bd84a0c REST service to copy artifact from one repo to an other one use a field from parent class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174542 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 06:42:51 +00:00
Olivier Lamy 041699f218 fix assertion in unQueueTask !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174541 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 06:42:13 +00:00
Olivier Lamy 38036165f0 better documentation in SNIPPET
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174540 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 06:41:41 +00:00
Olivier Lamy bfbdfc036e use a field from parent class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174538 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 06:41:04 +00:00
Olivier Lamy 078860949f cleanup created test repos after test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174425 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 22:21:24 +00:00
Olivier Lamy 6e960088a2 add snippet for documentation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174424 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 22:21:08 +00:00
Olivier Lamy 45eaefbd9a [MRM-1490] REST services : add a service to copy an artifact from one repo to an other one
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174423 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 22:20:45 +00:00
Olivier Lamy 604d5117e8 fix selenium issues i18n
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174421 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 22:19:00 +00:00
Olivier Lamy 0157bc252d as there is String concat use log.isDebugEnabled
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174420 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 22:18:06 +00:00
Olivier Lamy 98db72a675 fix some selenium tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172595 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 12:41:29 +00:00
Olivier Lamy 39f4b78d4f revert previous as don't work very well....
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172593 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 12:41:07 +00:00
Olivier Lamy 035ed200ac add a hack for selenium issue http://jira.openqa.org/browse/SRC-302
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172592 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 12:40:46 +00:00
Olivier Lamy 22870274ca fix more selenium tests no need to wait server response for client side validation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172554 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 10:10:14 +00:00
Olivier Lamy b2837be655 fix some test : with struts we cannot have both client and server side validation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172553 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 10:09:53 +00:00
Olivier Lamy b296aef2e4 for some tests which are only javascript validation : no need to wait the response: improve tests speed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172552 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 10:09:31 +00:00
Olivier Lamy 4ff75a4b90 start fixing selenium tests, faster tests with no wait when testing javascript form validation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172551 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 10:09:04 +00:00
Olivier Lamy 290e716752 oups fix properties file path
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171631 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 15:43:10 +00:00
Olivier Lamy 13df5c0860 fix snippet
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171624 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 15:29:25 +00:00
Olivier Lamy 4df0e552f9 more search snippet links
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171623 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 15:25:45 +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 1eb278af89 start rest documentation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171591 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 14:33:21 +00:00
Olivier Lamy f44fe02ef2 add some snippet for using it in documentation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171573 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 14:09:12 +00:00
Olivier Lamy 2c6e286e71 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-webapp module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171549 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 13:35:04 +00:00
Olivier Lamy 8a372207dd [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-webapp module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171542 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 13:28:30 +00:00