Commit Graph

851 Commits

Author SHA1 Message Date
Olivier Lamy 0d2eed326e merge repositories rest service: users must have karma for this operation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1389245 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 08:45:49 +00:00
Olivier Lamy 9577b5fc9d upgrade easymock version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1388909 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 22:13:14 +00:00
Olivier Lamy eaa790d728 log4j 2.0-beta1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1388727 13f79535-47bb-0310-9956-ffa450edef68
2012-09-21 23:50:33 +00:00
Olivier Lamy 78087e7d08 add a new field in managed repository to store staging is needed to prevent stage repo remove when updating.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1388251 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 22:51:27 +00:00
Olivier Lamy bf0489bc63 FIXME has been fixed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1388250 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 22:51:08 +00:00
Olivier Lamy 731977e5bd git svn fail to delete empty directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1388242 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 21:59:37 +00:00
Olivier Lamy 2103f2d60f finish unit test for getMergeConflictedArtifacts rest method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1387384 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 22:00:57 +00:00
Olivier Lamy 0221a6181d better slf4j usage
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1387382 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 21:59:20 +00:00
Olivier Lamy 73509cab5c prefer Charset.defaultCharset() over a hardcoded charset
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1385188 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 21:38:31 +00:00
Olivier Lamy 833d272ab4 fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1385187 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 21:37:35 +00:00
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