Commit Graph

5498 Commits

Author SHA1 Message Date
Martin Stockhammer dfe9604884 Adding recursive delete with cumulated result status to FileUtils 2020-02-16 21:20:37 +01:00
Martin Stockhammer 33bfded28d Polishing interfaces and builders for the content item api 2020-02-16 15:25:26 +01:00
Eric Barboni a06be324b7
Merge pull request #57 from ebarboni/testwindows2
[MRM-2011] make test less linux specific
2020-02-15 04:03:43 +01:00
Martin Stockhammer c13d7e4346 Adding item selector api to repository content 2020-02-14 22:00:14 +01:00
Martin Stockhammer 6823bb0371 Adding selector interface for repository content 2020-02-13 22:20:35 +01:00
Martin Stockhammer 84d9f5723f Adding implementation of artifact 2020-02-12 21:47:11 +01:00
Martin Stockhammer e978e2bf21 Updating content item interfaces 2020-02-12 21:12:20 +01:00
Martin Stockhammer f75938cf85 Adding content item implementations 2020-02-12 18:41:39 +01:00
Martin Stockhammer 15187ea422 Updating content item api 2020-02-12 08:41:22 +01:00
Martin Stockhammer 8fc137a6bd Adding content interfaces to repository api 2020-02-11 22:43:22 +01:00
Eric Barboni 66077dc368 Test fix to make test specific path, minor fix, import fix 2020-02-11 20:38:48 +01:00
Eric Barboni c3003b149d Test for windows, import fix 2020-02-11 20:37:01 +01:00
Martin Stockhammer f6f495d494 Refactoring ManagedRepositoryContent 2020-02-10 23:21:32 +01:00
Martin Stockhammer 13856a6060 Adding exception for IO errors 2020-02-10 23:21:15 +01:00
Martin Stockhammer 3162ea79e6 Adding fluent api methods 2020-02-10 23:20:42 +01:00
Martin Stockhammer af4c1a763b Adding additional tests 2020-02-09 22:01:11 +01:00
Martin Stockhammer 17fd120939 Changing repository content API 2020-02-09 17:39:07 +01:00
Martin Stockhammer 2007c24bf8 Adding compile dependencies to maven-repository 2020-02-06 13:17:51 +01:00
Martin Stockhammer 03ec8e8896 Cleanup dependencies of maven-metadata module 2020-02-06 09:21:50 +01:00
Martin Stockhammer ecf3c554e7 Removing archiva-converter module 2020-02-05 22:04:05 +01:00
Martin Stockhammer c33869db14 Cleanup of dependencies for maven-model 2020-02-04 21:31:49 +01:00
Martin Stockhammer e9a28313a2 Cleanup of metadata 2020-02-04 09:54:20 +01:00
Martin Stockhammer 906a258164 Cleanup of scheduler dependencies 2020-02-03 21:58:05 +01:00
Martin Stockhammer 302363c1ec Cleanup of scheduler dependencies 2020-02-02 22:02:26 +01:00
Martin Stockhammer b4377a03b9 Status update 2020-02-02 17:42:29 +01:00
Martin Stockhammer 498da1c322 Final cleanup of repository-admin 2020-02-02 17:40:05 +01:00
Martin Stockhammer dd7fd7ad53 Removing wagon dependency 2020-02-02 17:23:20 +01:00
Martin Stockhammer 925601a263 Removing comments and moving versions to dep management section 2020-02-02 16:42:10 +01:00
Martin Stockhammer c7e070a97c Removing Nullable annotation and fix dependency errors
Nullable annotation is not part of javax.annotation-api package. To avoid having the
additional dependency to findbugs ( no current updates ) I removed the Nullable
annotations until we find a better approach.
2020-02-02 16:33:47 +01:00
Martin Stockhammer 2a0802bb66 Cleanup of maven-admin dependencies 2020-02-02 14:32:28 +01:00
Martin Stockhammer f99fa99f41 Cleanup of dependencies for archiva-transaction 2020-02-02 11:22:44 +01:00
Martin Stockhammer 4d279bb78d Cleanup dependencies of archiva-mock 2020-02-02 11:10:20 +01:00
Martin Stockhammer 9634a9310d Cleanup of consumer-archetype 2020-02-02 00:09:29 +01:00
Martin Stockhammer 61c39c4f42 Renaming lucene-consumer to indexer-consumer 2020-02-02 00:09:02 +01:00
Martin Stockhammer 92fbcf3dec Cleanup of consumer dependencies 2020-02-01 20:20:03 +01:00
Martin Stockhammer 8fc6cdd37a Cleanup of dependencies for core-consumers 2020-02-01 18:22:48 +01:00
Martin Stockhammer 24f005ce96 Moving repository files to resources directory 2020-02-01 17:01:31 +01:00
Martin Stockhammer 4e3974a7cd Dependency cleanup for archiva-proxy 2020-02-01 12:54:46 +01:00
Martin Stockhammer 13ffcca2c1 Dependency cleanup 2020-02-01 12:15:18 +01:00
Martin Stockhammer 63bb25640b Cleanup of dependencies 2020-02-01 10:08:40 +01:00
Martin Stockhammer 865e3fef24 Adding metadatareader interface 2020-02-01 00:41:34 +01:00
Martin Stockhammer 8d6062c209 Cleanup of dependencies 2020-01-30 22:34:43 +01:00
Martin Stockhammer 712867584d Switching to new xmlunit version 2020-01-29 23:03:00 +01:00
Martin Stockhammer 3d7c109589 Increasing easymock version 2020-01-27 20:55:41 +01:00
Martin Stockhammer 621dd56659 Moving easymock dependencies into modules 2020-01-27 20:12:09 +01:00
Martin Stockhammer c1d3814836 Dependency update 2020-01-26 23:18:05 +01:00
Martin Stockhammer b034cff6b5 Adapting configuration to redback changes 2020-01-24 21:52:07 +01:00
Martin Stockhammer 5887922449 Switching to https protocol for repo.maven.apache.org 2020-01-16 18:34:29 +01:00
Martin Stockhammer a59df13f7c Improving log messages 2020-01-16 18:33:40 +01:00
Martin Stockhammer d805755df8 Adapting to redback dependency changes. 2019-12-25 18:10:49 +01:00
Martin Stockhammer c9da1ef58d Fix for JDK11 dependencies 2019-12-25 15:10:14 +01:00
Martin Stockhammer 1955e4c27e Adapting to dependency changes of redback 2019-12-25 10:50:01 +01:00
Martin Stockhammer af5745356b Adapting to component registry changes. Updating to commons configuration 2. 2019-12-12 18:34:11 +01:00
Martin Stockhammer fce356b593 Switching site publish to asf-staging branch 2019-11-30 20:58:52 +01:00
Martin Stockhammer 58b9a3a8b6 Changing dependencies to new spring-quartz component 2019-11-24 11:22:58 +01:00
Martin Stockhammer 0e01b1f6b2 Changing eferences to moved spring-taskqueue component 2019-11-21 22:09:39 +01:00
Martin Stockhammer e874eb7769 Fixing scope for annotation in consumer-archetype 2019-11-20 09:25:28 +01:00
Martin Stockhammer 1d5e607431 Switching to moved component-spring-cache module 2019-11-19 23:36:35 +01:00
Martin Stockhammer 7c42329da2 Removing duplicate dependency entry 2019-11-17 21:36:59 +01:00
Martin 672e1e1b7f
Merge pull request #51 from joestr/patch-1
change tabs-below to tabs-top
2019-11-17 13:37:34 +01:00
Martin Stockhammer 622006c9fd Applying references after package change of components spring-registry and expression-evaluator 2019-11-17 13:29:31 +01:00
Martin Stockhammer 3a08931d19 Removing plexus dependency 2019-11-15 20:05:48 +01:00
Martin Stockhammer e41fb343bc Fixing time zone issue 2019-11-15 20:05:15 +01:00
Martin Stockhammer 08a51f0eff Switching to zip file for index test 2019-10-14 21:43:23 +02:00
Martin Stockhammer 7c683efd5d Adding unzip utility method 2019-10-14 21:42:59 +02:00
Martin Stockhammer 8d800b6e1a Removing dependency on ComponentContainer (spring-utils) 2019-10-09 19:48:54 +02:00
Martin Stockhammer 11fa0a513a Removing velocity dependency 2019-10-05 18:38:32 +02:00
Martin Stockhammer 01666eea89 Switching to new rome version for rss 2019-10-05 16:15:17 +02:00
Martin Stockhammer d66ca1e475 Changing jboss-logging version (new version uses apache license) 2019-10-05 16:15:02 +02:00
Martin Stockhammer bde6350a30 Removing jpox dependency 2019-10-05 00:59:42 +02:00
Martin Stockhammer 5d90a2102d Renaming packages to make them distinct over modules 2019-10-04 13:04:18 +02:00
Martin Stockhammer ff28da65a6 Implementing event manager test 2019-10-04 00:29:59 +02:00
Martin Stockhammer 6766beb8ac Extracting interface from RepositoryRegistry 2019-10-03 20:55:40 +02:00
Martin Stockhammer 8a94fa6bdd Removing junit 4 dependencies 2019-10-03 19:18:36 +02:00
Martin Stockhammer 391442c6a0 Changing package for audit events 2019-10-03 18:36:54 +02:00
Martin Stockhammer 405687b120 Migrating basic event API to archiva commons 2019-10-03 18:30:48 +02:00
Martin Stockhammer 76f47ea203 [MRM-2000] Adding NOTICE file with apache license information 2019-10-03 17:37:37 +02:00
Martin Stockhammer 69a4057630 Finalizing event API 2019-10-03 14:21:18 +02:00
Martin Stockhammer 54148d4fc2 Refactoring event API 2019-10-01 23:11:54 +02:00
Martin Stockhammer 9d1cf5687f Reorganizing dependencies for repository-layer 2019-09-30 21:58:11 +02:00
Martin Stockhammer 350be570ff Fix module name for storage api 2019-09-30 21:57:27 +02:00
Martin Stockhammer af09aefac1 Removing xalan dependencies 2019-09-28 22:50:53 +02:00
Martin Stockhammer 88329740a3 Removing xerces dependencies 2019-09-28 22:37:41 +02:00
Martin Stockhammer a1696c3afe Removing xerces dependencies 2019-09-28 21:49:05 +02:00
Martin Stockhammer 842ec05b5d Migrating xml tools to standard API 2019-09-28 16:34:10 +02:00
Martin Stockhammer 78170d5ed0 Reorganizing dependencies for repository-api 2019-09-26 22:12:53 +02:00
Martin Stockhammer 302185ede1 Migrating servlet to repository registry usage 2019-09-22 00:09:54 +02:00
Martin Stockhammer d9f8834dc1 Adding null checks for index manager 2019-09-22 00:09:54 +02:00
Martin Stockhammer 74d69f36c8 Setting directory hint for root path of asset 2019-09-22 00:09:54 +02:00
Martin Stockhammer 71919be853 Fixing search test 2019-09-22 00:09:54 +02:00
Martin Stockhammer df8da96f98 Modifying repository registry behaviour 2019-09-22 00:09:54 +02:00
Martin Stockhammer d9d8796665 Fixing proxy connector handling 2019-09-22 00:09:54 +02:00
Martin Stockhammer 9948797e50 Enhancing repository events 2019-09-22 00:09:54 +02:00
Martin Stockhammer b072f6921d Proxy changes 2019-09-22 00:09:54 +02:00
Martin Stockhammer 363c4c9608 Switching to enum for policy options 2019-09-06 21:14:28 +02:00
Martin Stockhammer bc6065c141 Update of policies. Adding descriptions and using locale. 2019-09-04 23:16:25 +02:00
Martin Stockhammer 926dc7990b Refactoring proxy classes 2019-09-03 21:42:35 +02:00
Martin Stockhammer ebf95723a5 Modifying NetworkProxy class. Adding tests. 2019-09-03 14:40:22 +02:00
Martin Stockhammer c7fb08d2cb Removing felix dependency 2019-09-02 21:51:13 +02:00
Martin Stockhammer 316874dc90 Removing sonatype aether dependency 2019-09-02 18:13:55 +02:00
Martin Stockhammer d3310322d0 Updating apache commons library versions 2019-09-02 16:51:46 +02:00
Martin Stockhammer 2617c860de Cleanup of maven dependency (maven-compat) 2019-09-02 10:47:56 +02:00
Martin Stockhammer 91e228fa07 Adding class from maven-compat module 2019-09-02 10:47:37 +02:00
Martin Stockhammer e2cb026d71 Fixing archiva-converter dependency 2019-09-01 23:49:01 +02:00
Martin Stockhammer 02d160e010 Removing unused archetype-common dependency 2019-09-01 23:07:54 +02:00
Martin Stockhammer 41af9aba9d Removing unused dependency 2019-09-01 22:02:51 +02:00
Martin Stockhammer 0df75b71b5 Removing duplicate dependencies 2019-09-01 21:11:47 +02:00
Martin Stockhammer 8dd880c230 Fixing enunciate configuration 2019-09-01 21:06:21 +02:00
Martin Stockhammer 316c190b1a Replacing jsr250 dependency by javax.annotations 2019-09-01 21:01:33 +02:00
Martin Stockhammer d7c3dbe771 Removing maven-artifact-manager dependency 2019-09-01 20:09:48 +02:00
Martin Stockhammer d07420aa72 Fixing bad import 2019-09-01 20:09:13 +02:00
Martin Stockhammer ef60ef8754 Cleaning up dependencies 2019-09-01 19:43:31 +02:00
Martin Stockhammer 9a2f183a4e Optimized import 2019-09-01 19:42:36 +02:00
Martin Stockhammer 697bef3066 Updating maven dependencies 2019-09-01 14:37:52 +02:00
Martin Stockhammer b8fe7825c4 Adding utility class to get rid of ant dependency 2019-09-01 14:37:34 +02:00
Martin Stockhammer c5b308a558 Removing unused dependencies in pom.xml 2019-09-01 12:37:08 +02:00
Martin Stockhammer f39fc917a8 Fixes for JDK11 2019-09-01 11:18:11 +02:00
Martin Stockhammer 36249f6646 Trying to fix merge test error on build server 2019-08-31 18:59:37 +02:00
Martin Stockhammer f1ae6b4145 Moving mavenmerge class to archiva-maven-repository module 2019-08-31 17:01:36 +02:00
Martin Stockhammer 3d2006a317 Improving error handling and log for repository scan 2019-08-31 17:00:40 +02:00
Martin Stockhammer 9bb3c0d4ce Relaxing precision for date comparison in unit test 2019-08-30 23:07:09 +02:00
Martin Stockhammer 51171b98a2 Reducing time resolution for meta artifacts 2019-08-30 19:17:31 +02:00
Joel Strasser bb0a682800
cahnge tabs-below to tabs-top; 2019-08-30 00:09:48 +02:00
Martin Stockhammer 32c4ada259 Using test loop for browse service test 2019-08-29 19:04:00 +02:00
Martin Stockhammer b782b9854f Adding license statement 2019-08-29 07:51:33 +02:00
Martin Stockhammer ee382e76f4 Fixing MPE 2019-08-29 07:51:16 +02:00
Martin Stockhammer a0c3051b16 Modifying jcr import file for schema changes 2019-08-28 19:10:50 +02:00
Martin Stockhammer 392e444cb2 Finishing JCR schema changes. Using dedicated primary types. 2019-08-28 07:49:22 +02:00
Martin Stockhammer 31fd0d917e Migrating to primaryTypes and modifying dependencies 2019-08-27 22:09:09 +02:00
Martin Stockhammer 28ae84d45a Changing artifacts.xml for statistics test 2019-08-26 23:47:22 +02:00
Martin Stockhammer 8329523bf5 Fixing facet retrieval 2019-08-26 21:40:49 +02:00
Martin Stockhammer a2dd2a16b8 Migrating to JCR primary types 2019-08-26 19:12:50 +02:00
Martin Stockhammer 81be348796 Switching to list as return values. 2019-08-25 22:29:00 +02:00
Martin Stockhammer 8f42ce002c Changing method names and adding javadoc for metarepository 2019-08-25 19:55:00 +02:00
Martin Stockhammer 811c445f04 Changing contract for nullable parameters 2019-08-25 13:50:55 +02:00
Martin Stockhammer 232ac43077 Adding generic checksum storage for artifacts 2019-08-25 13:14:59 +02:00
Martin Stockhammer 63cbe9b685 Adding stream methods for artifact search 2019-08-24 22:11:44 +02:00
Martin Stockhammer ecec848cff Changing checksum handling in metadata 2019-08-24 17:09:57 +02:00
Martin Stockhammer 31e8442fad Fixing TZ for time storage. Adding stream implementations. 2019-08-21 22:44:40 +02:00
Martin Stockhammer 37a92817ef Adding query param object for search queries 2019-08-21 10:29:31 +02:00
Martin Stockhammer f100559586 Changing time type for modification time 2019-08-21 07:33:47 +02:00
Martin Stockhammer cda4ac8085 Fixing cassandra stream api 2019-08-20 23:07:22 +02:00
Martin Stockhammer 379a72c3b7 Changing time parameter 2019-08-20 20:08:49 +02:00
Martin Stockhammer 7a5bc65de4 Implementing stream methods. Changing date arguments to java time API. 2019-08-20 10:01:49 +02:00
Martin Stockhammer d4ce38836d Implementing new stream methods 2019-08-20 00:08:08 +02:00
Martin Stockhammer 6cf4073a9e Changing facet factories. Adding stream methods to metadata repository. 2019-08-18 20:56:46 +02:00
Martin Stockhammer 118604a706 Fixing unit tests 2019-08-16 22:36:09 +02:00
Martin Stockhammer e4f38c2fbe Improving metadata session handling and JCR indexing 2019-08-15 22:54:14 +02:00
Martin Stockhammer 21d5cf53fe Refactoring repository metadata session handling 2019-08-06 22:06:57 +02:00
Martin Stockhammer eca0097d85 Changing session handling for metadata API 2019-08-04 22:40:04 +02:00
Martin Stockhammer ee2c1a7b2b Fixing paths in unit tests 2019-08-03 21:00:48 +02:00
Martin Stockhammer 34806cdf35 Using repository copies in unit tests 2019-08-03 20:34:28 +02:00
Martin Stockhammer 9ebf8c8880 Fixing Unit Tests 2019-08-03 16:02:09 +02:00
Martin Stockhammer c56ce11c20 Fixing unit tests 2019-08-02 23:49:08 +02:00
Martin Stockhammer bb3b074aaf Refactoring to StorageAsset access 2019-07-28 15:24:13 +02:00
Martin Stockhammer 8e4acdc82a Migrating to storage API 2019-07-19 19:29:01 +02:00
Martin Stockhammer d599b89e3d Removing usage of Repository.getLocalPath 2019-07-14 01:18:42 +02:00
Martin Stockhammer 830ea54e0c Moving storage api to repository level 2019-07-11 23:28:01 +02:00
Martin Stockhammer cf448e457b Moving converter to maven folder 2019-07-10 23:30:35 +02:00
Martin Stockhammer 7eb0f48b5a Fixing test failures after refactoring 2019-07-10 22:07:35 +02:00
Martin Stockhammer 56ce684ea6 Fixing test errors after refactoring 2019-07-09 21:28:00 +02:00
Martin Stockhammer 9ca52f4e27 Fixing tests after refactoring 2019-06-30 22:47:24 +02:00
Martin Stockhammer 23099bcb58 Fixing test errors after refactoring 2019-06-28 17:15:21 +02:00
Martin Stockhammer b48158fdcd Fixing RepositoryGroupAdmin after refactor 2019-06-22 08:03:00 +02:00
Martin Stockhammer a52b7f2005 Adding context merge to provider 2019-06-22 03:43:52 +02:00
Martin Stockhammer 380c152114 Using storageAsset for Index API 2019-06-22 19:31:49 +02:00
Martin Stockhammer 240292077e Switching to asset API 2019-06-20 19:25:28 +02:00
Martin Stockhammer 42257e9033 Using asset API in DAV 2019-06-10 23:34:13 +02:00
Martin Stockhammer dac24551d0 Changes for updated interfaces 2019-06-10 10:15:25 +02:00
Martin Stockhammer e77759901e Changes for updated interfaces 2019-06-10 10:15:16 +02:00
Martin Stockhammer aa68c370b2 Refactoring index merger 2019-06-06 21:37:19 +02:00
Martin Stockhammer c2bbd80b1b Adding type for repository group config 2019-06-06 21:36:46 +02:00
Martin Stockhammer 6c0afa8b8f Adding test for repository group implementation 2019-05-25 10:50:36 +02:00
Martin Stockhammer a024df32a4 Fixing repository group implementation 2019-05-25 10:32:19 +02:00
Martin Stockhammer 922d543915 Reducing capabilities for repository group 2019-05-25 10:31:48 +02:00
Martin Stockhammer 12c05a8d1a Adding default location to repository 2019-05-25 10:31:14 +02:00
Martin Stockhammer aabd20f668 Fixing exception handling for filesystem storage initialization 2019-05-25 10:30:34 +02:00
Martin Stockhammer 53c58d457d Adding new methods after interface change 2019-05-25 10:29:55 +02:00
Martin Stockhammer ebd149e6b3 Fixing error for setting repository list 2019-05-25 10:25:39 +02:00
Martin Stockhammer 3b1d213a5b Using new storage API for DAV implementation 2019-05-19 17:36:31 +02:00
Martin Stockhammer 4c5e00e833 Adding repository group 2019-05-19 17:35:34 +02:00
Martin Stockhammer 17c3bb60da Switching to repository storage API 2019-05-19 17:34:57 +02:00
Martin Stockhammer 7d37fdc65b Adding new group properties to configuration 2019-05-19 17:31:58 +02:00
Martin Stockhammer 631ccdf517 Adding storage implementations 2019-05-19 17:30:10 +02:00
Martin Stockhammer 02cf1bd7e7 Adding repository storage API 2019-05-19 17:28:09 +02:00
Martin Stockhammer f3aa14f3e2 Refactoring storage access and webdav 2019-05-13 22:23:01 +02:00
Martin Stockhammer 7adddbe141 Changing maven implementation to new RequestInfo interface 2019-05-09 22:58:14 +02:00
Martin Stockhammer 79c77136b9 Adding interface for request path handling. 2019-05-09 09:40:15 +02:00
Martin Stockhammer 8335c60215 Moving filter API to common module 2019-05-08 19:38:23 +02:00
Martin Stockhammer a13bfb5a01 Moving maven specific modules 2019-05-06 22:08:19 +02:00
Martin Stockhammer 79bee6e847 Combining maven specific packages into subdirectory and package structure. 2019-05-05 21:46:25 +02:00
Martin Stockhammer 2e2018dbac Improving checksum implementation. Adding multiple algorithms. 2019-05-04 21:18:26 +02:00
Martin Stockhammer 8d73738906 Removing tomcat artifact 2019-05-04 21:14:40 +02:00
Martin Stockhammer 9b22c397c2 Reformatting configuration reader writer 2019-05-04 13:25:55 +02:00
Martin Stockhammer 0e09883158 Using new artifact util in upload service 2019-05-04 10:49:34 +02:00
Martin Stockhammer a3c149327e Adding utility for artifact path handling 2019-05-04 10:48:48 +02:00
Martin Stockhammer 8a13d818fe [MRM-1987] Improving URL check for organisation info
(cherry picked from commit 796716d441)

