Commit Graph

1041 Commits

Author SHA1 Message Date
Olivier Lamy aaf625b997 prevent npe
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384832 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 16:03:01 +00:00
skygo 47710933b7 MRM-1515
remove spring-test from war
remove jaxb   (as we are 1.6)

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384727 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 11:25:44 +00:00
Olivier Lamy fa31d5bba5 [MRM-918] Switch for disabling user registration.
implements backend part.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384695 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 09:27:56 +00:00
Olivier Lamy bdb81fef28 [MRM-1668] download artifacts when coming from search results.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384563 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 22:11:00 +00:00
Olivier Lamy 8136dbe4d2 [MRM-1263] creating an m2eclipse compatible index should be an optional component.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384138 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 21:45:27 +00:00
Olivier Lamy 4b2a422d58 [MRM-648] Add description field to the different types of repositories and proxies
configuration and rest service implemented for remote repositories.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384117 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 20:45:25 +00:00
Olivier Lamy 7756665404 test last maven indexer version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384116 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 20:44:51 +00:00
Olivier Lamy 0b904bd4d8 [MRM-648] Add description field to the different types of repositories and proxies
configuration and rest service implemented.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1383621 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 21:30:31 +00:00
Olivier Lamy 1377df4564 [MRM-1660] use log4j2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1382518 13f79535-47bb-0310-9956-ffa450edef68
2012-09-09 15:38:26 +00:00
Olivier Lamy b3f857bd37 [MRM-1660] use log4j 2.x done for testing webapp js
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1382517 13f79535-47bb-0310-9956-ffa450edef68
2012-09-09 15:37:27 +00:00
Olivier Lamy fb741717d1 simplify some log.debug as slf4j now supports varargs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1381934 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 08:32:10 +00:00
skygo 66c0855eab ManagedRepository test fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1381717 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 18:56:32 +00:00
Olivier Lamy 2e95b7d4ba fix mocks compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1381582 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 12:39:14 +00:00
skygo 0af6c7a560 Archiva core consumumer test refresh to junit 4
remove testcase; reorder import;
repositorypurgeconsommerTest fixed for: 
  Unable to add new repository with id [test-repo], that id already exists as a managed repository.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1379835 13f79535-47bb-0310-9956-ffa450edef68
