Commit Graph

513 Commits

Author SHA1 Message Date
Olivier Lamy e807e6d869 add unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447168 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 09:30:00 +00:00
Olivier Lamy 8364c17d3a service to provide available rbacmanager implementations informations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447164 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 09:28:48 +00:00
Olivier Lamy 0e4862b241 fix groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1441809 13f79535-47bb-0310-9956-ffa450edef68
2013-02-02 20:50:31 +00:00
Olivier Lamy 9a014b52dc use our own RBACManager to be able to configure dynamically real impls used
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1433553 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 17:55:53 +00:00
Olivier Lamy 36563f58bd fix bean naming
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427883 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 18:04:59 +00:00
Olivier Lamy 9682660dbc review/comment/delete some FIXME
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1424533 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 15:34:51 +00:00
Olivier Lamy e92fede155 fix all RepositoryManager implementations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1423879 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 15:21:20 +00:00
Olivier Lamy 409477099c fix some unit tests due to the missing alias
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1417979 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 16:24:33 +00:00
Olivier Lamy 2c54daefca log4j2 beta3
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1409702 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 09:14:49 +00:00
Olivier Lamy 5d09d46ec5 fix consumer archetype
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403540 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 21:35:22 +00:00
Olivier Lamy 629cbec13c add missing dependencies
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403526 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 21:06:50 +00:00
Olivier Lamy 4fce77869d add missing dependencies
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403525 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 21:06:40 +00:00
Olivier Lamy ea5f11bc6c add missing dependencies
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403521 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 21:05:01 +00:00
Olivier Lamy 632257925a [MRM-1704] Refactor to remove maven specific part from various repository/metadata apis
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403489 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 20:41:00 +00:00
Olivier Lamy 1f0f3766f3 use a better naming convention
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1401299 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 14:03:06 +00:00
Olivier Lamy ef66c2d19f use a new bean rather than a lot of params to ease futur enhancements
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1401289 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 13:29:21 +00:00
Olivier Lamy f1d408f40e fix mocks compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1400903 13f79535-47bb-0310-9956-ffa450edef68
2012-10-22 14:50:49 +00:00
Olivier Lamy 3576d93130 fix osgi metadatas grhhhhhh
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1400379 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 07:20:41 +00:00
Olivier Lamy 8a6a292a68 add null check as mock can return null
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1400336 13f79535-47bb-0310-9956-ffa450edef68
2012-10-19 23:16:50 +00:00
Olivier Lamy daeb71afc0 remove ugly printStacktrace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1400325 13f79535-47bb-0310-9956-ffa450edef68
2012-10-19 22:51:03 +00:00
Olivier Lamy 4b5be0143c [MRM-1701] metadatas are not removed when a snapshot is purged.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1400323 13f79535-47bb-0310-9956-ffa450edef68
2012-10-19 22:47:19 +00:00
Olivier Lamy 0b41e0e326 pass a selector here to avoid all dom trasversal
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1400297 13f79535-47bb-0310-9956-ffa450edef68
2012-10-19 21:13:37 +00:00
Olivier Lamy e7bc35db81 add unit test for new method in MetadataRepository and fix compilation for some impls/mocks
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1397345 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 22:43:15 +00:00
Olivier Lamy d856df8196 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1393506 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 14:23:47 +00:00
Olivier Lamy ca17b63c3e [maven-release-plugin] prepare release archiva-1.4-M3
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1393504 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 14:23:19 +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 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 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 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 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
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
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 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 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
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
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 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 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 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
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 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 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 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 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 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 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 2378e1a5a7 fix bean name used for tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179665 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 15:27:49 +00:00
Olivier Lamy d66e72fcd2 fix spring annotations for missing checksum consumer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179635 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 14:13:37 +00:00
Olivier Lamy a6a448659f fix list of consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179624 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 13:43:07 +00:00
Olivier Lamy d2d067a343 add missing spring annotations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179622 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 13:37:14 +00:00
Olivier Lamy 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
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 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 fc6b251359 fix properties to avoid putting test data in JAR
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177935 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 07:10:32 +00:00
Brett Porter 0fa1fa6ac2 change configuration base to org.apache.archiva instead of org.apache.maven.archiva, update "upgrading" document accordingly
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177933 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 06:56:48 +00:00
Brett Porter 77e42c692f make RAT report pass
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177919 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 05:17:00 +00:00
Brett Porter 9c40ca597b formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177911 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 04:59:20 +00:00
Brett Porter 03c0f466c7 fix properties to avoid putting test data in JAR and remove derby.log from top
directory


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177908 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 04:53:04 +00:00
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 33850774a4 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-configuration module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171539 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 13:18:21 +00:00
Olivier Lamy 353936a74f [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-model module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171458 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 09:06:08 +00:00
Olivier Lamy 58b11bca24 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-consumer-api module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171453 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 08:54:07 +00:00
Olivier Lamy e41ad31bf9 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-repository-layer module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171447 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 08:41:33 +00:00
Olivier Lamy 7a01a324d6 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-common module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171418 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 07:42:25 +00:00
Olivier Lamy c8ef0abdec [MRM-1520] remove duplicate beans : move model beans to a single package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171188 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 17:36:22 +00:00
Olivier Lamy a71e2b06ec get RID of file ~/.m2/archiva.xml created during tests with a new sysprops to use for tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170189 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 14:07:24 +00:00
Olivier Lamy 919a5ac3eb [MRM-1504] Add a new module for repository administration management
split the repo admin in two modules : api and default implementation (to be able to more easily change the impl).
Use the repo admin api consumers and indexing modules.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170135 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 12:12:39 +00:00
Olivier Lamy 9799b541ab formatting : no code changed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165560 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 08:18:43 +00:00
Olivier Lamy ed36598016 get RID of plexus.configuration annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165559 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 08:13:32 +00:00
Olivier Lamy ac4dbb87e1 get RID of plexus.requirement annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165558 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 08:11:21 +00:00
Olivier Lamy f0c6ee5a71 get RID of plexus.component annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165527 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 07:26:05 +00:00
Olivier Lamy 0fdb6a722c align/magnify names :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164172 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 17:09:08 +00:00
Brett Porter 3445922612 update licenses and send in RAT
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161440 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 08:42:50 +00:00
Olivier Lamy 30ebe43f59 simplify inject of bean list
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160293 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 15:11:34 +00:00
Olivier Lamy dc319ae9f9 when adding a new file tru the lucene consummer no need to scan the full repo : so using the new flag introduced in previous commit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159078 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 08:20:27 +00:00
Olivier Lamy 9357da09d3 upgrade to last versions of quartz and ehcache
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158469 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 23:03:30 +00:00
Olivier Lamy fb8ff53c01 doh ensure we scan repository to index datas for the first scan, ensure we are not searching on all index
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158468 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 23:03:05 +00:00
Olivier Lamy 70bd4e3ede fix compilation issues :my bad !!
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158332 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 15:50:54 +00:00
Olivier Lamy b39ba2f6c5 add an other hack when using tomcat maven plugin and issue with TCCL not URLClassLoader with sisu
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158273 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 13:51:25 +00:00
Olivier Lamy c7607a63e5 a little hackhish but fix use with tomcat maven plugin, sisu need a URLClassLoader as TCL to be able to use lookupList
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158272 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 13:50:45 +00:00
Olivier Lamy 1776b31a4b cleanup creation of IndexCreator with using the container rather than using default constructors
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158035 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 22:17:08 +00:00
Olivier Lamy 23d74d0956 only pass tru NexusIndexer to create IndexingContext, this entry point take care of lucene locks : still some changes to do in junit to prevent lock
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140035 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 07:45:16 +00:00
Olivier Lamy e9e681546a [MRM-1345] update use of Nexus indexer to use Maven indexer, fix archiva-lucene-consumers compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1139944 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 20:55:31 +00:00
Olivier Lamy a20d601f8e [MRM-1345] update use of Nexus indexer to use Maven indexer
remove the per-lookup component
refactor test to use only NexusIndexer facade

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1139940 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 20:54:21 +00:00
Olivier Lamy 1666960349 debug optim
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138209 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 22:13:17 +00:00
Olivier Lamy 8098934b2f no more need of plexus-component-metadata plugin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134589 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:21:52 +00:00
Olivier Lamy 3529204995 cannot use @Inject for old plexus components'
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134352 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 15:38:52 +00:00
Olivier Lamy 797e4a403b no more used plexus test configuration files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133471 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 17:21:21 +00:00
Olivier Lamy 0cc1e8563e remove of plexus-spring : fix more tests and lucene consumers module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130245 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 17:49:01 +00:00
Olivier Lamy aaebb5d534 optimize use of debug
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130091 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 10:38:27 +00:00
Olivier Lamy 6fad90714a help windauze to not fail on file creation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129237 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 16:07:59 +00:00
Olivier Lamy 61f2c22c0d fix more tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129231 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 15:54:42 +00:00
Olivier Lamy 073aad6bf8 fix some tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129226 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 15:46:55 +00:00
Olivier Lamy 7e78123c09 fix unit tests with adding some names for injected beans
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129122 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 10:54:47 +00:00
Olivier Lamy 188f5fbd05 miss to add @PostConstruct annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129116 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 10:24:51 +00:00
Olivier Lamy 10ec1d90ee missed to add files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129115 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 10:21:57 +00:00
Olivier Lamy 4abee3dd55 [MRM-1473] remove use of plexus-spring
start working on archiva-core-consumers


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129114 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 10:20:18 +00:00
Olivier Lamy 81656ad269 missing license header
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128957 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 21:20:02 +00:00
Olivier Lamy 5b69ca4fd3 remove use of plexus api (Initializable phase)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128918 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 18:00:17 +00:00
Olivier Lamy 1788eb54c4 [MRM-1473] remove use of plexus-spring
remove all dependencies to plexus-container
use of sisu-inject-plexus (version 2.2.2 with ASL license) for components using maven api components.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128075 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:52:13 +00:00
Olivier Lamy 971dcc2f35 [MRM-1473] remove use of plexus-spring
move archiva-repository-layer to full spring



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127555 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:31:30 +00:00
Olivier Lamy b0a37ac386 move archiva-dependency-tree-consumer to sandbox
see thread http://mail-archives.apache.org/mod_mbox/archiva-dev/201105.mbox/%3CBANLkTim_wR6nGMCae=TH1tFhNKGf0c1Zgw@mail.gmail.com%3E



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127071 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 14:19:24 +00:00
Olivier Lamy e10c8a7635 move archiva-dependency-tree-consumer to sandbox
see thread here http://mail-archives.apache.org/mod_mbox/archiva-dev/201105.mbox/%3CBANLkTim_wR6nGMCae=TH1tFhNKGf0c1Zgw@mail.gmail.com%3E



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127070 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 14:17:56 +00:00
Olivier Lamy eead981577 fix archiva-dependency-tree-consumer build : moving this full spring will need some more jobs as it depends on some maven/plexus api (so at least make it not fail
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1126533 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 15:12:10 +00:00
Olivier Lamy c96411890a [MRM-1473] remove use of plexus-spring
start some changes on archiva-configuration and archiva-security

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125142 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 22:20:55 +00:00
Olivier Lamy b781d2f5f7 update plexus-spring groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1103898 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 21:26:24 +00:00
Brett Porter 86ed5afc5c [MRM-1111] upgrade to Struts 2.1.8.1
Applied patch and made some additional modifications
Submitted by: Julien Henry, Gwen Harold Autencio

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091398 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 13:23:24 +00:00
Brett Porter 53c1188710 [MRM-1330] correct bug - ensure parsed model from storage gets added to content repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053567 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 08:15:02 +00:00
Brett Porter f56609efad [MRM-1330] refactor access around the concept of a "repository session". See Javadoc for some notes. This should be a single entry point for application users of either the metadata repository, resolution, or storage access. The session needs to be explicitly closed (and modifications saved) to facilitate some storage mechanisms.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053542 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 06:14:04 +00:00
Brett Porter 34638d4e67 clean up the "TODO" list, and mark those that are more important as "FIXME"
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051810 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 10:20:14 +00:00
Brett Porter c63e2a3f77 [MRM-1327] refactor the repository API to make each concern clearer. Storage, resolver and metadata repository are separate interfaces. Rename methods on the resolver and the storage to be clearer of their intent
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051788 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 08:31:56 +00:00
Brett Porter badcc9e925 [MRM-1327] add exception handling to the metadata repository implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051732 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 01:53:10 +00:00
Brett Porter 70537eb036 [MRM-1421] Archiva repository purge incorrectly purges based on file timestamps even when the snapshot timestamp is known
Merged from: r1049391:1049399

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049407 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 03:39:46 +00:00
Brett Porter f475ae1d1b test case improvements
Merged from: r1049384-1049390

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049406 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 03:30:38 +00:00
Brett Porter 3c7670142f [MRM-1396] Purge task problem : Not enough parts to the path
Merged from: r1049375


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049382 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 01:50:28 +00:00
Brett Porter 0167efe972 [MRM-1433] remove @Override are on interface methods which is only possible in java 6 for Java 5 compatibility
Submitted by: Jim Sellers


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1039998 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 00:52:27 +00:00
Maria Odea B. Ching bc56d6353c [MRM-1097]
o upgrade nexus indexer to 3.0.1 + added logger bean which is needed by NexusIndexer
o for deployments/proxied artifacts, create and close indexing context when indexing task is executed as compared to the original behavior where the indexing context is created 
before it is queued (so as the indexing task queue builds up, more indexing contexts are being opened/created which might be causing the too many open files problem) 
o updated unit tests with changes made


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1039004 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 11:20:47 +00:00
Brett Porter 8f1414a1dc [MRM-1387] switch to official javax.inject library that is in the central repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@953607 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 08:35:06 +00:00
Brett Porter 3387b53fca remove dependency on repository-layer from audit module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921799 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 11:05:46 +00:00
Brett Porter d6c33feff1 [MRM-1282] remove use of repository layer in favour of storage API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921423 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 16:15:21 +00:00
Brett Porter 17348a45ce [MRM-1282] remove duplicated artifact population, ensuring the metadata consumer now sets facets correctly too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921376 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 14:55:59 +00:00
Brett Porter cd9c1097d1 [MRM-1282] start to implement maven metadata for artifacts, splitting from existing sources
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920722 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 08:00:25 +00:00
Brett Porter af2a929978 [MNG-1301] remove the problem reports dependency on the repository layer, start to migrate path parsing into metadata API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920649 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 04:24:32 +00:00
Brett Porter 606c82cbca merged recent changes from trunk, and reimplemented incoming audit log functionality as a plugin using the metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900664 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 06:15:09 +00:00
Brett Porter fb9ad3f771 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@898618 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 02:07:00 +00:00
Brett Porter d3fede7d5d [maven-release-plugin] prepare release archiva-1.3
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@898616 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 02:05:50 +00:00
Brett Porter 1f1252456a [MRM-1283] keep track of incomplete metadata so that it can self correct and show a meaningful message to the user
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893691 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 04:02:11 +00:00
Brett Porter 79de06cf3e [MRM-1283] propagate errors occurring during resolution
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893686 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 02:40:57 +00:00
Brett Porter 0f2abe9bda [MRM-1282] clarify warning
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893372 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 01:18:16 +00:00
Brett Porter 4ad4cd3ced [MRM-1282] only create version metadata if necessary
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893368 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 01:01:32 +00:00
Brett Porter 23d65a33f6 [MRM-1025] remove JPOX from the model and remove the Archiva database configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891133 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 06:44:32 +00:00
Brett Porter 966d79546d [MRM-1025] remove artifact deletion and update consumer. remove archiva-database module
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891130 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 06:18:33 +00:00
Brett Porter 9bbb1dc8ce [MRM-1301] make warning message clearer
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891115 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 03:50:01 +00:00
Brett Porter 0960c24cfb [MRM-1301] add back summary statistics for various counts
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891102 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 02:25:42 +00:00
Brett Porter 0f4bec3049 [MRM-1301] add back problem reporting for invalid / missing POM
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891084 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 00:38:50 +00:00
Brett Porter 4331620db6 [MRM-1301] migrate reports to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891064 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 23:07:36 +00:00
Brett Porter fea2f766b3 put back artifact reports, missed a use
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@889249 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 13:05:04 +00:00
Brett Porter 3c590e4a5c Merged /archiva/trunk:r888397-889227
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889240 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 12:44:58 +00:00
Brett Porter e3f7c9572d move reporting dependency to the correct location
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@889220 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 12:03:03 +00:00
Brett Porter a3a67162c5 [MRM-1282] make the creation consumer read from storage so we get consistent metadata creation
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889061 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 02:29:30 +00:00
Brett Porter 99765460e0 [MRM-1299] migrate RSS from the database to the metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888723 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 08:08:21 +00:00
Brett Porter 830fa7a4a3 [MRM-1025] remove unused dependencies
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888675 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 02:07:46 +00:00
Brett Porter 49157f1525 [MRM-1025] fill out more of the information in the metadata creation consumer to make it consistent with the current database record creation consumer
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886126 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 11:54:28 +00:00
Brett Porter 209df33fed [MRM-1025] remove model fields that are not used for clarity
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886101 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 10:23:42 +00:00
Brett Porter 7a63bee6de [MRM-1025] remove project model as this is all now in the metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886037 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 02:33:02 +00:00
Brett Porter cb96e18f97 [MRM-1025] change duplicate artifact reporting to be a repository scanned consumer to facilitate removing the database unprocessed consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886035 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 02:21:05 +00:00
Brett Porter b6cf0bf5fa [MRM-1025] correct bean definition to match recent API changes
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884124 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 14:53:39 +00:00
Brett Porter 46fa883487 [MRM-1282] clear up confusing "build" terminology, instead using project version (1.0-SNAPSHOT) and artifact version (1.0-20091112.0123456-1)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883965 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 03:11:22 +00:00
Brett Porter 627ad47211 [MRM-1283] start to migrate browse functionality to use the content repository. At present, this does everything except the just-in-time processing of models that haven't been stored yet
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883603 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 06:26:04 +00:00
Brett Porter 05d2784124 [MRM-1282] load content only from a single node at a time
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882532 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 12:14:04 +00:00
Brett Porter caaee4251e [MRM-1281] remove unused database consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@882363 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 23:39:09 +00:00
Brett Porter 4102a4a916 [MRM-1025] split the scheduler into modules to isolate database and indexer dependent code
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882207 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 17:16:20 +00:00
Brett Porter 601939b9e9 Merged /archiva/trunk:r825850-882054
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882055 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 06:20:43 +00:00
Brett Porter fcd88ac350 analyze POM
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882054 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 06:02:35 +00:00
Brett Porter fe034d4f99 [MRM-1281] remove unused consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882046 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 04:35:09 +00:00
Brett Porter ad41c470cc clean up some notes, plans and formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882027 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 01:55:27 +00:00
Maria Odea B. Ching 0b6a098ec3 [MRM-1275] Include other file types for the index consumer instead of just the indexable-content
o add artifacts file types so it gets processed by the consumer
o added unit test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834426 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 11:04:15 +00:00
Brett Porter 2a5d5cea40 [MRM-1025] note about hard coding
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@825920 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 14:53:57 +00:00
Brett Porter e89326d687 [MRM-1025] merge -r721944:723577 from former MRM-1025 branch, now aligned to trunk
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@825867 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 12:35:38 +00:00
Brett Porter fa096dfcdb [MRM-1264] don't close the indexing context - that is done by the finish task that was added. Since they are queued, it was being closed too early.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825468 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 11:37:09 +00:00
Brett Porter 9325a5a1c6 [MNG-1264] make it clearer if the index gets into a bad state
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825415 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 07:22:29 +00:00
Brett Porter e5c3dc20fb [MRM-1259] only index content that is listed in indexable-content configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825382 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 03:41:57 +00:00
Brett Porter c30389bfe8 [MRM-1264] Only create the DefaultIndexingContext once for a scan to reduce the amount of garbage collection. Also move optimization to end of scan to increase performance.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825163 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 15:15:43 +00:00
Brett Porter 0cf3f93e5a [MRM-1264] reduce memory used by indexing process
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825082 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 10:27:48 +00:00
Brett Porter c61e55fd4f [MRM-1262] move the index packing job to the end of a scan
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825012 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 05:41:45 +00:00
Brett Porter eb9383c0a4 some POM clean up
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@822640 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 10:12:41 +00:00
Maria Odea B. Ching 6ad5da6f8d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@808338 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 09:34:26 +00:00
Maria Odea B. Ching 924e33b562 [maven-release-plugin] prepare release archiva-1.2.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@808336 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 09:30:51 +00:00
Maria Odea B. Ching 81aa36aa09 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@807091 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 06:14:31 +00:00
Maria Odea B. Ching 03aae7ee6a [maven-release-plugin] prepare release archiva-1.2.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@807087 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 06:12:10 +00:00
Maria Odea B. Ching a4bd8b9c5a [MRM-1212]
o move fixing of incorrect checksums to ArtifactMissingChecksumConsumer
o added tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798059 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 07:34:40 +00:00
Maria Odea B. Ching 3fea67fafd [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778166 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 14:50:05 +00:00
Maria Odea B. Ching 2d00ba7504 [maven-release-plugin] prepare release archiva-1.2.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778164 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 14:46:45 +00:00
Maria Odea B. Ching 4f50f5722e revert to 1.2.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778156 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 14:17:53 +00:00
Maria Odea B. Ching f2a299be93 [maven-release-plugin] prepare release archiva-1.2.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778151 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 13:58:14 +00:00
Maria Odea B. Ching b704d37229 oops, forgot to remove debug logs..
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778121 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 11:04:35 +00:00
Maria Odea B. Ching af0109d90f [MRM-1157] and [MRM-1176] (also related to MRM-836)
o added new column for Organization, IssueManagement, CiManagement and Individual tables to hold the actual values


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778118 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 10:58:49 +00:00
Maria Odea B. Ching fa24587f89 [MRM-1188]
o put all indexing tasks (add, update and remove) into one queue; tasks added by NexusIndexerConsumer and LuceneCleanupRemoveIndexedConsumers
o all index updates are performed by ArchivaIndexingTaskExecutor
o added and updated tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778093 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 06:11:19 +00:00
Maria Odea B. Ching 02a22f45a5 [MRM-1161], [MRM-1179], [MRM-1143] and [MRM-1160]
o upgraded nexus indexer to 2.0.0
o queue all indexing tasks to avoid interrupting a current indexing task being executed
o cleaned up nexus indexer and index cleanup consumers


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@777816 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 07:28:12 +00:00
Maria Odea B. Ching 8dc8cd536a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@757124 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 03:19:24 +00:00