Commit Graph

668 Commits

Author SHA1 Message Date
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 9351c66bc8 Another try to fix the ciserver issue for webtest 2018-05-24 23:51:50 +02:00
Martin Stockhammer 6ae9703f1d Modifying dependencies to fix webui test failures
There is a guava compatibility problem with the selenium test
Removing the dependencies that came with the new cassandra version
2018-05-21 01:05:19 +02:00
Martin Stockhammer 128bd5464c Changing cassandra version for better JDK>=9 compatibility 2018-05-20 15:24:30 +02:00
Martin Stockhammer 27f5fd524c Preparing for JDK>=9 compatibility 2018-05-19 19:07:44 +02:00
Martin Stockhammer 214bdc4360 Fixing build and test configuration 2018-05-02 23:10:06 +02:00
Martin Stockhammer 91274a1281 Increasing start wait timeout for cassandra 2018-05-02 17:21:25 +02:00
Martin Stockhammer a11df32b72 Adapting test config for new url cache path 2018-05-02 07:20:57 +02:00
Martin Stockhammer 8b16d7b24a Changing path for url cache 2018-05-01 20:19:20 +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 d422c87783 Changing JCR queries to new syntax 2018-04-02 00:28:02 +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 f101252375 Reorganizing imports 2018-03-30 20:11:57 +02:00
Martin Stockhammer 9cd3c61340 Adding packedIndexDir 2018-03-29 23:47:13 +02:00
Martin Stockhammer 4ea420ae99 Changing event api 2018-03-27 07:56:12 +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 754b2d5940 Adding local path to repository API 2017-11-20 08:20:42 +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 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 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 17f2989fe1 Adapting some plugins to the new repository api 2017-11-01 15:40:05 +01:00
Martin Stockhammer 763991b3d9 Adapting maven repository provider to new repository api
Using the new repository interfaces where necessary.
2017-11-01 15:34:34 +01: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 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 1b7b2dbfc5 Fixing syntax error 2017-10-03 23:49:58 +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 5806dc2980 Switching some more files to java.nio 2017-09-20 21:39:27 +02:00
Martin Stockhammer d9beaa1d2b Migrating repository merger to java.nio 2017-09-14 19:50:31 +02:00
Martin Stockhammer 0eadc9bab1 Migrating maven2-repository to java.nio 2017-09-14 07:45:04 +02:00
Martin Stockhammer a446c03853 Migrating metadata file store to java.nio 2017-09-11 22:31:13 +02:00
Martin Stockhammer a7db09420a Migrating some plugins to java.nio 2017-09-11 09:23:39 +02:00
Martin Stockhammer 5437dfd6de Migrating policies module to java.nio 2017-09-05 23:28:55 +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
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 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
Martin Stockhammer e5e11721b1 Merge branch 'pr-30' 2017-08-01 22:39:34 +02:00
olivier lamy c0623553f0 shutdown executor service on close
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-31 22:16:08 +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 d93ae430d5 trying more memory too see what happen on Jenkins
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-29 09:22:14 +10:00
olivier lamy 91e42dee5b no need of this file
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-24 17:35:09 +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
Martin Stockhammer bba9d8b512 Removing osgi dependencies 2017-07-19 22:36:17 +02: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 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 ddbb6cdaf4 cosmetic change :-)
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-24 09:06:22 +10:00
Martin Stockhammer 96843bd488 Fixing tests and path for jcr oak 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 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 dc259c035b [MRM-1954] Adding validatehierarchy property for JCR 2017-06-14 00:04:07 +02:00
Martin Stockhammer 3a18da17df Fixing DTD of jcr config file 2017-06-13 23:36:25 +02:00
Martin Stockhammer 2cc9dc8b4a Fix for initialization problems with new spring version 2017-05-21 22:38:21 +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 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 94e8342ec0 [MRM-1859] Improve handling of invalid artifacts
Throws only exception if all artifacts are invalid.
Ignores resolver-status.properties
2017-04-14 18:45:49 +02:00
Martin Stockhammer 5de7825b42 Fixing wrong checksum files of proxy repositories
Fixes https://issues.apache.org/jira/browse/MRM-1926
2016-10-17 22:11:57 +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 6742949ceb [MRM-1915] remove npanday plugin
Signed-off-by: olivier lamy <olamy@apache.org>
2016-03-15 16:51:25 +11:00
olivier lamy 8210219209 ignore this error
Signed-off-by: olivier lamy <olamy@apache.org>
2016-03-02 14:43:46 +11:00
Bernd Eckenfels 495a7bf95f Remove Sonar Dead Store Issues. 2015-10-13 00:54:04 +02:00
Olivier Lamy b2ced491a9 ooops fix compilation 2015-10-07 12:19:27 +11:00
Olivier Lamy a39985692c ooops fix compilation 2015-10-07 12:08:47 +11:00
Olivier Lamy b195fa3946 more fix 2015-10-07 12:05:01 +11:00
Olivier Lamy 418042acab more usage of MockRepositorySessionFactory 2015-10-01 15:53:41 +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 642ceb3f9e [MRM-1359] remove maven1 code 2015-02-12 23:00:22 +11:00
Olivier Lamy edbc2b762e [MRM-1359] remove maven1 code 2015-02-12 22:27:49 +11:00
Carlos Sanchez f11f39932a [MRM-1390] Bump version to 2.2.0 2014-12-01 16:56:43 +01:00
Carlos Sanchez db8c78d4d7 [MRM-1390] Cassandra: rename Metadata Facet column 'key' to 'facetKey'
The column 'key' can't be queried in Cassandra
Probably because 'key' is reserved for the element key or a limitation in Hector
2014-12-01 16:48:31 +01:00
Carlos Sanchez 4e5d1183c3 [MRM-1390] Implement search methods for generic metadata and properties in Cassandra store
Some caveats with Cassandra implementation:

We can't search artifacts by any (wildcard) property, so searchArtifacts(text,...) just calls getArtifactsByMetadata
The exact parameter is ignored as we can't do non exact searches in Cassandra
2014-12-01 16:48:31 +01:00
Carlos Sanchez e4da1fa6f5 [MRM-1390] Add REST methods to search JCR store for generic metadata and properties
Added REST methods:

artifactsByProjectVersionMetadata/{key}/{value}
artifactsByMetadata/{key}/{value}
artifactsByProperty/{key}/{value}
searchArtifacts/{text}
searchArtifacts/{key}/{text}

In JCR implementation When searching into any property (key = nil) we can't do exact searchs
2014-12-01 16:48:13 +01:00
Carlos Sanchez eeb51f8c35 Commit f4f7c97 changed the name of metadata facet key and value columns
Restore to the previous one
2014-11-24 19:47:57 +01:00
Carlos Sanchez 011f82dc21 Use the same list of ArtifactMetadata column names everywhere 2014-11-24 12:57:22 +01:00
Carlos Sanchez f4f7c971b6 Use an Enum for Cassandra column names instead of duplicated Strings 2014-11-24 12:34:18 +01:00
Carlos Sanchez ac641f48d9 Merge branch 'project-properties' 2014-11-24 09:15:00 +01:00