Martin Stockhammer
f101252375
Reorganizing imports
6 years ago
Martin Stockhammer
42376e8fbf
Removing unused dependencies
6 years ago
Martin Stockhammer
ee953f8d13
Removing NexusIndexer references
6 years ago
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.
6 years ago
Martin Stockhammer
754b2d5940
Adding local path to repository API
6 years ago
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.
6 years ago
Martin Stockhammer
4bcf4c0cd0
Adapting consumers to new repository api interfaces.
Using the repository api where necessary.
6 years ago
Martin Stockhammer
0eadc9bab1
Migrating maven2-repository to java.nio
6 years ago
Martin Stockhammer
7503cb83e3
Migrating consumers to java.nio
6 years ago
Martin Stockhammer
c50c6d5e3f
Remove unused imports
6 years ago
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
6 years ago
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/
6 years ago
olivier lamy
22430044a4
push work started with shaded lucene
Signed-off-by: olivier lamy <olamy@apache.org>
7 years ago
Olivier Lamy
87ff9f5d3d
more usage of MockRepositorySessionFactory
8 years ago
Olivier Lamy
402f10c841
code cleanup comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1541400 13f79535-47bb-0310-9956-ffa450edef68
10 years ago
Olivier Lamy
ab6f5bde33
move to last easymock 3.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1541399 13f79535-47bb-0310-9956-ffa450edef68
10 years ago
Olivier Lamy
73509cab5c
prefer Charset.defaultCharset() over a hardcoded charset
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1385188 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Olivier Lamy
833d272ab4
fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1385187 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
skygo
0af6c7a560
Archiva core consumumer test refresh to junit 4
remove testcase; reorder import;
repositorypurgeconsommerTest fixed for:
Unable to add new repository with id [test-repo], that id already exists as a managed repository.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1379835 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
skygo
fd6b9b7e93
fix unit paths so you can run unit on path with space
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370597 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
skygo
7dfd478f18
replace by &20 instead of %20 % not allowed shame
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370577 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
skygo
8be9f7b746
attempt to stabilie core consummer tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370562 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
skygo
3d4b925a5e
Core Consummers module: add @Override for unit test + attempt to fix CleanupReleaseSnapshotRepositoryPurgeTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1369920 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Olivier Lamy
bf52af4760
change package for those test utils
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356101 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Olivier Lamy
1484a3316a
[MRM-1638] Improve unit test for archiva build
Based on patch provided by Eric Barboni.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356091 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Olivier Lamy
67443bea6e
add unit for test purge of -javadoc.zip artifacts
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325558 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Olivier Lamy
b137e9a99c
an other try to prevent windauze file leak, I hope the last one :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1204957 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Olivier Lamy
5f6f2e9833
an other try to prevent windauze file leak
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1204908 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Olivier Lamy
4b16406276
an other try to prevent windauze file leak
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1204873 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Olivier Lamy
42edbc5ca5
fix tests in archiva-core-consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197139 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Olivier Lamy
33850774a4
[MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-configuration module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171539 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Olivier Lamy
58b11bca24
[MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-consumer-api module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171453 13f79535-47bb-0310-9956-ffa450edef68
12 years ago