Commit Graph

473 Commits

Author SHA1 Message Date
Olivier Lamy 7cc7854a26 revert previous commit as 2.x was not affected in fact 2014-06-25 16:27:46 +10:00
Brett Porter 48a42e895a [MRM-1796] support artifacts larger than 4G
[MRM-1796] support artifacts larger than 4G
2014-06-25 16:23:53 +10:00
Brett Porter c648adb306 [MRM-1796] support artifacts larger than 4G 2014-06-25 16:21:43 +10:00
Olivier Lamy d93e36e62d fix unit 2014-06-11 03:02:49 +10:00
Olivier Lamy 2124e24a18 add comment 2014-06-11 02:46:11 +10:00
Olivier Lamy 7972d75082 [MRM-1846] Regression in 2.0.1 : uniqueVersion false not supported 2014-06-11 02:44:41 +10:00
Eric Barboni 145c89e731 assert from org.junit 2014-04-17 21:56:19 +02:00
Olivier Lamy dc91fae5fa more try with resources 2014-04-16 23:00:24 +10:00
Olivier Lamy ec1e655c9d use Files.copy from java.nio.file 2014-04-16 18:11:38 +10:00
Olivier Lamy 767e00c182 use Files from java.nio 2014-04-16 17:36:01 +10:00
Olivier Lamy afd02f3a13 Revert "[MRM-1828] upgrade to jetty 9.x"
This reverts commit a7a2c9130e.
2014-04-14 15:56:30 +10:00
Olivier Lamy a7a2c9130e [MRM-1828] upgrade to jetty 9.x 2014-04-14 14:08:55 +10:00
Eric Barboni 99117364be one move for all remaining override annotation 2014-04-11 23:46:35 +02:00
Olivier Lamy d6c28781b0 more diamond 2014-04-10 23:11:38 +10:00
Olivier Lamy 5fa4ceb731 more diamond 2014-04-10 16:36:21 +10:00
Olivier Lamy 751bffaef1 bump version to 2.1.0-SNAPSHOT because of 1.7 pre requisite
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1585071 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 11:57:09 +00:00
Olivier Lamy bef128817d move the factory bean to the api
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582713 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 11:43:24 +00:00
Olivier Lamy 663de30beb [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581635 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:40:25 +00:00
Olivier Lamy 477615ea47 [maven-release-plugin] prepare release archiva-2.0.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581634 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:39:38 +00:00
Olivier Lamy 7156611df0 use assertj as fest-assert is not maintained anymore
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581256 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:29:30 +00:00
Olivier Lamy 17eb20fb63 fix unit test due to bad previous commit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1568841 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 21:58:26 +00:00
Olivier Lamy 99179ba58d cleanup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1568623 13f79535-47bb-0310-9956-ffa450edef68
2014-02-15 11:59:21 +00:00
Olivier Lamy 1cbce6c13b [MRM-1804] IndexOutOfBoundsException when browsing a group with 0 or 1 repo
fix display

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1568622 13f79535-47bb-0310-9956-ffa450edef68
2014-02-15 11:59:13 +00:00
Olivier Lamy b4f1eb21cf [MRM-1804] IndexOutOfBoundsException when browsing a group with 0 or 1 repo
avoid npe

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1568621 13f79535-47bb-0310-9956-ffa450edef68
2014-02-15 11:59:04 +00:00
Olivier Lamy d5dfe85111 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1566005 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:07:59 +00:00
Olivier Lamy 57d85761a8 [maven-release-plugin] prepare release archiva-2.0.0
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1566004 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:07:08 +00:00
Olivier Lamy 4535901efd [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1566002 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:06:19 +00:00
Olivier Lamy 12722ebf9d [maven-release-plugin] prepare release archiva-2.0.0-RC3
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1566001 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:05:32 +00:00
Olivier Lamy f6b004c361 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1565998 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:04:34 +00:00
Olivier Lamy 8efe254c0f [maven-release-plugin] prepare release archiva-2.0.0-RC2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1565997 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:03:45 +00:00
Olivier Lamy bd56eac0c4 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1565985 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:01:36 +00:00
Olivier Lamy 7c38ab4088 [maven-release-plugin] prepare release archiva-2.0.0-RC1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1565984 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:00:46 +00:00
Olivier Lamy abf7ffaa6d change version to 2.0.0-RC1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1565974 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 11:59:09 +00:00
Olivier Lamy 91e5cffb20 remove files not needed anymore
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1556444 13f79535-47bb-0310-9956-ffa450edef68
2014-01-08 05:33:19 +00:00
Olivier Lamy c104acfb06 use mock servlet here too to have faster tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555678 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:32:38 +00:00
Olivier Lamy 9a0d520266 fix deployment and mkcol unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555677 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:32:27 +00:00
Olivier Lamy fc087e3f5e need to override this one too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555676 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:32:16 +00:00
Olivier Lamy 91af8c3d5a follow redirect as previous testing tool did
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555675 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:32:07 +00:00
Olivier Lamy 69c9ae20de cleanup use jsoup to parse html result
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555674 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:31:58 +00:00
Olivier Lamy d0bd0ec118 take care of http method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555673 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:31:47 +00:00
Olivier Lamy 8ceb67abc9 using mock servlet execution definitely faster than starting tomcat or servlet runner for each test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555672 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:31:40 +00:00
Olivier Lamy 3bef8aec70 fix unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555671 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:31:33 +00:00
Olivier Lamy f9e7178608 fix unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555670 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:31:26 +00:00
Olivier Lamy 7065cd1585 refactor
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555669 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:31:20 +00:00
Olivier Lamy 0be38b5026 fix unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555668 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:31:13 +00:00
Olivier Lamy ba3e35c60c missed to add a class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555667 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:31:06 +00:00
Olivier Lamy 471bb12beb refactor unit tests to get rid of the old httpunit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555666 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:30:55 +00:00
Olivier Lamy 4825f8eb88 remove use of old httpunit library
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555665 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:30:35 +00:00
Olivier Lamy 009686ad2d add a nex flag to indicate the merged index is temporary
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551477 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 07:29:51 +00:00
Olivier Lamy 3ac4f6e662 extract inner classes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551474 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 07:29:07 +00:00
Olivier Lamy af520c00cf [MRM-1746] build merged index for groups with a cron schedule
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551473 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 07:28:54 +00:00
Olivier Lamy b67de4117e refactoring to ease cron scheduling
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551472 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 07:28:27 +00:00
Olivier Lamy 3a4d0826e2 osgi metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551179 13f79535-47bb-0310-9956-ffa450edef68
2013-12-16 11:17:23 +00:00
Olivier Lamy 28898793f5 start refactoring merging remote indexes to have a cron job doing it
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551122 13f79535-47bb-0310-9956-ffa450edef68
2013-12-16 06:53:27 +00:00
Olivier Lamy 06cb9ea4f9 [MRM-1702] use the fileLockLManager in the code with possible race condition
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550636 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 04:46:36 +00:00
Olivier Lamy 6b23332e9d add a new module for file locking
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550396 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 11:26:40 +00:00
Olivier Lamy d1de91d824 use a temporary redirect for SNAPSHOT download
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549551 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 11:22:27 +00:00
Olivier Lamy ab7ef5c73f configure redirect type temporary or permanently
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549550 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 11:22:18 +00:00
Olivier Lamy 3f90ad3744 finally use a relocation for MRM-1761
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549548 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 11:22:02 +00:00
Olivier Lamy 449de093e2 fix unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549370 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 02:47:18 +00:00
Olivier Lamy b256625132 [MRM-1761] Returned URL in search result does not work for SNAPSHOTS
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549368 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 02:46:56 +00:00
Olivier Lamy 978ab1446b avoid magic number
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1547969 13f79535-47bb-0310-9956-ffa450edef68
2013-12-05 00:03:48 +00:00
Olivier Lamy 0796f03885 more use of fest assert
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1547966 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 23:56:13 +00:00
Olivier Lamy 155a90a5d2 fix my bad!!
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1547963 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 23:31:33 +00:00
Olivier Lamy afa6d89293 remove unused import
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1547784 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 12:13:15 +00:00
Olivier Lamy a6824a7123 upgrade fest assert version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1547781 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 12:09:31 +00:00
Olivier Lamy 44dd185dad more moving of maven2 logic from dav
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1547780 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 12:09:22 +00:00
Olivier Lamy 7985e70b7d continue moving maven logic out of dav module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1547296 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 06:06:58 +00:00
Olivier Lamy e61ed9f123 start to move out maven specific from dav part
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1547291 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 05:46:41 +00:00
Olivier Lamy 60b382e36e fix logging warn level
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1546890 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 04:07:17 +00:00
Olivier Lamy 402f10c841 code cleanup comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1541400 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 06:33:14 +00:00
Olivier Lamy ab6f5bde33 move to last easymock 3.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1541399 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 06:31:24 +00:00
Olivier Lamy 5d29b0e6ba ensure we send a User-Agent header when requesting a remote repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1519362 13f79535-47bb-0310-9956-ffa450edef68
2013-09-02 07:47:22 +00:00
Olivier Lamy 63533c4177 next version will be 2.0.0
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1508017 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 12:31:34 +00:00
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
Maria Odea B. Ching 04bb7a29d3 [MRM-1751] include mergedIndexTtl in temporary group index & indexmergerrequest so the repo config for ttl will be used upon clean up instead of the default config
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1484377 13f79535-47bb-0310-9956-ffa450edef68
2013-05-20 06:24:33 +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
Maria Odea B. Ching 48b1538702 [MRM-1751] add merged index ttl to repo group configuration + unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1481952 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 16:23:22 +00:00
Olivier Lamy 97f22cd13c fix issues downloading merged index path (thanks to unit tests) and add an other with non default mergedindex path
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1470481 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 12:46:13 +00:00
Olivier Lamy c44809424f add mergedIndexPath in repo group view
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1470364 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 23:36:06 +00:00
Olivier Lamy 0da207565c fix handling of dynamic mergedIndexPath
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1470363 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 23:35:17 +00:00
Olivier Lamy e0c2f0af78 [MRM-1745] path of merged index for group configurable
implement backend part

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1470295 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 13:22:26 +00:00
skygo 40c462af88 fix imports and minors warning sonar.
remove a space in transactions name pom.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1456696 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 22:12:24 +00:00
Olivier Lamy 55eca6dddb add missing alias for tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1452848 13f79535-47bb-0310-9956-ffa450edef68
2013-03-05 15:28:35 +00:00
Olivier Lamy 96442edfda use getMarker
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443552 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 15:24:56 +00:00
Olivier Lamy cde16b4a26 use a bean class for request to ease future enhancements
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443527 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 14:57:55 +00:00
Olivier Lamy e0ecff38ea simplify code and better variable name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443526 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 14:57:32 +00:00
Olivier Lamy 3e447d498c rename method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443524 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 14:57:11 +00:00
Olivier Lamy 9ff7c33332 fix possible NPE when restarting a tomcat with serialized session
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443484 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 14:03:07 +00:00
Olivier Lamy e0bd11b548 use getUsername rather than getPrincipal
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1433464 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 15:43:09 +00:00
Olivier Lamy 88f42b9a28 fix spring alias missing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1429439 13f79535-47bb-0310-9956-ffa450edef68
2013-01-06 00:06:55 +00:00
Olivier Lamy e53a2d0490 hack not anymore needed spring 3.2 is faster
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1429424 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 23:34:38 +00:00
Olivier Lamy 8447215c1f log time measure for this operation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1424432 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 12:29:00 +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 2c11134559 unit tests fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1418002 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 17:01:28 +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 1fe8a5e4ce [MRM-1708] When using LDAP, users can still edit their details upon login.
move useredit detail box to knockout model.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1412796 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 09:34:06 +00:00
Olivier Lamy 7d747e1b9f remove some others Object parameters type
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1412690 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 21:57:42 +00:00