Commit Graph

546 Commits

Author SHA1 Message Date
Eric Barboni fe7e671f3b remove unused package, reduce annotations (value= or locations=) 2014-04-18 01:45:16 +02:00
Eric Barboni 4e9050691b fix import packages 2014-04-18 01:43:18 +02:00
Olivier Lamy e7bdc98ddb jackrabbit 2.7.5 2014-04-17 22:25:14 +10:00
Olivier Lamy 2b03379852 [MRM-1210] Dependency tree should include the artifact type 2014-04-17 15:09:15 +10:00
Olivier Lamy 2132965397 more code simplification with 1.7 features 2014-04-17 10:46:06 +10:00
Olivier Lamy 861d8941e7 exception is different in 1.7 2014-04-17 10:08:39 +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 67985e0486 diamond operator 2014-04-16 17:12:51 +10:00
Olivier Lamy 64187aa84a add an index for the projectVersionMetadataModel.key column 2014-04-14 12:33:05 +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 047b7ad17e fix CME 2014-04-10 16:44:51 +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 0cbea898cd cassndra part of the build in default profile as we are now 1.7
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1585069 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 11:56:24 +00:00
Olivier Lamy 3c6e3a1cb6 consumer with an empty looks to build now
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583989 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 12:12:24 +00:00
Olivier Lamy fa2a3efcc7 [MRM-1802] Find a cache solution for browsing part (especially root browsing)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583867 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 03:55:28 +00:00
Olivier Lamy f9c01084da fix comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583866 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 03:55:10 +00:00
Olivier Lamy abdad59483 add comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583849 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 01:29:07 +00:00
Olivier Lamy 4d70362d9d fix unit test with adding mocks
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583324 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 13:23:20 +00:00
Olivier Lamy e376eca362 initialize not needed if we do not use this impl
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582720 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 12:12:41 +00:00
Olivier Lamy 946557f164 more metadata store cassandra to cassandra profile as need 1.7 dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582714 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 11:43:34 +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 bb79c82aab fix facet creation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582198 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 06:01:50 +00:00
Olivier Lamy 5a1a064f75 take care of null values
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582119 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 23:27:58 +00:00
Olivier Lamy a80ae95cc8 better with adding the default file...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582095 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 22:27:08 +00:00
Olivier Lamy 7d1c504705 extract cassandra configuration in a configuration file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582094 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 22:27:02 +00:00
Olivier Lamy acc7242804 add unit test for method getProjectReferences
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581807 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 12:16:02 +00:00
Olivier Lamy 24de9b28fb add a test to ensure dependant are cleanup up
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581705 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:29:55 +00:00
Olivier Lamy e7b4016303 more cleanup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581703 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:02:18 +00:00
Olivier Lamy 0bfb850c1b some cleanup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581702 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:02:09 +00:00
Olivier Lamy 07bae44727 fix naming
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581701 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:01:51 +00:00
Olivier Lamy 591771c0c4 fix naming
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581700 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:01:42 +00:00
Olivier Lamy 1754cb76e0 all tests passed with cassandra implementation: does not mean everyhting is really working but a good step :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581699 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:01:32 +00:00
Olivier Lamy 3c0c99a9f2 fix deleting a project -> remove all artifacts
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581698 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:01:20 +00:00
Olivier Lamy 96a526be48 fix parent version for modules not part of release
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581642 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:41:32 +00:00
Olivier Lamy 3ff5c718fb fix unit test when searching project version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581640 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:41:20 +00:00
Olivier Lamy 122145013e should return null if no facets found
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581639 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:41:06 +00:00
Olivier Lamy 509e72be48 implement cassandra record of dependencies
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581638 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:40:51 +00:00
Olivier Lamy fa06b7b997 record license information in cassandra
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581637 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:40:40 +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 8bcdb6bff6 add some toString for debugging purpose and avoid hard coded values to prevent test failures
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581292 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 11:18:10 +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 306610e853 use the same naming convention for those methods
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581255 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:28:43 +00:00
Olivier Lamy 261ff2b4b2 correct cleanup of mailing list table
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581254 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:28:30 +00:00
Olivier Lamy 68cb953712 fix unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581253 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:28:20 +00:00
Olivier Lamy 4ac873046d record mailing lists in Cassandra
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581252 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:28:03 +00:00
Olivier Lamy 91c9d36a7b simplify code with adding constructors
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581251 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:27:50 +00:00
Olivier Lamy a7f93fed10 simplify as we need all columns
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581250 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:27:36 +00:00
Olivier Lamy ccade5dd86 map simple object
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581248 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:27:18 +00:00
Olivier Lamy 2784f0068c fix removeArtifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580765 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 06:16:25 +00:00
Olivier Lamy 0df0a0a14a fix cleanup repository and namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580764 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 06:16:09 +00:00
Olivier Lamy e4f454dd78 fix removeArtifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580763 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 06:15:58 +00:00
Olivier Lamy 4b7e439132 fix deleting project version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580762 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 06:15:44 +00:00
Olivier Lamy d18ba9ef21 cleanup code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580761 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 06:15:34 +00:00
Olivier Lamy 869291b351 fix retrieving facets
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580743 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 04:55:24 +00:00
Olivier Lamy 043624f052 fix retrieving versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580742 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 04:55:14 +00:00
Olivier Lamy b472313682 fix project version metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580741 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 04:55:04 +00:00
Olivier Lamy c593a9a77f fix retrieve project versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580722 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 03:18:11 +00:00
Olivier Lamy 6f73874474 small optim as no need to continue querying here
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580721 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 03:18:00 +00:00
Olivier Lamy 8565793eed fix remove artifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580720 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 03:17:49 +00:00
Olivier Lamy 7d10f63b87 use directly query filtering
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580694 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:37:12 +00:00
Olivier Lamy ed0db11f65 prevent ClassCastException as now return a Collection rather than a List
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580693 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:36:57 +00:00
Olivier Lamy 72ddf2322f fix name and cleanup pom
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580692 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:36:45 +00:00
Olivier Lamy 6b7feec1f1 fix checksum search cassandra search
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580691 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:36:39 +00:00
Olivier Lamy fddb0ca9cf fix truncating datas in unit and wrong StringUtils usage
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580690 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:36:21 +00:00
Olivier Lamy c6afb274c0 add NPE check
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580689 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:36:04 +00:00
Olivier Lamy ba1c2854a0 use an utility methods to prevent npe when column values does not exist for a row
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580688 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:35:54 +00:00
Olivier Lamy 63938bfb47 fix facets add/update
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580687 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:35:36 +00:00
Olivier Lamy c2146116d5 fix retrieving a project
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579886 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 04:57:46 +00:00
Olivier Lamy 86ad13939a NPE check!
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579885 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 04:57:37 +00:00
Olivier Lamy 01b3328e2b fix retrieving ArtifactMetadata with null date
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579884 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 04:57:24 +00:00
Olivier Lamy 8c88e1f446 fix project deletion
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579883 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 04:57:15 +00:00
Olivier Lamy e72bb0a3a2 more impl still far from 0 failures :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579831 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:24:15 +00:00
Olivier Lamy 66a1220073 ProjectVersionMetadataModel to use Hector
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579830 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:24:06 +00:00
Olivier Lamy e016747888 more impl with Hector
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579829 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:23:56 +00:00
Olivier Lamy c3bb4dc714 fix removeProject
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579828 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:23:44 +00:00
Olivier Lamy 6e362e8235 change the column name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579827 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:23:33 +00:00
Olivier Lamy 633b14e20d this id field is not anymore needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579824 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:23:07 +00:00
Olivier Lamy a0eb0b968e this id field is not anymore needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579823 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:22:59 +00:00
Olivier Lamy 2e2090deac start moving project data handling to hector
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579822 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:22:50 +00:00
Olivier Lamy f995680a81 more cleanup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579821 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:22:38 +00:00
Olivier Lamy ce3de6a664 some cleanup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579820 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:22:31 +00:00
Olivier Lamy 50cb8970ef move cassandra to simply use hector client: start with repositories and namespaces
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579819 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:22:20 +00:00
Olivier Lamy 44880ea190 use a better name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579817 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:22:05 +00:00
Olivier Lamy 3b607ba020 fix unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1578848 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 12:42:21 +00:00
Olivier Lamy 0c389b180b fix parent version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1571858 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 23:01:16 +00:00
skygo 764c9d6424 fix javadoc. Generation possible on jdk8
(fix html content + replace @todo with TODO  )

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1571532 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 02:01:14 +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 154137de8d new astyanax version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1565477 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 23:25:47 +00:00