This is the final commit from the 2.x branch of multiple commits to fix the vulnerabilities
CVE-2019-0213 and CVE-2019-0214
2019-05-03 20:51:05 +02:00
Martin Stockhammer 2ade46ab20 [MRM-1972] Adding additional encoding for name value
(cherry picked from commit 8e5fdd4536)
2019-05-03 20:48:31 +02:00
Martin Stockhammer 6160966fa0 Adding error handling for new validations. Fix web ui tests.
(cherry picked from commit d4be8968cf)
2019-05-03 20:48:31 +02:00
Martin Stockhammer 4fe9a38bea Adding additional verifications for upload
(cherry picked from commit cc0d8ad0b5)
2019-05-03 20:48:31 +02:00
Martin Stockhammer 05e1c462af Merging upload artifact test to this archiva version 2019-05-03 20:48:31 +02:00
Martin Stockhammer c347ee5541 Adding parameter checks
(cherry picked from commit 29e40eae69)
2019-05-03 20:48:31 +02:00
Martin Stockhammer acb431b0bf Fixing unit tests for upload 2019-05-03 20:48:31 +02:00
Martin Stockhammer d3582e5897 Adding additional tests
(cherry picked from commit 0151aeded5)
2019-05-03 20:48:31 +02:00
Martin Stockhammer 747cc55b24 Adding additional verifications for upload
(cherry picked from commit c5bcbaabed)
2019-05-03 20:49:42 +02:00
Martin Stockhammer 0102f34cfe Adding upload unit tests
(cherry picked from commit 52b971c593)
2019-05-03 20:49:18 +02:00
Martin Stockhammer 890bca0be6 Add url validation for certain fields
(cherry picked from commit a36035b49b)
2019-05-03 20:48:55 +02:00
Martin Stockhammer a9ebba65ac Adding config file removal before tests
(cherry picked from commit 63154a6af8)
2019-05-03 20:48:31 +02:00
Martin Stockhammer d1242030bf Fixing dependency warnings 2019-02-13 18:20:25 +01:00
Martin Stockhammer 9fff17411d Deactivating code generation for model project 2019-02-12 19:18:49 +01:00
Martin Stockhammer 790e38f5ec Deactivating code generation.
Moving generated code to src tree.
Adding licensing part to files
2019-02-11 19:44:43 +01:00
Martin Stockhammer b639d3ee50 Fixing dependency for JDK>=9 2019-02-10 15:36:08 +01:00
Martin Stockhammer 7a0e81d515 Fixing unit tests after refactoring 2019-02-10 12:53:02 +01:00
Martin Stockhammer 21220fcd57 Starting refactoring of proxy handling. 2019-01-31 22:49:06 +01:00
jacobtolar cbd5517182
fix various typos in string messages 2019-01-29 12:14:33 -06:00
Martin Stockhammer 3da7b8ff94 Adding jabx dependency for JDK11
The dependency is needed by enunciate plugin. It is not sufficient to add it as plugin dependency.
Using profile for selecting JDK9+ only and adding it as 'provided' scope.
2019-01-20 22:20:25 +01:00
Martin Stockhammer fd76848d46 Fixing web tests: Changing jetty module version. Increasing some timeouts. 2019-01-20 18:49:42 +01:00
olivier lamy 5e7d541cf1 no more osgi bundle as no one use it and the build stucks on Jenkins because of this
Signed-off-by: olivier lamy <olamy@apache.org>
2018-12-31 17:00:54 +10:00
olivier lamy 1472fd224f use jettt version property from parent pom
Signed-off-by: olivier lamy <olamy@apache.org>
2018-12-31 15:57:55 +10:00
olivier lamy 260aa4c9e6 trying to fix build on empty maven repo
Signed-off-by: olivier lamy <olamy@apache.org>
2018-12-13 12:57:25 +10:00
olivier lamy 45df15b7ad align surefire version
Signed-off-by: olivier lamy <olamy@apache.org>
2018-12-13 12:43:16 +10:00
Martin Stockhammer ee00a556ec Merging publish changes from 'feature/site-git-migration' 2018-12-11 21:03:24 +01:00
Martin Stockhammer 92626def5a Activating new git web publish repository 2018-12-11 20:59:14 +01:00
Martin Stockhammer 920083ef54 Adding site deploy script for archiva-docs. Using https urls. 2018-11-22 20:32:24 +01:00
Martin Stockhammer f528b1addc Adding script for site publish and some documentation 2018-11-15 22:11:20 +01:00
Martin Stockhammer 76c17e2cea Adding bean for maven repositorysystem management 2018-11-07 22:14:18 +01:00
Martin Stockhammer e66582f765 Improving logging statements 2018-11-07 20:19:05 +01:00
Martin Stockhammer b617390a88 Removing unneeded dependencies 2018-11-07 20:17:56 +01:00
Martin Stockhammer 3762fc3279 Refactoring and switching to current maven API 2018-11-07 19:03:13 +01:00
Martin Stockhammer d712278c12 Fixing paths and plugin execution 2018-11-04 15:31:11 +01:00
Martin Stockhammer 586f3c3c2b Adding archiva-modules site build changes for git migration 2018-11-04 13:34:47 +01:00
Martin Stockhammer 39b2449b7d Switching to forked tests in webdav project 2018-11-01 14:02:41 +01:00
Martin Stockhammer 956818e3e6 Running rest tests concurrently to reduce build time 2018-10-31 16:32:09 +01:00
Martin Stockhammer f9073a2c7d Improving tests to make them idempotent. 2018-10-30 14:30:55 +01:00
Martin Stockhammer 8160004309 Changing deps from eclipse.aether to maven-resolver 2018-10-29 11:10:35 +01:00
Martin Stockhammer df330893d7 Moving dependency versions to main project 2018-10-28 15:48:01 +01:00
Martin Stockhammer d39977c413 Fixing dependencies and adapting to new lib versions 2018-10-28 13:04:30 +01:00
Martin Stockhammer 24ee701d1d Changing aether dependencies from sonatype to eclipse. Compile OK. 2018-10-26 22:23:45 +02:00
Martin Stockhammer ba75d27818 Changing maven version and removing plexus deps 2018-10-26 21:03:19 +02:00
Martin Stockhammer c069d160f9 Adding environment variable for user config file 2018-10-25 22:04:55 +02:00
Martin Stockhammer 1ce7039d4f Adding env variable for user config file 2018-10-25 12:25:33 +02:00
Martin Stockhammer 9351c66bc8 Another try to fix the ciserver issue for webtest 2018-05-24 23:51:50 +02:00
Martin Stockhammer 9ff0b63d8b Another try to fix webapp test issues on ciserver 2018-05-23 20:52:17 +02:00
Martin Stockhammer 6ae9703f1d Modifying dependencies to fix webui test failures
There is a guava compatibility problem with the selenium test
Removing the dependencies that came with the new cassandra version
2018-05-21 01:05:19 +02:00
Martin Stockhammer 128bd5464c Changing cassandra version for better JDK>=9 compatibility 2018-05-20 15:24:30 +02:00
Martin Stockhammer 27f5fd524c Preparing for JDK>=9 compatibility 2018-05-19 19:07:44 +02:00
Martin Stockhammer 214bdc4360 Fixing build and test configuration 2018-05-02 23:10:06 +02:00
Martin Stockhammer 91274a1281 Increasing start wait timeout for cassandra 2018-05-02 17:21:25 +02:00
Martin Stockhammer a11df32b72 Adapting test config for new url cache path 2018-05-02 07:20:57 +02:00
Martin Stockhammer 8b16d7b24a Changing path for url cache 2018-05-01 20:19:20 +02:00
olivier lamy bb8f3e79fb fix archetype build empty repo
Signed-off-by: olivier lamy <olamy@apache.org>
2018-04-18 16:00:05 +10:00
olivier lamy a79c7cb9bb fix archetype build empty repo
Signed-off-by: olivier lamy <olamy@apache.org>
2018-04-18 15:24:35 +10:00
olivier lamy fc476e0a0f align compiler plugin version
Signed-off-by: olivier lamy <olamy@apache.org>
2018-04-18 14:58:17 +10:00
Martin Stockhammer 4b6ee0e554 Extracting maven specific scheduler part to single module 2018-04-16 23:39:39 +02:00
Martin Stockhammer ec8e6600ce Reducing compiler warnings and adapting to redback changes 2018-04-08 21:06:49 +02:00
Martin Stockhammer 4175f2c2d7 Removing deprecated marker for comparator 2018-04-08 19:44:58 +02:00
Martin Stockhammer f59dd279cb Adaption to generics changes in Redback interfaces 2018-04-08 18:38:53 +02:00
Martin Stockhammer d3564941d5 Moving references to repositoryRegistry 2018-04-08 00:32:46 +02:00
Martin Stockhammer 2ef9315447 Removing repositoryAdmin dependency 2018-04-07 20:30:27 +02:00
Martin Stockhammer ae49e50067 Migrating usage of repositoryAdmin to repositoryRegistry 2018-04-07 19:59:13 +02:00
Martin Stockhammer 06fcbdbbb8 Changing URL for connectivity tests 2018-04-06 23:14:17 +02:00
Martin Stockhammer a2febcecd9 Generics and cleanup to reduce compiler warnings 2018-04-02 21:35:47 +02:00
Martin Stockhammer 0f400d66a3 Adding generics and reducing compiler warnings 2018-04-02 10:46:34 +02:00
Martin Stockhammer d422c87783 Changing JCR queries to new syntax 2018-04-02 00:28:02 +02:00
Martin Stockhammer 60bbe9dde6 Trying to remove compiler warning 2018-04-02 00:22:19 +02:00
Martin Stockhammer 83df105260 Reducing compiler warnings 2018-04-01 19:40:26 +02:00
Martin Stockhammer cf347e1eb8 Reducing compiler warnings 2018-04-01 18:45:33 +02:00
Martin Stockhammer 98236b99cb Switching to apache commons collections4 2018-04-01 17:21:48 +02:00
Martin Stockhammer b3335cf6e5 Changes to avoid compile warnings 2018-04-01 12:28:28 +02:00
Martin Stockhammer f8a9bc1640 Changing the event system to use the checksum module 2018-04-01 09:54:30 +02:00
Martin Stockhammer fbf5e991b3 Unifying checksum code into the checksum module 2018-03-31 19:20:30 +02:00
Martin Stockhammer 0d6ee3dbd9 Adding ChecksumValidator and removing SiSu Plexus dependency 2018-03-30 22:59:16 +02:00
Martin Stockhammer 49033ee6dc Removing sisu dependency 2018-03-30 22:58:39 +02:00
Martin Stockhammer f101252375 Reorganizing imports 2018-03-30 20:11:57 +02:00
Martin Stockhammer f7facffea7 Removing nexus indexer from startup 2018-03-30 19:37:47 +02:00
Martin Stockhammer c424149d1c Updating index merge to new maven api 2018-03-30 19:35:16 +02:00
Martin Stockhammer 8cb4ef0aea Cleaning up indexing task 2018-03-30 17:33:54 +02:00
Martin Stockhammer 32acbe20f3 Adding Null checks for selenium 2018-03-30 17:32:16 +02:00
Martin Stockhammer c002211a10 Removing IndexerCleaners 2018-03-30 15:15:26 +02:00
Martin Stockhammer 42376e8fbf Removing unused dependencies 2018-03-30 13:41:05 +02:00
Martin Stockhammer 4ca2dc8ff9 Changing log statement 2018-03-30 12:47:58 +02:00
Martin Stockhammer ee953f8d13 Removing NexusIndexer references 2018-03-30 12:47:39 +02:00
Martin Stockhammer 9cd3c61340 Adding packedIndexDir 2018-03-29 23:47:13 +02:00
Martin Stockhammer f18aa86c68 Adding packingIndexDir and event 2018-03-29 23:46:51 +02:00
Martin Stockhammer 8b790550b2 Adding toString method 2018-03-29 23:45:15 +02:00
Martin Stockhammer 71c5f4f22c Adding ignore file 2018-03-29 23:44:33 +02:00
Martin Stockhammer 2541e48dce Adapting to event api change 2018-03-27 07:57:58 +02:00
Martin Stockhammer 663768d83a Moving code to repository registry 2018-03-27 07:57:29 +02:00
Martin Stockhammer 58a377b372 Cleaning up imports 2018-03-27 07:56:53 +02:00
Martin Stockhammer 4ea420ae99 Changing event api 2018-03-27 07:56:12 +02:00
Martin Stockhammer d1fcc2dd2e Updating indexing path 2018-03-27 07:32:34 +02:00
Martin Stockhammer 0ef19fe338 Moving repo features to API module 2018-03-27 07:31:04 +02:00
Martin Stockhammer c544376afb Switching repository admin and dependent classes to RepositoryRegistry
RepositoryRegistry is used for indexing context now. There is still more work to do
to move the maven dependent parts into its own projects and update the dependencies.
2018-03-24 17:44:13 +01:00
olivier lamy e496502c45 use last jetty version and upgrade oak as well
Signed-off-by: olivier lamy <olamy@apache.org>
2017-11-30 18:00:17 +11:00
Martin Stockhammer ae36964e7d [MRM-1966] Fixing error for 0 value of daysOlder entry
UI did not allow to enter value 0 for the daysOlder value.
2017-11-24 20:29:17 +01:00
Martin Stockhammer 7543d8149c Updating indexmanager interface and completing test case 2017-11-21 20:52:43 +01:00
Martin Stockhammer 21f31d04c2 Switching path in indexer api to uri adding additional tests 2017-11-20 21:48:17 +01:00
Martin Stockhammer 754b2d5940 Adding local path to repository API 2017-11-20 08:20:42 +01:00
Martin Stockhammer 2fe8227634 Resolving base paths in archiva configuration
Adding methods for retrieving base path information to ArchivaConfiguration
resolving paths according to the configuration entries.
2017-11-16 20:01:32 +01:00
Martin Stockhammer bc9256ad08 Trying to fix the archetype error on ci-build 2017-11-15 22:17:32 +01:00
Martin Stockhammer 8a131a6145 Changing log level to find out about ci build error
CI build throws a permission denied error on the Consumer Archetype test.
2017-11-15 21:44:00 +01:00
olivier lamy 71f3ec4230 remove duplicate dependency
Signed-off-by: olivier lamy <olamy@apache.org>
2017-11-14 13:23:29 +11:00
Martin Stockhammer f4a2623aa0 Implementing artifact add and removal in IndexManager 2017-11-13 18:25:00 +01:00
Martin Stockhammer a4c023ab05 Implementing indexer methods 2017-11-12 23:41:00 +01:00
Martin Stockhammer c6e4e563d6 Implementation of new archivaindexer
Not finished yet, but uses the maven index service via spring dependency injection
Moving some maven specific classes to subpackages
2017-11-11 00:07:56 +01:00
Martin Stockhammer 8f520999ff Adding indexmanager changes 2017-11-09 19:11:44 +01:00
Martin Stockhammer 3316366287 Fixing recursive call for stage repos 2017-11-09 19:11:21 +01:00
Martin Stockhammer 6899bc54a7 Fxing unit tests for RepositoryRegistry 2017-11-09 19:10:21 +01:00
Martin Stockhammer 07d51cc356 Renaming archiva-indexer module to archiva-maven2-indexer 2017-11-09 17:45:32 +01:00
Martin Stockhammer e4af2d6c41 Moving some interfaces to the repository-api module 2017-11-09 17:32:45 +01:00
Martin Stockhammer e2cdbc2b72 Rearranging modules and adding indexer api
Combining the indexer api and repository api into archiva-repository-api
They have bidirectional dependencies so they are put together in one module.

