474 Commits

Author SHA1 Message Date
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
63827f482b remove all references to sirona
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-16 16:27:02 +10:00
Martin Stockhammer
65c0d017c0 Adding version for jacoco plugin config 2017-06-14 09:25:24 +02:00
Martin Stockhammer
6ff4d94f6c [MRM-1953] Upgrading and fixing jacoco configuration 2017-06-13 22:48:31 +02: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
olivier lamy
84a1846854 Merge branch 'feature/jetty_9.4' 2017-05-18 13:53:17 +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
olivier lamy
e9376eeb6d migrate all tests to jetty 9.4
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-12 16:19:41 +10:00
olivier lamy
52147ba057 upgrade to jetty 9.4 for archiva-rest-services module
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-11 21:38:51 +10: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
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
c48c96d705 Adding additional help texts for config properties 2017-04-21 22:32:15 +02:00
Martin Stockhammer
a981c1847c Fixing test cases for rest service 2017-03-10 22:09:08 +01:00
Martin Stockhammer
709ee5bb39 Implementing method after interface change 2017-02-12 18:45:57 +01:00
Martin Stockhammer
65e04d66ce Adding Referer Header to REST tests 2017-01-30 22:41:55 +01: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
6dcd84d2db Add name and cache reset 2016-10-26 23:28:43 +02:00
Martin Stockhammer
e6950bba28 Add jpa settings to test spring contexts 2016-10-26 23:27:26 +02:00
Martin Stockhammer
593d69f52e Add cache reset after configuration save 2016-10-25 22:43:09 +02:00
Martin Stockhammer
203de64d19 Fix i18n string for JPA RBac Manager 2016-10-24 22:03:48 +02:00
Martin Stockhammer
3fe1000865 Adding isValid() method to authentication classes 2016-10-16 17:18:23 +02:00
Martin Stockhammer
e7143b5e78 Changing transaction handling 2016-10-14 21:40:10 +02:00
Martin Stockhammer
0cc2733ca0 Adding isValid() method to authentication classes 2016-10-04 20:52:25 +02:00
Martin Stockhammer
1fd9c951e1 Improving error handling for LDAP configuration
Error is only displayed, if LDAP is used as repository. The error
messages are more detailed and internationalized.
2016-10-02 15:20:56 +02:00
Martin Stockhammer
de3eb83242 Adding restricted view for user managable repositories
Adds additional rest method to list the repositories where the user
has manage permissions.
Restricts the view for uploads to only managable repositories.
2016-09-14 21:49:30 +02:00
Martin Stockhammer
d01764bed9 Changing upload permissions using parameter reference
Needs the new functionality in the redback annotations.
2016-09-14 21:48:59 +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
Jalal Almutawa
2762496625 Implements JIRA issue MRM-1201 2015-12-20 20:55:12 +03:00
Eric Barboni
b960b96e32 change style and template to have a kind of enunciate 1.x style that we can use 2015-11-13 18:01:52 +01:00
Eric Barboni
44093a57de change to handle new template 2015-11-13 18:00:42 +01:00
Bernd Eckenfels
495a7bf95f Remove Sonar Dead Store Issues. 2015-10-13 00:54:04 +02:00
Eric Barboni
5d5b0733de put documentation on the same folder as before 2.0.0x migration
make servlet compatible with new layout (not enough)
2015-10-08 19:09:48 +02:00
Olivier Lamy
aae90d09bf fix version 2015-10-01 21:43:13 +10:00
Olivier Lamy
4a16f9a586 compilation fix 2015-10-01 09:41:18 +10:00
Olivier Lamy
4354b7beb2 svn stuff not needed anymore 2015-04-01 11:16:05 +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
Olivier Lamy
af6d9ab5c0 cleanup 2015-02-11 22:43:49 +11:00
Olivier Lamy
d3f56e231e fix junit 2015-02-11 22:43:25 +11:00
Olivier Lamy
28dae86bea format 2015-02-11 22:34:16 +11:00
Olivier Lamy
4374c550e4 add missing dependency 2015-02-11 22:32:54 +11:00
Olivier Lamy
1feb9a99f6 fix compilation 2015-02-11 21:40:24 +11:00
Olivier Lamy
a115afdbe7 use jaxrs 2.0 2015-02-07 23:02:56 +11:00