Commit Graph

1406 Commits

Author SHA1 Message Date
Martin Stockhammer 7d2cc26b4b Adding jcr oak implementation 2017-06-24 09:05:49 +10:00
olivier lamy 8d3f82a479 [MRM-1956] Replace tomcat-jdbc pool with HikariCP
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-20 21:49:28 +10:00
olivier lamy c8fd32bbb7 start work using jetty maven plugin
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-16 16:30:26 +10:00
Martin Stockhammer 878287b7b3 [MRM-1945] Fixing race condition
Do not return used locks anymore. If the lock map contains
an entry already, the retry loop continues.
2017-05-28 22:40:07 +02:00
olivier lamy 0e73c44d89 use same plugin version
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-27 21:21:06 +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
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
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 e37ed62098 Synchronizing surefire versions 2017-04-28 22:48:09 +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 e367cba9b3 Additional try to fix build problems on ci 2017-04-17 21:44:04 +02:00
Martin Stockhammer 76f733e579 Trying to fix build error on ci server 2017-04-17 21:30:03 +02:00
Martin Stockhammer b0f22a2469 Fixing locking tests on windows 2017-04-16 22:17:16 +02:00
Martin Stockhammer 151fae7e17 Adding additional information for failing tests 2017-04-16 21:55:35 +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 367997a308 Add additional checks for file lock tests 2016-10-27 23:12:12 +02:00
Martin Stockhammer dfcef53bf9 Add additional checks for file lock tests 2016-10-27 23:10:49 +02:00
Martin Stockhammer 5780110b79 Reverting locking modifications 2016-10-27 17:44:10 +02:00
Martin Stockhammer 4c35ccef7b Reverting locking modifications 2016-10-27 17:36:27 +02:00
Martin Stockhammer d380bc6779 Additional improvement for file locks 2016-10-27 12:22:56 +02:00
Martin Stockhammer 40816fc367 Additional improvement for file locks 2016-10-27 12:21:46 +02:00
Martin Stockhammer 8dc5e696d2 Stabilised file lock implementation and tests 2016-10-26 23:33:09 +02:00
Martin Stockhammer e6950bba28 Add jpa settings to test spring contexts 2016-10-26 23:27:26 +02:00
Martin Stockhammer 99de6268c9 Stabilised file lock implementation and tests 2016-10-26 23:25:50 +02:00
Martin Stockhammer 60080379a6 Add additional dependency to fix jenkins build 2016-10-23 12:26:07 +02:00
Martin Stockhammer 5b31edc2f8 Another switch to new plugin version 2016-10-22 18:48:49 +02:00
Martin Stockhammer 465a3b731a Switch to new plugin version to improve jenkins build 2016-10-21 22:34:33 +02:00
olivier lamy 70323bbefb Merge branch 'pr/27' 2016-10-05 14:30:52 +11:00
olivier lamy 229276f8d9 cosmetic :-)
Signed-off-by: olivier lamy <olamy@apache.org>
2016-09-27 08:40:37 +10:00
olivier lamy 85be2b77af simplify code
Signed-off-by: olivier lamy <olamy@apache.org>
2016-09-27 08:35:38 +10:00
Dave Brosius 723cf8b2ee simplify section null checking, and guard against NPEs 2016-09-17 18:48:47 -04:00
olivier lamy c997c883f0 use StringUtils to shorter code
Signed-off-by: olivier lamy <olamy@apache.org>
2016-09-14 10:51:21 +10:00
Martin Stockhammer bd10f7b8a2 Adding default userAgent system property
The default userAgent string used for proxy connections can be configured by
a system property.
2016-09-13 16:46:50 +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 95077dba05 enforce version in archetype
Signed-off-by: olivier lamy <olamy@apache.org>
2016-03-01 22:08:43 +11:00
Bernd Eckenfels 495a7bf95f Remove Sonar Dead Store Issues. 2015-10-13 00:54:04 +02:00
Olivier Lamy e05ec3d0f3 to help travis build 2015-10-07 14:26:31 +11:00
Olivier Lamy 649b915e81 no need of clean 2015-10-07 13:57:29 +11:00
Olivier Lamy 795d6d3957 make easy testing for archetype 2015-10-07 13:46:19 +11:00
Olivier Lamy b195fa3946 more fix 2015-10-07 12:05:01 +11: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 8c67ef5e75 fix version 2015-10-01 22:11:09 +10:00
Olivier Lamy 4ad5e63c64 more usage of MockRepositorySessionFactory 2015-10-01 16:21:14 +10:00
Olivier Lamy 4ce3140da9 fix issue when using proxy 2015-10-01 16:13:29 +10:00
Olivier Lamy da1216f734 more usage of MockRepositorySessionFactory 2015-10-01 16:02:49 +10:00
Olivier Lamy 87ff9f5d3d more usage of MockRepositorySessionFactory 2015-10-01 15:39:41 +10:00
Olivier Lamy 56f8b575d4 more usage of MockRepositorySessionFactory 2015-10-01 15:07:38 +10:00
Olivier Lamy 1127e2afce use mock in consumer archetype 2015-10-01 14:53:41 +10:00
Olivier Lamy e62d96a1fa add a new module with mock for test 2015-10-01 14:51:45 +10:00
Olivier Lamy 4f5c5d6ffd should help empty repo build 2015-09-25 15:41:39 +10:00
Olivier Lamy 6be428cd2d compilation fix 2015-09-25 15:25:51 +10:00
Olivier Lamy 73d92ab376 [MRM-1895] upgrade to wagon 2.8 2015-07-22 21:36:48 +10:00
Olivier Lamy 25c2df5590 comment this hackhish dependency 2015-05-31 10:44:30 +10:00
Olivier Lamy eca16b9686 trying to help sonar 2015-05-31 10:32:44 +10:00
Olivier Lamy ff1a92ee19 trying to help jenkins build 2015-05-30 22:06:50 +10:00
Olivier Lamy 4649d6b092 align junit version 2015-05-24 22:14:46 +10:00
Olivier Lamy 30444437d1 align surefire version 2015-05-19 22:41:36 +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
Olivier Lamy 5b97adf505 [MRM-1359] remove maven1 code 2015-02-12 23:21:00 +11:00
Olivier Lamy 97a44a5820 [MRM-1359] remove maven1 code 2015-02-12 23:09:28 +11:00
Olivier Lamy 66a67966e6 fix toString and upgrade httpclient version 2015-01-16 14:57:28 +11:00
Olivier Lamy 61c83ff3d9 [MRM-1867] Adding a find jar by checksum functionality to the REST api 2015-01-12 17:07:54 +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 c5e2567516 [MRM-1871] copy List before sorting it 2014-11-27 10:57:27 +11:00
Olivier Lamy 0148a725c7 [MRM-1871] ConcurrentModificationException in DefaultRepositoryProxyConnectors
create a copy to avoid ConcurrentModificationException
2014-11-25 09:44:14 +11:00
Olivier Lamy 54b2236700 make it clear it is ConcurrentMap so no need of synchronized block 2014-11-24 11:14:32 +11:00
Olivier Lamy 480825d72b copy collections to avoid ConcurrentModificationException 2014-11-23 23:02:06 +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
Olivier Lamy 69ebec8841 add missing @since, formatting, make fields private 2014-10-20 17:08:01 +11:00
Jonathan Sharp 7c9267111a MRM-813 tweak APC interface and ADRF AuditEvents 2014-10-17 15:23:47 -07:00
Olivier Lamy dce9401cd3 start fixing issues reported by modernizer maven plugin 2014-10-15 14:10:04 +11:00
Eric Barboni ea1e055516 sonar fixes 2014-10-14 21:32:51 +02:00
Eric Barboni 70c6cc2ee4 sonar fixes 2014-10-14 21:31:33 +02:00
Eric Barboni 81655230ae sonar fixes 2014-10-14 21:30:11 +02:00
Eric Barboni c2f9100dda MRM-1865 remove isPermanent flag 2014-10-10 22:41:59 +02: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
Jonathan Sharp a2d62a3c0b MRM-1311: Added Loggers to core consumers 2014-09-29 14:46:01 -07:00
Olivier Lamy 373183554d spring 4.1.0 2014-09-10 15:09:00 +10: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 b0550f3fcf ensure works from clean repository 2014-07-30 17:27:20 +10:00
Brett Porter 6e1b60e430 update archetype for repository metadata
use mocks instead of full implementations for testing, cut down dependencies
2014-07-30 16:33:41 +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
Brett Porter 54f97d54cb fix merge of converters
The test files in artifact converter had been adjusted, and need to merge the
spring context. Also make the artifactConverter injection more specific to
avoid picking up those defined for tests
2014-07-30 14:34:42 +10:00
Brett Porter c329113c52 simplify required namespaces 2014-07-30 13:42:36 +10:00
Brett Porter 30db1698ea ensure spring context is added to archetype 2014-07-30 13:33:12 +10:00
Brett Porter c1e27fbd05 remove unused dependencies and imports 2014-07-30 13:22:57 +10:00
Brett Porter 339650b1a7 add generics 2014-07-30 13:22:50 +10:00
Brett Porter 2882d9b199 add missing dependency 2014-07-30 12:05:02 +10:00
Brett Porter 732531ebef ensure archiva-cli is able to run
clean up the dependencies used and add some missing configuration form shade
2014-07-30 12:05:02 +10:00
Brett Porter 54e9209fed fix scan location 2014-07-30 11:52:10 +10:00
Brett Porter b9920ed0ff fix package declarations
avoid duplicating classes in the produced bundle
2014-07-30 11:46:31 +10:00
Brett Porter 8007a47a3a merge artifact-converter into converter
Large amount of duplicated information and an unnecessary split package
caused duplicates in the produced bundle
2014-07-30 11:46:30 +10:00
Brett Porter 909ad7500b ensure archetype builds on a clean repository
Need to line up several dependencies that got managed differently, and trim
out things no longer needed. This could use a diet in general - there should
not be very much of Archiva's API or dependencies needed to build and test a
consumer.
2014-07-29 18:16:23 +10:00
Brett Porter 9e0abd75f3 remove antrun only used for echo 2014-07-29 16:24:29 +10:00
Brett Porter 482c368d0d trim POM to required resources 2014-07-29 15:54:42 +10:00
Brett Porter 50e30fef3b must also populate variables 2014-07-29 15:27:55 +10:00
Olivier Lamy e92a96880e line ending 2014-07-17 17:54:44 +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 85047d3bb6 [MRM-1843] provide mechanism to obtain the latest version of an artifact
start download api currently redirect
2014-05-20 15:04:47 +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 9bb8edc5c8 use a better name 2014-04-30 16:38:19 +10:00
Olivier Lamy 4d88a4663e modified file 2014-04-25 21:03:35 +10:00
Olivier Lamy 0c07ad8d5c complete .gitattributes file 2014-04-24 11:54:01 +10:00
Olivier Lamy 30d380e6b0 make no limit working back 2014-04-24 11:52:24 +10:00
Olivier Lamy 641e04909f fix unit test for pagination 2014-04-24 11:52:24 +10:00
Sascha Vogt c52eb2c042 [MRM-1834] Add limit to index search query to prevent unnecessary
calculations
2014-04-24 11:52:24 +10:00
Eric Barboni a106ffd8fe display warning on test failure 2014-04-24 02:53:19 +02:00
Olivier Lamy 79cf366b83 more details 2014-04-22 23:02:35 +10:00
Olivier Lamy 6611fc497b more log for MRM-1832 2014-04-22 22:52:25 +10:00
Olivier Lamy 9a09994c8c simply use File implementation as we are now 1.7 required 2014-04-22 12:02:32 +10:00
Eric Barboni 1d929b31fb jdk7 (multicatch diamond) 2014-04-17 22:13:54 +02:00
Eric Barboni 145c89e731 assert from org.junit 2014-04-17 21:56:19 +02:00
Olivier Lamy 2132965397 more code simplification with 1.7 features 2014-04-17 10:46:06 +10:00
Olivier Lamy 0a21a1167f use same versions 2014-04-17 10:10:15 +10:00
Olivier Lamy bb30140719 using more java.nio.file 2014-04-17 09:57:30 +10:00
Olivier Lamy 65bcbc9d45 do the same as FileUtils.copyFile do 2014-04-16 19:48:53 +10:00
Olivier Lamy ec1e655c9d use Files.copy from java.nio.file 2014-04-16 18:11:38 +10:00
Olivier Lamy 767e00c182 use Files from java.nio 2014-04-16 17:36:01 +10:00
Olivier Lamy afd02f3a13 Revert "[MRM-1828] upgrade to jetty 9.x"
This reverts commit a7a2c9130e.
2014-04-14 15:56:30 +10:00
Olivier Lamy a7a2c9130e [MRM-1828] upgrade to jetty 9.x 2014-04-14 14:08:55 +10:00
Eric Barboni 99117364be one move for all remaining override annotation 2014-04-11 23:46:35 +02:00
Eric Barboni d44d957734 Multicatch and override 2014-04-11 23:29:44 +02:00
Eric Barboni 4444ed0e1d simplify varargs calls 2014-04-11 23:16:01 +02:00