Adding new classes for a generalized indexer api that will be used for interfaces
and implementation independent tasks.
2017-11-08 22:59:33 +01:00
Martin Stockhammer 2ab8942ccf Extracting indexing api as single module
[MRM-1964] Step to move all indexing features behind archiva API
2017-11-05 19:36:42 +01:00
Martin Stockhammer 77c375434f Fixing window size issues with selenium driver 2017-11-04 12:04:19 +01:00
Martin Stockhammer 8b3de94f77 Adding another hack for selenium tests 2017-11-02 21:53:11 +01:00
Martin Stockhammer 8070af6128 Changing content access to repository registry 2017-11-02 21:52:53 +01:00
Martin Stockhammer 97b2c9c909 Refactoring the repository content factory
Adding content provider service that creates repository content instances
remove direct access to the repository content instances.
2017-11-01 22:52:14 +01:00
Martin Stockhammer dfbe05b8ab Fixing module reference
Removed reference to module in pom.xml that does not exist.
2017-11-01 16:09:41 +01:00
Martin Stockhammer 17f2989fe1 Adapting some plugins to the new repository api 2017-11-01 15:40:05 +01:00
Martin Stockhammer e4941b4696 Adapting the metadata module to the new repository api 2017-11-01 15:39:41 +01:00
Martin Stockhammer d6120d6c22 Adapting the web modules to the new repository api 2017-11-01 15:39:07 +01:00
Martin Stockhammer 32ff2ca265 Adapting the scheduler to the new repository api 2017-11-01 15:38:42 +01:00
Martin Stockhammer 9469c1b67f Adapting base modules to the new repository api
Using the repository api and RepositoryRegistry for repo access
2017-11-01 15:38:00 +01:00
Martin Stockhammer 3dc85427b3 Adding utility method for uri conversion 2017-11-01 15:35:50 +01:00
Martin Stockhammer 763991b3d9 Adapting maven repository provider to new repository api
Using the new repository interfaces where necessary.
2017-11-01 15:34:34 +01:00
Martin Stockhammer 4bcf4c0cd0 Adapting consumers to new repository api interfaces.
Using the repository api where necessary.
2017-11-01 15:33:06 +01:00
Martin Stockhammer fd51964c13 Using RepositoryRegistry in repository admin implementations
Switching to the repository registry to retrieve repository data.
Indexing is currently kept in the admin part, but will be moved in the future
to the registry.
2017-11-01 15:30:35 +01:00
Martin Stockhammer d6e4a5b485 Changing repository registry and layer
Adding unit tests for the registry.
Fixing some uri issues.
Removing dependency to consumer to break circular dependency
2017-11-01 15:27:45 +01:00
Martin Stockhammer 55f72f2824 Changed configuration model 2017-11-01 15:26:06 +01:00
Martin Stockhammer 89f7aa3416 Adding language settings to configuration 2017-10-25 22:59:26 +02:00
Martin Stockhammer 1026c8eeb8 Adding absolute URI to repositories 2017-10-22 18:22:03 +02:00
Martin Stockhammer acbcb48747 Adding data path to configuration 2017-10-22 17:01:27 +02:00
Martin Stockhammer cb38dbbbc6 Changing the initialization behaviour of metadata repo factory 2017-10-21 14:42:32 +02:00
Martin Stockhammer 2c12980a3a Adding configuration entry and removing old v1 repositories 2017-10-21 14:41:59 +02:00
Martin Stockhammer 5416993a99 Improving repository registry 2017-10-17 23:12:33 +02:00
Martin Stockhammer 4a3d11737e Improving repository provider 2017-10-15 23:36:30 +02:00
Martin Stockhammer 5121735795 Adding maven repo implementation and unit test 2017-10-13 22:23:08 +02:00
Martin Stockhammer 267b6a702b Repository changes and implementation of provider 2017-10-07 19:56:00 +02:00
Martin Stockhammer a34090cf93 Reverting the schedule definition back to cron string
Considered it too complex to convert the cron expressions into java interface
that takes all features into account that are possible by quartz cron strings.
2017-10-06 07:39:02 +02:00
Martin Stockhammer 1b7b2dbfc5 Fixing syntax error 2017-10-03 23:49:58 +02:00
Martin Stockhammer 9706f85fdc Adding some (imcomplete) changes to the scheduling part 2017-10-03 21:52:45 +02:00
Martin Stockhammer e0eff36ebc Changing daysOlder to retentionTime 2017-10-03 19:50:23 +02:00
Martin Stockhammer 3976c3fb23 Adding maven repository implementation 2017-10-03 19:27:15 +02:00
Martin Stockhammer 1b89266820 Some progress in repository abstraction 2017-10-03 18:46:16 +02:00
Martin Stockhammer 93af7e9457 Adding repository registry 2017-10-02 22:21:26 +02:00
Martin Stockhammer 656af5ce4d Adding new interface for repository
Adding interfaces for managed and remote repositories. Features
that may not be common for repository implementations use the
RepositoryFeature interface.
2017-09-30 23:35:35 +02:00
Martin Stockhammer bed24eac44 Finally switching the file lock to java.nio 2017-09-20 22:34:10 +02:00
Martin Stockhammer 5806dc2980 Switching some more files to java.nio 2017-09-20 21:39:27 +02:00
Martin Stockhammer 3ae101f7a9 Adding retry to some tests because of async index updates
Adding tryAssert function that does repeatedly run the assert
function, because JCR Oak uses asynchronous index updates and changes
are not reflected immediately in the index.
2017-09-19 13:20:54 +02:00
Martin Stockhammer d9beaa1d2b Migrating repository merger to java.nio 2017-09-14 19:50:31 +02:00
Martin Stockhammer 0eadc9bab1 Migrating maven2-repository to java.nio 2017-09-14 07:45:04 +02:00