Commit Graph

1646 Commits

Author SHA1 Message Date
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 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
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 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 586f3c3c2b Adding archiva-modules site build changes for git migration 2018-11-04 13:34:47 +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 27f5fd524c Preparing for JDK>=9 compatibility 2018-05-19 19:07:44 +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 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 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 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 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 c424149d1c Updating index merge to new maven api 2018-03-30 19:35: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 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 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 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 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 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 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 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 0eadc9bab1 Migrating maven2-repository to java.nio 2017-09-14 07:45:04 +02:00
Martin Stockhammer f886688c25 Migrating scheduler to java.nio 2017-09-10 17:47:17 +02:00
Martin Stockhammer 7503cb83e3 Migrating consumers to java.nio 2017-09-10 13:41:44 +02:00
Martin Stockhammer 413b6d7f1a Migrating transaction module to java.nio 2017-09-08 17:12:01 +02:00
Martin Stockhammer 9148a900ee Migrating repository scanner to java.nio 2017-09-08 15:24:01 +02:00
Martin Stockhammer d721477935 Migration repository admin to java.nio 2017-09-08 11:41:32 +02:00
Martin Stockhammer 98715c57ea Migrating xmltools and proxy to java.nio 2017-09-08 10:06:01 +02:00
Martin Stockhammer 5437dfd6de Migrating policies module to java.nio 2017-09-05 23:28:55 +02:00
Martin Stockhammer c8b3346225 Moving indexer to java.nio 2017-09-04 23:18:30 +02:00
Martin Stockhammer b5eddeb67b Moving converter module to java.nio 2017-09-03 11:01:15 +02:00
Martin Stockhammer cd1f4a9e79 Switching the checksum module to java.nio 2017-09-02 22:05:16 +02:00
Martin Stockhammer faceef262c Moved checksum module to java.nio 2017-09-02 20:37:52 +02:00
Martin Stockhammer 90250dc304 And another one for moving to java.nio 2017-09-02 19:17:01 +02:00
Martin Stockhammer 4781155596 Next part for moving to java.nio 2017-09-02 18:18:56 +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 33b66d1493 get rid of some System.out
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-21 11:13:43 +10:00
olivier lamy 7a2710ec0a Merge branch 'feature/jcr_oak' 2017-08-19 21:37:35 +10:00
olivier lamy 8838508899 helping consumer archetype to build with an empty repo
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-18 21:13:26 +10:00
olivier lamy 46ec727204 inherit version from parent
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-18 14:38:45 +10:00
olivier lamy 053e5c1322 helping consumer archetype to build with an empty repo
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-18 14:26:08 +10:00
olivier lamy 03465a024d helping consumer archetype to build with an empty repo
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-18 12:06:25 +10:00
olivier lamy c2bb83aa1f helping consumer archetype to build with an empty repo
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-18 09:57:43 +10:00
olivier lamy ed1bfa3a90 helping consumer archetype to build with an empty repo
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-17 21:27:05 +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
olivier lamy 789f879c3b fixing test for rest services, correctly close jcr repo
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-14 17:20:12 +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 623eb062da shaded package changed
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-28 21:10:24 +10: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
olivier lamy 003d5794a8 more progress on new maven indexer version
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-24 10:12:23 +10:00
olivier lamy 7480b7ffe2 some progress
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-17 18:41:14 +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 58ac86f011 force jcr save
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-24 10:21:14 +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 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