Commit Graph

547 Commits

Author SHA1 Message Date
Olivier Lamy d7f7a0d9a3 next version will be 1.4.0
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1488666 13f79535-47bb-0310-9956-ffa450edef68
2013-06-02 11:25:25 +00:00
Olivier Lamy 233a2d78e4 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1486549 13f79535-47bb-0310-9956-ffa450edef68
2013-05-27 09:29:30 +00:00
Olivier Lamy d6d41d28f0 [maven-release-plugin] prepare release archiva-1.4-M4
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1486547 13f79535-47bb-0310-9956-ffa450edef68
2013-05-27 09:28:55 +00:00
Olivier Lamy cfaf9559dd use generics
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1484362 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 22:28:52 +00:00
Olivier Lamy 71dded1757 add a FIXME comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1484361 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 22:26:08 +00:00
Olivier Lamy d287c744b4 use inject plexus from eclipse
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1475752 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 13:19:19 +00:00
Olivier Lamy df1ec808de not used field and try to revert to timestamped snapshot version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1475729 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 12:45:13 +00:00
Olivier Lamy 3c082f7e58 add some FIXME but not for this release :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1471376 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 12:00:12 +00:00
Olivier Lamy cadd272aa0 log4j2 2.0-beta5
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1471362 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 10:41:53 +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 7fd8be3fcf move this class to a static inner class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427131 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 14:15:25 +00:00
Olivier Lamy ee548d9fb5 use indexOf(char)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427127 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 14:14:24 +00:00
Olivier Lamy 7afb00d1c8 non necessary local variable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427126 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 14:13:56 +00:00
Olivier Lamy c81c17b153 mark internal class as final
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427058 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 09:29:03 +00:00
Olivier Lamy 5fd9dbe55f preserve stack trace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427057 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 09:28:40 +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 58afcb1114 [MRM-1729] add MetadataRepository#hasMetadataFacet to prevent slow startup time.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1423878 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 15:19:53 +00:00
Olivier Lamy d2771c310a fix osgi import
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1423876 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 15:18:51 +00:00
Olivier Lamy 48e5cac673 fix osgi import
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1423875 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 15:18:41 +00:00
Olivier Lamy 0c55117416 add some StopWatch to get time on what happened here
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1423874 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 15:18:31 +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 27c8f4047c move ntlm wagon trick in wagonFactory to avoid duplicate code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1404367 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 21:40:38 +00:00
Olivier Lamy ebaed8593c add spring aliases to prevent hackish code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403724 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 14:46:23 +00:00
Olivier Lamy 4e69773c41 remove code which has been migrated to an other module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403573 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 23:12:08 +00:00
Olivier Lamy c305863e6d fix osgi metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403517 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 21:04:18 +00:00
Olivier Lamy fc62d8ab01 fix rat configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403516 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 21:04:07 +00:00
Olivier Lamy c8cd149ab8 [MRM-1704] Refactor to remove maven specific part from various repository/metadata apis
maven2 repository all unit tests fixed.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403515 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 21:03:56 +00:00
Olivier Lamy ddc4d3bc90 more unit tests fixes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403514 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 21:03:40 +00:00
Olivier Lamy c64ec5513d more unit tests fixes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403513 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 21:03:13 +00:00
Olivier Lamy 702ce17bf8 add missing data for unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403512 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 21:02:54 +00:00
Olivier Lamy 00ee48b77b [MRM-1704] Refactor to remove maven specific part from various repository/metadata apis
fix some unit tests due to some move spring conf for test need to be adapted.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403511 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 21:02:19 +00:00
Olivier Lamy 7e8b82411a fix unit test and spring declaration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403510 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 21:01:29 +00:00
Olivier Lamy 6f95f668fc [MRM-1704] Refactor to remove maven specific part from various repository/metadata apis
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403507 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 21:00:51 +00:00
Olivier Lamy 9074bfb0f4 [MRM-1704] Refactor to remove maven specific part from various repository/metadata apis
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403504 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 20:58:54 +00:00
Olivier Lamy dcc622b870 [MRM-1704] Refactor to remove maven specific part from various repository/metadata apis
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403503 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 20:58:04 +00:00
Olivier Lamy a586d56df2 [MRM-1704] Refactor to remove maven specific part from various repository/metadata apis
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403491 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 20:42:12 +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 037754de67 align names
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1402890 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 21:37:28 +00:00
Olivier Lamy 8146f7ea37 fix unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1402054 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 09:43:27 +00:00
Olivier Lamy 5f42d3dcac [MRM-1705] Feature to add custom parameters and/or headers when requesting an external repositories.
add parameters.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1401896 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 21:33:16 +00:00
Olivier Lamy a51724b013 [MRM-1705] Feature to add custom parameters and/or headers when requesting an external repositories.
correctly use headers.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1401889 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 21:14:46 +00:00
Olivier Lamy 4ba8af2e0e transform this interface to use a bean request will ease future enhancements
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1401843 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 19:50:16 +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 1d46b329d2 use a better naming convention
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1401298 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 14:02:33 +00:00
Olivier Lamy 01b9012562 fix unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1401291 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 13:29:56 +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 ede0480333 [MRM-1703] Cannot delete project add unit test for metadata repository.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1400904 13f79535-47bb-0310-9956-ffa450edef68
2012-10-22 14:51:12 +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 0af1bd62e7 [MRM-1703] Cannot delete project with the ui.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1400901 13f79535-47bb-0310-9956-ffa450edef68
2012-10-22 14:49:23 +00:00
Olivier Lamy ac5d5d5f47 simplify debug code using vargars
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1398206 13f79535-47bb-0310-9956-ffa450edef68
2012-10-15 07:45:34 +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 092a635e39 do some cleanup if metadatarepository still contains versions when deleting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1397342 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 22:42:00 +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 a8c549a9bb [MRM-1681] addProxy Connectors Rules screen
implements backend part.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1392951 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 15:12:16 +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 30e499e3e8 test maven metadata and poms are copied too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1388177 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 19:43:19 +00:00
Olivier Lamy af2f301fb4 fix unit in fact fix issue :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1388176 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 19:43:05 +00:00
Olivier Lamy d1d92da751 implement merge method in merge repositories service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1387390 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 22:03:12 +00:00
Olivier Lamy 5a3bf2a3af use a better exception mechanism for that
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1387387 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 22:02:33 +00:00
skygo 0495fe9bc6 split path using Pattern.quote to be windoz friendly
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1383613 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 21:12:32 +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
skygo 57b6bb091a dirtie context for unit tests Problem Reporting Plugin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1382328 13f79535-47bb-0310-9956-ffa450edef68
2012-09-08 16:46:12 +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
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
Olivier Lamy 3fc9e37424 implement removeNamespace for FileMetadataRepository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1381578 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 12:37:57 +00:00
Olivier Lamy 911dd05b23 add a method to remove namespace(groupId) in MetadataRepository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1381575 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 12:37:14 +00:00
skygo 23a775efab my bad: add missing test resources for repo group test in maven 2 repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1379750 13f79535-47bb-0310-9956-ffa450edef68
2012-09-01 12:24:41 +00:00
skygo fcc715e89f M2.x repo support
logs rewritted for performance
 add test for more complex archiva configuration
 remove previous check in RepositoryModelResolver (misunderstanding of class role)

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1379598 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 20:41:42 +00:00
Olivier Lamy 66820f094a documentation for skygo :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1379188 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 22:17:16 +00:00
skygo ba0ab8c021 further fix to MRM1658
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1379186 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 22:09:52 +00:00
skygo 3cfe6755e0 try to respect managed repo configuration before any download. (partial MRM1658)
seek for a non S version on a managed repo configured as R and no S => fail
seek for a non R version on a managed repo configured as S and no R => fail
rewrite tests make MRM1411 on a separate class



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1378759 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 22:27:14 +00:00
Olivier Lamy 91bf593654 use dependency plugin 2.5.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1375423 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 08:05:22 +00:00
Olivier Lamy 1d46686015 dependency plugin 2.4 see MDEP-365
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370034 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 21:51:05 +00:00
Olivier Lamy 2d64002185 remove dependency on maven tree component
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1369472 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 21:28:22 +00:00
Olivier Lamy f507ef2481 use dependency tree with aether for old webapp too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1369471 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 21:27:44 +00:00
Olivier Lamy 6ac4a1ae12 fix osgi metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1369270 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 06:57:05 +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 55376abd21 we do not need the EnhancedLocalRepositoryManager to avoid writing _maven.repositories file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1369268 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 06:55:35 +00:00
Olivier Lamy f3e1fc8489 use dependencyManagement for aether
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1369267 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 06:55:18 +00:00
Olivier Lamy 636eece888 fix dependency selector for dependency tree
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1369266 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 06:55:05 +00:00
Olivier Lamy 249e8dd074 add missing @since
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1368583 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 16:23:54 +00:00
Olivier Lamy f96d17b67e add the file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1368582 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 16:23:35 +00:00
Olivier Lamy 3e1fb17f0a extract our own repository connector factory to an external file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1368581 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 16:23:18 +00:00
Olivier Lamy c2aa60f68f lot of code cleanup for dependency tree
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1368580 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 16:23:04 +00:00
Olivier Lamy 4c24639c91 use directly aether api to get dependency tree rather than passing tru maven resolution mechanism
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1368579 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 16:22:37 +00:00
Olivier Lamy b51d951152 use dependencyManagement
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1368457 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 13:19:33 +00:00
Olivier Lamy c31afc5c1c add a tree builder with maven3/aether api
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1368456 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 13:19:23 +00:00
Olivier Lamy 8cfed27b68 fix MRM-1607 in dependency tree too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1368186 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 18:39:34 +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 968ab1e034 [MRM-1583] tests modifications
Submitted by Adrien Lecharpentier

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1358215 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 14:00:00 +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 707cdb193a [MRM-1583] ui rewrite: rewrite reports page
Submitted by Adrien Lecharpentier.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357889 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 20:43:37 +00:00
Olivier Lamy dd386202d6 use fest assert 2.0
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357005 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 23:11:27 +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 f68a05a499 implements the method with metadata-store-file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1354120 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 17:25:08 +00:00
Olivier Lamy d4caedfafb remove commented code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1354117 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 17:24:21 +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 208ff50ae5 fix junit correctly delete timestamped snapshot
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1353618 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 15:55:07 +00:00
Olivier Lamy 7720351a50 fix unit test if metadataFacet not available on update
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1349179 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 08:12:02 +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 297bb0fcff fix an issue with not removing project version when removing an artifact from Metadatarepository with metadata-store-file.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345578 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 21:14:37 +00:00
Olivier Lamy e02d0cdc8b avoid using printStackTrace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345577 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 21:14:22 +00:00
Olivier Lamy eeed20ed36 fix an issue with not removing project version when removing an artifact from Metadatarepository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345397 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 23:48:01 +00:00
Olivier Lamy 096a4c0ed1 prevent NPE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345396 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 23:47:14 +00:00
Olivier Lamy 994e72b018 artifact content view: display snapshot versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343416 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 22:52:58 +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 8f828f3728 extract comparator to an external class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1340478 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 13:32:35 +00:00
Olivier Lamy 87e09e5ca3 use private static inner class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1338244 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 15:08:53 +00:00
Olivier Lamy c0ec48e2a8 avoid too much log when an artifact is not available in a remote repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325498 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 20:41:52 +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 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 3e389d5e5f add debug log
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1301788 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 22:07:20 +00:00
Olivier Lamy 5ff0f0ee14 managed repositories add link to do a directories scan immediate.
Take about correctly close jackrabbit session in case of exception and open session when it's closed.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299735 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 16:43:41 +00:00
Olivier Lamy b91790c532 code comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299624 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 11:01:57 +00:00
Olivier Lamy d4b081c74d fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299623 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 11:01:16 +00:00
Olivier Lamy 214b0b0d55 osgi import fix again :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299585 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 08:52:50 +00:00
Olivier Lamy 89dbc0561f extract code to an internal method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299577 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 08:30:40 +00:00
Olivier Lamy 038fbdadf8 cleanup duplicated classes used classes from model
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299575 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 08:11:08 +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 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 4974097379 [MRM-1607] maven model build failed when model have jdk profile activation.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293788 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 09:07:03 +00:00
Olivier Lamy 5fbb07bdb4 compilation failure
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293774 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 08:31:53 +00:00
Olivier Lamy a4544331a8 revert twoPhaseBuilding model building as it breaks maven inheritance resolution (for dependencies version)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293768 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 08:07:43 +00:00
Olivier Lamy 496920391c revert some changes to use a RuntimeException
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293719 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 22:53:45 +00:00
Olivier Lamy 57b5334aef avoid failing on java profile or other profiles by using a TwoPhaseBuiling maven build model request
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293680 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 20:45:18 +00:00
Olivier Lamy 99a93d57f0 fix wagon 2.2 upgrade
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245590 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 14:58:24 +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 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 291c161228 fix stage-repository-merge unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235683 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 08:39:03 +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 4f6ab06673 [MRM-1562] Update to Archiva as OSGi compliant application
Patch on features descriptor cleanup.
Submitted by Jean-Baptiste Onofre.



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226052 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 09:28:02 +00:00
Olivier Lamy f5183ff08b try to fix again windauze issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1214954 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 20:47:37 +00:00
Olivier Lamy 2739ced315 restore @Test annotation which was not here
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1214953 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 20:47:21 +00:00
Olivier Lamy f9ec184503 use the same path separator as RepositoryPathTranslator to prevent windauze issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1214868 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 17:06:44 +00:00
Olivier Lamy 6ec95cb805 add some debug to see what happened on the windauze jenkins node
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1214823 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 16:01:22 +00:00
Olivier Lamy c73cb26c0f should fix unit tests on windauze
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1214693 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 10:31:52 +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 7354da04d4 try a better fix for unit failure on windauze
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1213120 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 00:25:27 +00:00
Olivier Lamy 732b694243 try to fix unit test on windauze
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1212821 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 16:25:26 +00:00
Olivier Lamy d6fa8f7ad8 [MRM-1562]Update to Archiva as OSGi compliant application
turn xmlrpc, some plugins as OSGi bundles.
Submitted by Jean Baptiste Onofre.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1207904 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 15:15:40 +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 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 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 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 b351e202b5 add snippet for use it in documentation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179621 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 13:36:49 +00:00
Olivier Lamy 621a98296f move jcr related classes to store-jcr module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179311 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 16:44:02 +00:00
Olivier Lamy f260414f76 [MRM-1327] implement alternative or improve repository metadata storage: jcr is now default storage mode.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179142 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 10:23:09 +00:00
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 cd104567e6 [MRM-1361] align types to NPanday 1.4.0
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177895 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 03:44:02 +00:00
Olivier Lamy 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 b42ae3b997 fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175927 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:05:02 +00:00
Olivier Lamy 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 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 81b2b9cf7e [MRM-1510] api to configure NetworkProxy
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166556 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 08:05:01 +00:00
Olivier Lamy 281092c41a MRM-1507 : api to configure ProxyConnector
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166130 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 11:41:15 +00:00
Olivier Lamy 64bf00a031 [MRM-1508] api to managed repository group
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165844 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:06:11 +00:00
Olivier Lamy 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 05962b6b42 add missing spring context files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165529 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 07:27:22 +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 021495050a get RID of org.apache.maven.archiva packages : xml package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164824 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:21:42 +00:00
Olivier Lamy 0fdb6a722c align/magnify names :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164172 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 17:09:08 +00:00
Olivier Lamy 3573e5a36e test we pass in audit event listener
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163029 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 21:43:12 +00:00
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
Brett Porter 41d91f293a clean up comments
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161088 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 13:17:52 +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
Brett Porter 1e8ff1265f add some comments about areas that can be improved when proxy sits behind the repository API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1151737 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 05:49:37 +00:00
Brett Porter 31e93bb1c9 some low hanging fruit in the quest to improve the staging repository implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1141002 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 08:41:07 +00:00
Brett Porter 1f68b697b7 clean up some tests and avoid creating bad ~/.m2/archiva.xml descriptor
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140961 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 04:17:55 +00:00
Brett Porter a5c5d53fa1 [MRM-1335] improve the message appearing when an artifact's metadata is incomplete
Submitted by: Greg Michael Meneses

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140473 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 08:05:07 +00:00
Brett Porter 2db95ef56d [MRM-1324] repository statistics report doesn't appear to be working correctly
Submitted by: Greg Michael Meneses



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140450 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 06:44:30 +00:00
Olivier Lamy 2ec5d2ecd9 fix jdk1.5 unit test : HashMap doesn't guarantee order
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137377 13f79535-47bb-0310-9956-ffa450edef68
2011-06-19 15:08:02 +00:00
Maria Odea B. Ching 969e7fb37f [MRM-1411] project information is missing if a POM could not be read correctly
o for snapshot artifacts, get the timestamp and build number first from the metadata in the remote repo before proxying the actual parent pom 
o added unit tests, removed checksums and other test files that are not necessarily used


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136424 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 13:12:22 +00:00
Brett Porter ea6a0644af remove more old test files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136335 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 09:13:01 +00:00
Olivier Lamy d54c8ec3e0 fix DefaultDependencyTreeBuilder
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136094 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 15:50:48 +00:00
Olivier Lamy b3603c5c43 back to maven2 api for dependency tree
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136082 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 15:30:53 +00:00
Maria Odea B. Ching dab1e92990 [MRM-1411] project information is missing if a POM could not be read correctly
o proxy parent POM if not found in the repo when building the effective POM when creating metadata (also applied the same in dependency tree builder)
o added unit tests
o moved out wagonfactory classes into separate module so it can be used by maven2-repository w/o depending on archiva-proxy module (as it inroduces cyclic dependency)


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135978 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 09:36:05 +00:00
Olivier Lamy edbfd20066 one day probably won't miss to add files : nut not today :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134381 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 16:40:59 +00:00
Olivier Lamy 8d497e8555 move audit plugin to spring annotations : it looks now mvn tomcat:run -Pdev works !!
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134378 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 16:38:49 +00:00
Olivier Lamy 3d2bbcff6c correctly set tccl during sisu init
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134351 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 15:38:09 +00:00
Olivier Lamy 45b308aab0 align maven api to use maven 3 version
temporary comment failing dependency tree

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134349 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 15:37:00 +00:00
Olivier Lamy c90eea8f1c remove use of plexus-spring all struts actions are spring beans now. Note still have issues with tomcat plugin and sisu bridge which need an urlclassloader
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133928 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 15:23:21 +00:00
Olivier Lamy df2b9275e9 remove plexus-spring : fixed for stage-repository-merge
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130300 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 20:46:49 +00:00
Olivier Lamy 207e0997b4 cleanup pom
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130299 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 20:46:21 +00:00
Olivier Lamy f378a857eb [MRM-1473] remove use of plexus-spring
fix module metadata-store-jcr



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130164 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 14:37:32 +00:00
Olivier Lamy 76386bfcb1 [MRM-1473] remove use of plexus-spring
fix module metadata-store-file



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130154 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 13:48:32 +00:00
Olivier Lamy ee78778213 fix use of applicationContext.getBeansOfType instead of the old lookupMap.
The key is now interface#hint whereas was only hint with plexus
arghh !


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130140 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 13:07:26 +00:00
Olivier Lamy 8b19bfa43d fix package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128919 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 18:00:32 +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 c8f7c57c25 oups missed to add file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128085 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:56:37 +00:00
Olivier Lamy abe408f63f [MRM-1473] remove of plexus-spring : fix problem-reports module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128084 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:56:19 +00:00
Olivier Lamy 5bc6009a39 fix repository-statistics compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128083 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:55:58 +00:00
Olivier Lamy 4eb07f4a1c don't use directly exception class from plexus bridge
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128082 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:55:31 +00:00
Olivier Lamy 992f6a96dd miss to add a file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128080 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:54:19 +00:00
Olivier Lamy 2816105cf3 [MRM-1473] remove plexus-spring
fix maven2-repository module

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128079 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:54:05 +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 02b4b8d6af [MRM-1473] remove use of plexus-spring
start with archiva-configuration and archiva-policies



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125538 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 20:08:12 +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 76289acb8d rename metadata-repository-file to metadata-store-file for consistency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1086590 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 14:13:37 +00:00
Brett Porter 076a33f877 [MRM-1327] fix 'used by' to work under JCR store. Remove updateProjectReferences API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1086569 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 12:42:47 +00:00
Brett Porter bed7aa1b59 [MRM-1327] fix 'used by' to work under JCR store. This will still have problems under the file store at the moment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1085722 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 14:00:06 +00:00
Brett Porter 522a7ac514 fix optional for dependencies in file metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1085707 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 12:07:15 +00:00
Brett Porter 95b297a2ae [MRM-1327] use nodes for dependencies, make several notes about fixes required to properly isolate maven2 pieces
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1085704 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 11:54:11 +00:00
Maria Odea B. Ching 28a0b59676 [MRM-1461]
submitted by Maria Catherine Tan
o continue deleting contents of the repo even if it encountered a file that it couldn't delete then throw an IOException at the end


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1082160 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 14:53:40 +00:00
Brett Porter f2b0885b53 ensure that it gets closed, even if close throws exception
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1071608 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 13:31:17 +00:00
Maria Odea B. Ching 1460694de3 close streams from previous commit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1071145 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 04:51:03 +00:00
Maria Odea B. Ching cb61344408 used IOUtils copy for merging so streams are buffered
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1071136 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 03:30:53 +00:00
Jevica Arianne B. Zurbano 13609a81fe fixed typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1063154 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 06:45:31 +00:00
Brett Porter 605c1db826 [MRM-1327] choose a better default for login
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1061114 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 04:20:21 +00:00
Brett Porter 91a012ebdd [MRM-1448] additional '.' in the classifier & extension should be attributed to the extension instead of the classifier.
Note that existing records will not be updated - the repository may need to be re-scanned to reflect the change.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1054034 13f79535-47bb-0310-9956-ffa450edef68
2010-12-31 00:53:23 +00:00
Brett Porter 8aacc3cd0b [MRM-1443, MRM-1327] change to JSR-170's SQL queries to avoid the problem in JackRabbit 2.2.0 with ISDESCENDANTNODE and a large number of nodes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053857 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 11:38:35 +00:00
Brett Porter 6e782b161c [MRM-1443, MRM-1327] properly restrict per repository and improve performance
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053840 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 10:03:44 +00:00
Brett Porter 23a09c2024 [MRM-1443, MRM-1327] allow repository-statistics module to optimise statistics generation if JCR store is available
- updates to other mock repositories

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053826 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 08:54:16 +00:00
Brett Porter 479f10cb7f [MRM-1443, MRM-1327] allow repository-statistics module to optimise statistics generation if JCR store is available
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053820 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 08:44:10 +00:00
Brett Porter ed717a4b5b [MRM-1327] assign node types to each different node so that they can be easily distinguished from each other when querying or traversing. Correct bug where projects would appear as namespaces and vice-versa.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053788 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 02:30:09 +00:00
Brett Porter 6673c15740 [MRM-1327] don't auto-save artifact updates - this was only there for testing purposes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053784 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:55:15 +00:00
Brett Porter de23f7ef3f [MRM-1327] make sure getArtifactsByDateRange and getArtifactsByChecksum query is restricted to the right repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053783 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:41:07 +00:00
Brett Porter e28ae522d1 [MRM-1327] make sure getArtifacts query is restricted to the right repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053780 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:29:50 +00:00
Brett Porter 201306c679 [MRM-1327] prevent facets being returned as artifact versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053767 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 23:23:28 +00:00
Brett Porter 6ff9147139 [MRM-1327] hook save()/close()/revert() methods to the repository implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053630 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 13:02:59 +00:00
Brett Porter e7c8bea2e6 [MRM-1330] update DuplicateArtifactsConsumer to the session-based API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053554 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 07:06:17 +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 eff60e10de [MRM-1327] instantiate the repository via Spring and avoid hard-coding
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051741 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 03:12:51 +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 1ff88d24fe [MRM-1327] clean up path construction and method sorting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051466 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 11:40:08 +00:00
Brett Porter 7f610bca75 [MRM-1327] namespaces should be paths to avoid being too flat. Use queries for some other traversal methods.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051458 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 11:21:57 +00:00
Brett Porter 2a6a4e570f [MRM-1327] remove unnecessary facet node for project versions, and ensure artifact facet properties are correctly removed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051444 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 10:16:04 +00:00
Brett Porter c82a0e6bc1 [MRM-1327] remove unnecessary facet node for artifacts
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051429 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 09:30:25 +00:00
Brett Porter 5622b1c569 [MRM-1327] re-arrange utility methods, and use search for retrieving artifacts by date
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051396 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 07:21:44 +00:00
Brett Porter 4423d46b4f [MRM-1327] very rough prototype of a JCR based storage mechanism. Passes tests, but needs to be cleaned up and properly integrated, then tested for performance
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1050283 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 06:26:09 +00:00