224 Commits

Author SHA1 Message Date
Martin Stockhammer
754b2d5940 Adding local path to repository API 2017-11-20 08:20:42 +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
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
4bcf4c0cd0 Adapting consumers to new repository api interfaces.
Using the repository api where necessary.
2017-11-01 15:33:06 +01:00
Martin Stockhammer
2c12980a3a Adding configuration entry and removing old v1 repositories 2017-10-21 14:41:59 +02:00
Martin Stockhammer
e0eff36ebc Changing daysOlder to retentionTime 2017-10-03 19:50:23 +02:00
Martin Stockhammer
0eadc9bab1 Migrating maven2-repository to java.nio 2017-09-14 07:45:04 +02:00
Martin Stockhammer
7503cb83e3 Migrating consumers to java.nio 2017-09-10 13:41:44 +02:00
Martin Stockhammer
cd1f4a9e79 Switching the checksum module to java.nio 2017-09-02 22:05:16 +02:00
Martin Stockhammer
ad9fee4399 First part in moving to java.nio 2017-09-02 13:18:15 +02:00
Martin Stockhammer
a015600d48 Reformat code 2017-08-27 16:18:57 +02:00
Martin Stockhammer
c50c6d5e3f Remove unused imports 2017-08-27 16:16:53 +02:00
Martin Stockhammer
1601657702 Fixing metadata removal. Adding mocks for verification.
- Prevent redundant removals for same artifacts
- Adding metadata removal for each file removal
- Adding mock verifications for metadata removal in unit tests
2017-08-27 16:12:27 +02:00
olivier lamy
7a2710ec0a Merge branch 'feature/jcr_oak' 2017-08-19 21:37:35 +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
22430044a4 push work started with shaded lucene
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-07 17:20:47 +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
0626aa2bde Going back to version 2.2.3 2017-04-28 00:33:58 +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
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
87ff9f5d3d more usage of MockRepositorySessionFactory 2015-10-01 15:39:41 +10:00
Olivier Lamy
436b117e7f ensure we test correctly for [MRM-1877] 2015-03-23 15:04:04 +11:00
Olivier Lamy
6317bd9d02 add unit test for [MRM-1877] 2015-03-23 15:00:51 +11:00
Olivier Lamy
a6c73dcde2 use more java 1.7 for file io 2015-03-23 14:57:49 +11:00
Olivier Lamy
81411e352d [MRM-1877] Checksum files always recreated 2015-03-23 14:31:58 +11:00
Olivier Lamy
f5022a2721 use 1.7 features for files 2015-03-23 14:31:58 +11: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
Carlos Sanchez
f11f39932a [MRM-1390] Bump version to 2.2.0 2014-12-01 16:56:43 +01:00
Carlos Sanchez
63479200ce Add a AbstractMetadataRepository to remove duplicated code 2014-11-06 13:39:28 +01:00
Eric Barboni
c2f9100dda MRM-1865 remove isPermanent flag 2014-10-10 22:41:59 +02:00
Jonathan Sharp
a2d62a3c0b MRM-1311: Added Loggers to core consumers 2014-09-29 14:46:01 -07: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
Brett Porter
fcf2e3e27c make optional for Spring
in case of tests that don't add any repository listeners to the classpath
2014-07-30 16:07:38 +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
Olivier Lamy
011e7b0ee8 [MRM-1837] so as it's only prototype we can assume configuration will not change during the use of the bean 2014-05-13 17:08:26 +10:00
Olivier Lamy
10a0761768 [MRM-1837] DefaultArchivaConfiguration holds references to classes 2014-05-01 14:29:28 +10:00
Olivier Lamy
7808ee5faf [MRM-1837] cleanup registry listeners from Archiva Configuration 2014-04-30 17:22:41 +10:00
Olivier Lamy
2132965397 more code simplification with 1.7 features 2014-04-17 10:46:06 +10:00