2012-09-01 20:17:32 +00:00
skygo c9167d64b9 Archiva base configuration test refresh to junit 4
remove testcase; reorder import;
dirty context annotation for ArchivvaConfigurationTest

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1379764 13f79535-47bb-0310-9956-ffa450edef68
2012-09-01 14:42:09 +00:00
skygo c4eb816484 continue to make test more jdk7 complient
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1379609 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 21:05:01 +00:00
skygo de6d5108af logs rewritted for performance
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1379485 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 15:49:34 +00:00
skygo dc75eb90ba add repoId to log
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1379434 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 12:55:59 +00:00
Olivier Lamy 6f6609413d fix unit test.
avoid using same registry singleton which is modified by one test.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1377860 13f79535-47bb-0310-9956-ffa450edef68
2012-08-27 21:03:38 +00:00
Olivier Lamy 3e02de3e08 change lucene query to treat user input as scored value and version as exact value
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1376938 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 14:27:05 +00:00
skygo 8c5f6a8c07 isolate a testMethod unable to run solely. alphabetical order in class name is important.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1376884 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 10:27:06 +00:00
skygo d640171861 remove some deprecation in mdo file and antrun target
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1376232 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 20:54:23 +00:00
Olivier Lamy af692bcacd use StringBuilder rather than StringBuffer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370992 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 22:10:11 +00:00
skygo fd6b9b7e93 fix unit paths so you can run unit on path with space
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370597 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 00:00:07 +00:00
Olivier Lamy 3a3f22c39b add FIXME
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370590 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 23:21:14 +00:00
Olivier Lamy 2b224893bc add hack to configure User-Agent to download index from central
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370588 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 23:21:01 +00:00
skygo 7dfd478f18 replace by &20 instead of %20 % not allowed shame
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370577 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 22:33:50 +00:00
skygo 8be9f7b746 attempt to stabilie core consummer tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370562 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 22:06:47 +00:00
Olivier Lamy 0bda5f0465 no more need of jaxb-api we are now 1.6 required
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370410 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 18:12:39 +00:00
skygo 729f7da56e Make unit test able to run on path with space. Warn dev to relocate.
Verify that Validator will fail with a space in reponame.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370368 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 17:04:26 +00:00
Olivier Lamy 70c7f2be25 make archetype test running off line, prune non needed dependencies
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370321 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 15:39:07 +00:00
skygo cec0299444 testPolicyYes rerunnable +@Override in test classes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370044 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 22:17:09 +00:00
skygo 3d4b925a5e Core Consummers module: add @Override for unit test + attempt to fix CleanupReleaseSnapshotRepositoryPurgeTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1369920 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 18:48:38 +00:00
skygo cba18e85b5 make to test method rerunable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1369335 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 14:56:07 +00:00
skygo d51dec36a7 clear warning before some test to be sure of what we test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1369304 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 12:31:45 +00:00
Olivier Lamy 664eea9e41 dependency tree with aether move beans to a separate new module to be able to reuse beans
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1369269 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 06:56:52 +00:00
Olivier Lamy b7eecb18c1 avoid multiple slf4j binding in test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1367184 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 17:27:33 +00:00
Olivier Lamy 67adb61834 use a static final String
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1367108 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 14:39:46 +00:00
Olivier Lamy 3c805f8f2d [MRM-1645] mvn archetype:generate -DarchetypeCatalog (archetype-catalog.xml) failing with Not a valid artifact path.
Submitted by Charles Kim.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1367107 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 14:39:31 +00:00
Olivier Lamy cd03511cc9 fix parent coordinate
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1360209 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 14:42:16 +00:00
Olivier Lamy 94d4a270f9 remove more @version $Id:
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357907 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 20:56:07 +00:00
Olivier Lamy 20d2ba964e remove all @version $Id$
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357898 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 20:49:18 +00:00
Olivier Lamy 33fbec0d0a formatting and we use slf4j for logging
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357563 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 11:44:45 +00:00
Olivier Lamy 2decc24d0e [MRM-1638] Improve unit test for archiva build
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357562 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 11:44:32 +00:00
Olivier Lamy fc80546f5a fix some issues reported by rat check
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356458 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 20:24:41 +00:00
Olivier Lamy c005356570 start fixing rat issues and exclude .git/**
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356224 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 13:45:39 +00:00
Olivier Lamy 65795c5962 [MRM-1638] Improve unit test for archiva build
Submitted by Eric Barboni.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356221 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 13:44:59 +00:00
Olivier Lamy bf52af4760 change package for those test utils
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356101 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 07:49:49 +00:00
Olivier Lamy 6a9b1752e5 use a different artifactId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356096 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 07:40:05 +00:00
Olivier Lamy d1d4f2fb15 move the module to a more usual place
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356094 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 07:38:31 +00:00
Olivier Lamy 1484a3316a [MRM-1638] Improve unit test for archiva build
Based on patch provided by Eric Barboni.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356091 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 07:36:23 +00:00
Olivier Lamy d7026bf9b4 get configuration directly from spring to see if that fix 1.7 issues
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1355332 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 11:56:55 +00:00
Olivier Lamy 1999229d85 follow code format no other changes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1355331 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 11:56:35 +00:00
Olivier Lamy 09f4b9a50e remove non needed cast
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1355330 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 11:56:02 +00:00
Olivier Lamy cbfc4aa789 fix compilation of impls
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1353620 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 15:56:28 +00:00
Olivier Lamy 3d663ca528 consumer archetype use same surefire version as main build
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1350770 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 20:09:01 +00:00
Olivier Lamy 710489fc72 implement service to delete groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1346651 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 23:17:23 +00:00
Olivier Lamy 0af5a819d9 when deleting an artifact md5 and sha1 must be deleted too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1346611 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 21:43:53 +00:00
Olivier Lamy a1230dc9e7 fix test mock compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1346610 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 21:43:29 +00:00
Olivier Lamy ea5ddd0961 improve MetadataRepository api to be able to remove an artifact with MetadataFacet use case deleting a maven artifact with a classifier
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1346609 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 21:42:02 +00:00
Olivier Lamy e87db98689 upgrade hsql version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343713 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 13:28:55 +00:00
Olivier Lamy 823b816f52 take care of metadata files with id as maven-metadata-archiva-vm-all-public.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343415 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 22:52:23 +00:00
Olivier Lamy 8d5fdbb102 [MRM-1629] Add a configuration field for the application url.
add necessary mdo changes.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1342456 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 21:59:40 +00:00
Olivier Lamy 43b13fa7cc [MRM-1628] Silently ignore request to delete artifacts that does not exist on disk anymore
Submitted by Fredrik Jonson.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1334124 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 19:18:59 +00:00
Olivier Lamy 434be19963 restore 1.5 compat
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1330322 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 14:51:59 +00:00
Olivier Lamy 48d4b8ac41 fix osgi metadatas
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1328700 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 15:49:57 +00:00
Olivier Lamy 0d6763054c move expression evaluator to o.a.a package namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1328692 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 15:28:15 +00:00
Olivier Lamy 3baaf0c3bd missed to add the test file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1327886 13f79535-47bb-0310-9956-ffa450edef68
2012-04-19 09:21:00 +00:00
Olivier Lamy 037977e426 [MRM-1625] java.lang.ArrayIndexOutOfBoundsException from parsing maven-metadata.xml
Submitted by charlie kim.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1327885 13f79535-47bb-0310-9956-ffa450edef68
2012-04-19 09:17:44 +00:00
Olivier Lamy 1e79ae0703 artifactId changed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1327882 13f79535-47bb-0310-9956-ffa450edef68
2012-04-19 09:10:13 +00:00
Olivier Lamy eb85c17ac0 oups fix the build
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1327295 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 21:38:49 +00:00
Olivier Lamy 6338fd0cd3 use expression evaluator from apache namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1327288 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 21:23:33 +00:00
Olivier Lamy 944bd484b8 osgi metadatas for taskqueue change
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325980 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 22:10:42 +00:00
Olivier Lamy cc2feeebbe move spring-taskqueue to apache namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325979 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 22:10:16 +00:00
Olivier Lamy 503f8ffd7b use apache namespace for taskqueue component
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325967 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 21:39:10 +00:00
Olivier Lamy f5bd2c92bc osgi metadatas
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325920 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 19:46:08 +00:00
Olivier Lamy 7e545c5e70 move spring-utils to apache namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325919 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 19:45:54 +00:00
Olivier Lamy ae558a62b5 use spring-utils from apache namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325918 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 19:45:22 +00:00
Olivier Lamy 67443bea6e add unit for test purge of -javadoc.zip artifacts
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325558 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 22:26:54 +00:00
Olivier Lamy b84fb12843 [MRM-1623] cleanup mirror not for * can break on envs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325546 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 22:04:53 +00:00
Olivier Lamy 6b2a8396ef use non SNAPSHOT version of compiler plugin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325545 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 22:04:41 +00:00
Olivier Lamy 11f78cf148 osgi will kill me :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325364 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 16:34:08 +00:00
Olivier Lamy 5ba11055fe repackage spring-registry-commons to o.a.a namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325321 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 15:27:10 +00:00
Olivier Lamy 6f7d3ac0a8 fix repackaging of spring-registry to a new package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325313 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 15:09:01 +00:00
Olivier Lamy ac5be1730c use o.a.a package namespace for spring-registry-api component
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325311 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 15:08:39 +00:00
Olivier Lamy a8f8c797ea use local repo as mirror to speed consumer archetype build
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325169 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 09:37:09 +00:00
Olivier Lamy 16c46cae45 osgi fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325168 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 09:36:55 +00:00
Olivier Lamy efb86a8797 fix groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325164 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 09:07:11 +00:00
Olivier Lamy 0f01e6d306 use spring registry from apache archiva namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325049 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 22:31:16 +00:00
Olivier Lamy 870ce2c4d8 use o.a.a package namespace for spring-quartz component
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325047 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 22:26:10 +00:00
Olivier Lamy f255d0216a use spring quartz with asf groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325025 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 21:46:31 +00:00
Olivier Lamy bcac6f1786 fix osgi metadatas
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1324853 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 16:33:51 +00:00
Olivier Lamy eda9cbe9b1 use o.a.a package namespace for spring-cache-ehcache component
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1324641 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 08:46:36 +00:00
Olivier Lamy 45216d20ea spring-cache move to o.a.a namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1324627 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 08:26:27 +00:00
Olivier Lamy 5f1adfe0b6 use spring cache from apache namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1311980 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 20:47:21 +00:00
Olivier Lamy 7bee197d91 remove not anymore used ROLE field
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1311465 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 21:24:47 +00:00
Olivier Lamy 3b5db7631e fix compilation due to package change
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1311429 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 20:39:17 +00:00
Olivier Lamy 178e43f2a0 again osgi grhhh :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1311023 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 15:29:52 +00:00
Olivier Lamy b2c292d5b6 osgi grhhh :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1311006 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 13:54:15 +00:00
Olivier Lamy 73f15c6bc7 move to package o.a.a.r redback module redback-rbac-role-manager
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310912 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 23:12:02 +00:00
Olivier Lamy 59e058b73a move to package o.a.a.r redback module redback-rbac-model
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310900 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 22:35:41 +00:00
Olivier Lamy 22682eeaf8 move to package o.a.a.r
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310784 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 15:06:15 +00:00
Olivier Lamy c6da970457 use archiva snapshot repository rather than codehaus one redback snapshots are now here
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310781 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 14:35:19 +00:00
Olivier Lamy da36c0b96e redback package change to asf namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310765 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 13:19:01 +00:00
Olivier Lamy 5c8ae7ca09 use new redback groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310512 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 17:57:23 +00:00
Olivier Lamy aea9bd1a6e [MRM-709] use SelectorUtils from ant.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1309117 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 19:49:17 +00:00
Olivier Lamy 4d1c49bccb [MRM-709] use SelectorUtils from ant.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1309059 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 17:25:05 +00:00
Olivier Lamy 045c83645b [MRM-709] use SelectorUtils from ant.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1309057 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 17:24:50 +00:00
Olivier Lamy bda662451a [MRM-709] Use commons-io instead of Plexus Utils.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1309029 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 16:39:26 +00:00
Olivier Lamy 59420ec4c4 adding repository with existing location, confirm modal was not closed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308494 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 19:27:38 +00:00
Olivier Lamy 69f3413fcb take of non absolute path when creating a repository index
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308493 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 19:27:14 +00:00
Olivier Lamy 3e8972f42e take of non absolute path when creating a repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308492 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 19:26:58 +00:00
Olivier Lamy 01fd2d285a avoid creating temp directory in repository directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308376 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 15:02:12 +00:00
Olivier Lamy 599a0a8677 use guava to create temp directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308375 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 15:01:28 +00:00
Olivier Lamy a0673a8c91 avoid creating tempdirectory in the repository folder
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308374 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 15:01:00 +00:00
Olivier Lamy f994014554 take care of windows file format and replace for url fetching
see mail thread: http://markmail.org/message/izqupvyvwojdamk3

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1307348 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 10:24:07 +00:00
Olivier Lamy 6c2bf258aa start working on browsing only one repository to avoid merging incomplete metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1301522 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 14:01:33 +00:00
Olivier Lamy 15549c85b0 [MRM-1580] system status page current scanner stats.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299905 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 22:25:13 +00:00
Olivier Lamy 6a46674535 remove deprecated class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299574 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 08:10:38 +00:00
Olivier Lamy 6d61596e3f add missing osgi import
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299492 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 23:58:32 +00:00
Olivier Lamy 4628092b21 make new module archiva-maven2-metadata an osgi bundle
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299491 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 23:58:21 +00:00
Olivier Lamy 2e8c4a5eb3 pom cleanup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299490 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 23:58:11 +00:00
Olivier Lamy cf74f31f83 [MRM-1567] Artifact data incomplete.
move MavenMetadataReader to a new module to avoid cyclic dependency.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299489 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 23:58:01 +00:00
Olivier Lamy 2fbd26375b jaxb annotation is now use here so declare it for 1.5 build
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299261 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 19:46:45 +00:00
Olivier Lamy 86931f78c3 fix osgi imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299260 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 19:39:27 +00:00
Olivier Lamy 33577da0f9 add REST method to really scan repositories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299102 13f79535-47bb-0310-9956-ffa450edef68
2012-03-09 23:44:11 +00:00
Olivier Lamy 4fddb75e9b ensure we remove scannerInstance from the queue in a finally block, minor javascript cleanup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299081 13f79535-47bb-0310-9956-ffa450edef68
2012-03-09 22:35:55 +00:00
Olivier Lamy 09a3de2d63 add validation on adding LegacyPath rest method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1297637 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 18:30:59 +00:00
Olivier Lamy 3332083d45 add search for osgi: Import-Package and Require-Bundle are now searchable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1297102 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 15:52:56 +00:00
Olivier Lamy 378c3365aa display artifacts number found in the search result
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295939 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 22:12:35 +00:00
Olivier Lamy 9b37010349 [MRM-1610] Use Jackson as jaxrs provider for cxf for performance reasons.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295496 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 10:28:16 +00:00
Olivier Lamy 547e68a6e8 fix selenium test due to i18n change
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295238 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 19:46:04 +00:00
Olivier Lamy 4dcb5d3ebb format code.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295170 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 16:03:29 +00:00
Olivier Lamy c15da51c91 fix an other test failure on windauze
Submitted by Eric Barboni .

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295169 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 16:03:16 +00:00
Olivier Lamy a7c8ca1c34 code formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295118 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 14:12:19 +00:00
Olivier Lamy ddca454de9 [MRM-1609] MetadataToolsTest fail in testGatherSnapshotVersionsA
Submitted by Eric Barboni.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295115 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 14:05:26 +00:00
Olivier Lamy ec49aa3e4b fix compilation issues
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293769 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 08:08:13 +00:00
Olivier Lamy 11c6bd906c fix wagon 2.2 upgrade
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245592 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 15:03:30 +00:00
Olivier Lamy 63964ffef4 [MRM-1606] Upgrade to wagon 2.2.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245404 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 11:36:20 +00:00
Olivier Lamy e56582fb8f [MRM-1576] rewrite proxies connector page
fix update of properties.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1242863 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 17:24:11 +00:00
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