Commit Graph

454 Commits

Author SHA1 Message Date
Martin Stockhammer d3310322d0 Updating apache commons library versions 2019-09-02 16:51:46 +02:00
Martin Stockhammer 41af9aba9d Removing unused dependency 2019-09-01 22:02:51 +02:00
Martin Stockhammer 316c190b1a Replacing jsr250 dependency by javax.annotations 2019-09-01 21:01:33 +02:00
Martin Stockhammer 118604a706 Fixing unit tests 2019-08-16 22:36:09 +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 bb3b074aaf Refactoring to StorageAsset access 2019-07-28 15:24:13 +02:00
Martin Stockhammer d599b89e3d Removing usage of Repository.getLocalPath 2019-07-14 01:18:42 +02:00
Martin Stockhammer 9ca52f4e27 Fixing tests after refactoring 2019-06-30 22:47:24 +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 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 a13bfb5a01 Moving maven specific modules 2019-05-06 22:08:19 +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 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 21220fcd57 Starting refactoring of proxy handling. 2019-01-31 22:49:06 +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
Martin Stockhammer 586f3c3c2b Adding archiva-modules site build changes for git migration 2018-11-04 13:34:47 +01:00
Martin Stockhammer d39977c413 Fixing dependencies and adapting to new lib versions 2018-10-28 13:04:30 +01: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 f101252375 Reorganizing imports 2018-03-30 20:11:57 +02:00
Martin Stockhammer c002211a10 Removing IndexerCleaners 2018-03-30 15:15:26 +02:00
Martin Stockhammer 9cd3c61340 Adding packedIndexDir 2018-03-29 23:47:13 +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 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
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 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 e0eff36ebc Changing daysOlder to retentionTime 2017-10-03 19:50:23 +02:00
Martin Stockhammer d721477935 Migration repository admin to java.nio 2017-09-08 11:41:32 +02:00
Martin Stockhammer c8b3346225 Moving indexer to java.nio 2017-09-04 23:18:30 +02:00
Martin Stockhammer cd1f4a9e79 Switching the checksum module to java.nio 2017-09-02 22:05:16 +02:00
olivier lamy 7a2710ec0a Merge branch 'feature/jcr_oak' 2017-08-19 21:37:35 +10:00
olivier lamy 2351414ee6 take care of too old repository
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-15 19:55:54 +10:00
Daniel Trebbien 0b15664f1c Utilize parameterized logging and remove toString() calls
As suggested in the SLF4J FAQ:
https://www.slf4j.org/faq.html#logging_performance
.. parameterized logging can improve the efficiency of logger calls when
logging at the specified level is disabled.

In addition, per the FAQ: https://www.slf4j.org/faq.html#paramException
since SLF4J 1.6.0 it is possible to use parameterized logging and also
log an exception/throwable.

toString() is called automatically:
https://www.slf4j.org/faq.html#string_contents

These changes were suggested by SLF4J Helper for NetBeans IDE:
http://plugins.netbeans.org/plugin/72557/
2017-07-30 13:26:05 -07:00
olivier lamy 8a76b99641 more progress on oak lucene shaded
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-24 14:56:21 +10:00
Martin Stockhammer f637c02c71 [MRM-1957] Spliting statistics plugin module
Adding new API module (metadata-statistics-api) for statistics and move the
jcr specific tasks to the metadata store module.

Providing interfaces for the statistics API.

Removing dependencies to store specific libraries (like JCR) from the statistic
modules.
2017-07-16 17:56:54 +02:00
olivier lamy 22430044a4 push work started with shaded lucene
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-07 17:20:47 +10:00
olivier lamy 0bfead8264 some progress on new indexer
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-24 09:33:50 +10:00
olivier lamy f0ba11a2f8 indexer is not using plexus bridge anymore
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-24 09:05:49 +10:00
Martin Stockhammer 7d2cc26b4b Adding jcr oak implementation 2017-06-24 09:05:49 +10:00
olivier lamy 4b6131e8ba take of default now jpa, jdo not exists anymore so handle migration
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-26 12:04:44 +10:00
Martin Stockhammer 7e6ad27e07 Centralizing openjpa log config 2017-05-21 22:36:03 +02:00
Martin Stockhammer acc02bf962 [MRM-1942] Merge branch 'jpa' into master
Removing JDO and add JPA backend.
2017-05-20 23:15:10 +02:00
olivier lamy 053315826d bump version to 3.0.0-SNAPSHOT
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-18 15:04:58 +10:00
Martin Stockhammer a43d980be3 [maven-release-plugin] prepare for next development iteration 2017-05-12 21:36:19 +02:00
Martin Stockhammer e80c3cd529 [maven-release-plugin] prepare release archiva-2.2.3 2017-05-12 21:36:09 +02:00
Martin Stockhammer 1acc6e7b84 Adding check path to remote repositories
Allow to set a check path for connection checks to the remote repositories.
This is useful for repositories that do not allow to browse the base directory.

