Commit Graph

168 Commits

Author SHA1 Message Date
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 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 7756665404 test last maven indexer version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384116 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 20:44:51 +00:00
Olivier Lamy 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 3e02de3e08 change lucene query to treat user input as scored value and version as exact value
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1376938 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 14:27:05 +00:00
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 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 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 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 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 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 3332083d45 add search for osgi: Import-Package and Require-Bundle are now searchable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1297102 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 15:52:56 +00:00
Olivier Lamy ec49aa3e4b fix compilation issues
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293769 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 08:08:13 +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 883900fa2a [MRM-1590] Wrong URL returned by SearchService.getArtifactVersions.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233266 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 10:09:47 +00:00
Brett Porter f48d71800f fix typo (filer -> filter)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1227518 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 07:52:48 +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 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 988f8b45f3 includePom in index search results configurable: false by default
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203376 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 21:29:44 +00:00
Olivier Lamy 6eb766e9d9 not return pom artifacts when searching artifacts
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203364 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 21:02:08 +00:00
Olivier Lamy f8d3094638 fix some formatting I broke!
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203197 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 14:18:45 +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 9721429786 restore a good value, this value was here for testing: not a good production value :--
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198644 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 08:28:46 +00:00
Olivier Lamy 7738486c1a maven indexer cleanup only directory content so cleanup manually directory too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198370 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 13:50:40 +00:00
Olivier Lamy 7ad0e303a0 [MRM-815] aggregate indices for repository groups.
delete temporary on session end with a session listener
periodical taks to cleanup too old temp group index.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198011 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 18:50:28 +00:00
Olivier Lamy 48314e4daa remove temporary indexes from indexer too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197703 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 18:29:41 +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 159806983d 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@1197359 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 23:46:59 +00:00
Olivier Lamy 9991433b42 fix archiva-indexer tests
declare task spring annotations only for webapp

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196875 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 00:00:09 +00:00
Olivier Lamy 93e5fdfa27 [MRM-815] aggregate indices for repository groups.
cleanup created temp directories.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196846 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:33:35 +00:00
Olivier Lamy 8e36162963 [MRM-815] aggregate indices for repository groups.
pack index for download.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196845 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:33:09 +00:00
Olivier Lamy 0262091faa [MRM-815] aggregate indices for repository groups.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196840 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:31:42 +00:00
Olivier Lamy 2f4e196c20 fix formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196832 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:28:47 +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 d338930876 if searching with SearchFields with unknown repo ids do not revert to a search on all index.
small changes on previous commit: only if SearchFields has repos set to not break previous behaviour.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1183443 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 17:49:30 +00:00
Olivier Lamy 08d61568b7 if searching with SearchFields with unknown repo ids do not revert to a search on all index.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1183413 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 16:32:45 +00:00
Olivier Lamy cbdaacc012 add a method to retrieve all groupIds available in indexs: more tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1181729 13f79535-47bb-0310-9956-ffa450edef68
2011-10-11 11:46:01 +00:00
Olivier Lamy 3d268094df add a method to retrieve all groupIds available in indexs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1181728 13f79535-47bb-0310-9956-ffa450edef68
2011-10-11 11:45:22 +00:00
Olivier Lamy 649e73136c fix display of search results with pagination
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179993 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 10:41:01 +00:00
Olivier Lamy 47229dec13 add unit tests for paginate method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179991 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 10:40:25 +00:00
Olivier Lamy c98687154c fix NPE in ArtifactLocator during scanning
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179990 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 10:39:59 +00:00
Olivier Lamy 12ba74abf2 fix @since 1.4 with @since 1.4-M1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178731 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 09:05:30 +00:00