Improved the fix for MRM-1933
2017-05-10 21:39:15 +02:00
Martin Stockhammer 2bf5154f13 MRM-1933, MRM-1940: Fixing repository check
Remove trailing slashes from the remote repositories
Use special check paths for certain servers
2017-05-04 00:22:31 +02:00
Martin Stockhammer 0626aa2bde Going back to version 2.2.3 2017-04-28 00:33:58 +02:00
Martin Stockhammer 9d60ac3832 Fixing redback runtime configuration of list properties 2017-04-28 00:32:24 +02:00
Martin Stockhammer 04e221a571 [maven-release-plugin] prepare for next development iteration 2017-04-21 22:56:58 +02:00
Martin Stockhammer 41327eebf1 [maven-release-plugin] prepare release archiva-2.2.2 2017-04-21 22:56:47 +02:00
Martin Stockhammer dd311845e1 Use JPA as default and only database backend
Remove the JDO dependencies and set the JPA implementation as only
database alternative and default implementation. Uses the same database
as JDO before.
2016-12-30 15:35:19 +01:00
Martin Stockhammer e6950bba28 Add jpa settings to test spring contexts 2016-10-26 23:27:26 +02:00
olivier lamy e2482432b2 [maven-release-plugin] prepare for next development iteration 2016-05-23 10:38:28 +10:00
olivier lamy 64f4bc5e0e [maven-release-plugin] prepare release archiva-2.2.1 2016-05-23 10:38:19 +10:00
olivier lamy 5e9cb64d9d fix javadoc error
Signed-off-by: olivier lamy <olamy@apache.org>
2016-05-20 12:43:22 +10:00
Olivier Lamy 68acaa287c revert wrong change 2015-10-06 17:31:51 +11:00
Olivier Lamy aabbc2d52c add more mock for consumer archetype test 2015-10-06 17:27:07 +11:00
Olivier Lamy e62d96a1fa add a new module with mock for test 2015-10-01 14:51:45 +10:00
Olivier Lamy 73d92ab376 [MRM-1895] upgrade to wagon 2.8 2015-07-22 21:36:48 +10:00
Olivier Lamy 46ccfb47a6 [maven-release-plugin] prepare for next development iteration 2015-02-24 21:55:57 +11:00
Olivier Lamy e5500cce83 [maven-release-plugin] prepare release archiva-2.2.0 2015-02-24 21:55:45 +11:00
Olivier Lamy 66a67966e6 fix toString and upgrade httpclient version 2015-01-16 14:57:28 +11:00
Carlos Sanchez f11f39932a [MRM-1390] Bump version to 2.2.0 2014-12-01 16:56:43 +01:00
Olivier Lamy d9473241c9 format and debug infos 2014-11-27 15:32:24 +11:00
Olivier Lamy aa9bfe5eb3 merge branch from Carlos. Thanks mate!! 2014-11-17 10:43:06 +11:00
Carlos Sanchez 63479200ce Add a AbstractMetadataRepository to remove duplicated code 2014-11-06 13:39:28 +01:00
Olivier Lamy 021bbaf5a1 [MRM-1807] Archiva wrapper fail to start 2014-11-05 21:39:00 +11:00
Brett Porter f21dcf5ef5 [MRM-1864] use SSL by default for central
This matches the default configuration used in the latest version of Maven.
2014-10-09 19:04:26 +11:00
Olivier Lamy ede01e523e [maven-release-plugin] prepare for next development iteration 2014-09-01 15:15:00 +10:00
Olivier Lamy aca120c87c [maven-release-plugin] prepare release archiva-2.1.1 2014-09-01 15:14:47 +10:00
Brett Porter fafb8d284f split out audit facet and listener to match others
by placing these in the metadata model / API they can be used more broadly,
while the storage-dependant implementation can be in a plugin. This means the
plugins can be removed from the admin implementation, which can then be used
(as required) in the CLI
2014-07-31 15:10:37 +10:00
Olivier Lamy f051ac2796 [maven-release-plugin] prepare for next development iteration 2014-07-16 10:51:34 +10:00
Olivier Lamy 93eafa089c [maven-release-plugin] prepare release archiva-2.1.0 2014-07-16 10:51:21 +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 d9de8dc7af use diamond operator 2014-04-10 11:43:11 +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 6cd50e9737 fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583875 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 04:36:08 +00:00
Olivier Lamy 668d12030b invalidate namespace cache when deleting a repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583869 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 04:04:10 +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 d7b9b3e9f1 format code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1571849 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 22:41:23 +00:00
Olivier Lamy 97a4b06e0b format code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1571848 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 22:41:13 +00:00
Olivier Lamy 73b0d6bf95 more logs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1571847 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 22:41:04 +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