From 697bef3066e846771cd2e56bfea98dddbc6ff6de Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Sun, 1 Sep 2019 14:37:52 +0200 Subject: Updating maven dependencies --- .../archiva-base/archiva-checksum/pom.xml | 35 +++++++++++------- .../archiva-base/archiva-configuration/pom.xml | 31 ++++++++-------- .../apache/archiva/configuration/FileTypes.java | 6 ++-- .../META-INF/maven/archetype-metadata.xml | 3 ++ .../resourcesstatic/archetype-resources/pom.xml | 9 +++++ .../projects/compile/archetype.properties | 1 + .../archiva-lucene-consumers/pom.xml | 9 +++++ .../archiva-base/archiva-filelock/pom.xml | 1 + .../archiva-base/archiva-policies/pom.xml | 41 ++++++++++++++-------- .../archiva-base/archiva-repository-layer/pom.xml | 6 ++++ .../archiva-repository-scanner/pom.xml | 17 ++++++--- 11 files changed, 109 insertions(+), 50 deletions(-) (limited to 'archiva-modules/archiva-base') diff --git a/archiva-modules/archiva-base/archiva-checksum/pom.xml b/archiva-modules/archiva-base/archiva-checksum/pom.xml index 4b8bb255f..43fe3e5e7 100644 --- a/archiva-modules/archiva-base/archiva-checksum/pom.xml +++ b/archiva-modules/archiva-base/archiva-checksum/pom.xml @@ -55,18 +55,6 @@ commons-io - - - javax.annotation - javax.annotation-api - test - - - - javax.xml.bind - jaxb-api - test - @@ -84,4 +72,27 @@ + + + + jdk9+ + + [1.9,) + + + + + javax.annotation + javax.annotation-api + test + + + + javax.xml.bind + jaxb-api + test + + + + diff --git a/archiva-modules/archiva-base/archiva-configuration/pom.xml b/archiva-modules/archiva-base/archiva-configuration/pom.xml index 5961fd259..a593d446e 100644 --- a/archiva-modules/archiva-base/archiva-configuration/pom.xml +++ b/archiva-modules/archiva-base/archiva-configuration/pom.xml @@ -110,26 +110,10 @@ - - org.apache.ant - ant - org.apache.archiva.redback.components spring-utils - commons-io commons-io @@ -138,12 +122,25 @@ org.apache.commons commons-collections4 + + org.apache.archiva archiva-test-utils ${project.version} test - + + + + org.apache.logging.log4j + log4j-jcl + test + + + org.apache.archiva.redback.components.cache + spring-cache-ehcache + test + diff --git a/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/FileTypes.java b/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/FileTypes.java index 1b263edb9..c7a9d4935 100644 --- a/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/FileTypes.java +++ b/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/FileTypes.java @@ -22,6 +22,7 @@ package org.apache.archiva.configuration; import org.apache.archiva.common.FileTypeUtils; import org.apache.archiva.configuration.functors.FiletypeSelectionPredicate; import org.apache.archiva.configuration.io.registry.ConfigurationRegistryReader; +import org.apache.archiva.configuration.util.PathMatcher; import org.apache.archiva.redback.components.registry.Registry; import org.apache.archiva.redback.components.registry.RegistryException; import org.apache.archiva.redback.components.registry.RegistryListener; @@ -30,7 +31,6 @@ import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.collections4.IterableUtils; import org.apache.commons.collections4.Predicate; import org.apache.commons.configuration.CombinedConfiguration; -import org.apache.tools.ant.types.selectors.SelectorUtils; import org.springframework.stereotype.Service; import javax.annotation.PostConstruct; @@ -137,7 +137,7 @@ public class FileTypes for ( String pattern : artifactPatterns ) { - if ( SelectorUtils.matchPath( pattern, relativePath, false ) ) + if ( PathMatcher.matchPath( pattern, relativePath, false ) ) { // Found match return true; @@ -155,7 +155,7 @@ public class FileTypes for ( String pattern : DEFAULT_EXCLUSIONS ) { - if ( SelectorUtils.matchPath( pattern, relativePath, false ) ) + if ( PathMatcher.matchPath( pattern, relativePath, false ) ) { // Found match return true; diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml index dc457332d..109b638c7 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml @@ -55,6 +55,9 @@ ${redback.registry.version} + + ${redback.cache.version} + ${springockito.version} diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resourcesstatic/archetype-resources/pom.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resourcesstatic/archetype-resources/pom.xml index 4bf1e1683..486a861de 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resourcesstatic/archetype-resources/pom.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resourcesstatic/archetype-resources/pom.xml @@ -35,6 +35,7 @@ ${log4jVersion} ${springVersion} ${redbackRegistryVersion} + ${redbackCacheVersion} ${guavaVersion} ${springockitoVersion} ${mockitoVersion} @@ -73,6 +74,14 @@ metadata-repository-api ${archiva.version} + + + + org.apache.archiva.redback.components.cache + spring-cache-ehcache + ${redbackCacheVersion} + test + org.apache.archiva archiva-mock diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/test/resources/projects/compile/archetype.properties b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/test/resources/projects/compile/archetype.properties index 001c75db7..59ca7c984 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/test/resources/projects/compile/archetype.properties +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/test/resources/projects/compile/archetype.properties @@ -27,6 +27,7 @@ slf4jVersion=${slf4j.version} springVersion=${spring.version} guavaVersion=${guava.version} redbackRegistryVersion=${redback.registry.version} +redbackCacheVersion=${redback.cache.version} springockitoVersion=${springockito.version} mockitoVersion=${mockito.version} httpclientVersion=${httpclient.version} diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/pom.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/pom.xml index 9711c1d59..1bf667e45 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/pom.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/pom.xml @@ -104,6 +104,8 @@ org.apache.archiva archiva-repository-admin-api + + org.apache.archiva archiva-test-utils @@ -151,6 +153,13 @@ asm test + + + org.apache.archiva.redback.components.cache + spring-cache-ehcache + test + + diff --git a/archiva-modules/archiva-base/archiva-filelock/pom.xml b/archiva-modules/archiva-base/archiva-filelock/pom.xml index fb369c652..c683caa1f 100644 --- a/archiva-modules/archiva-base/archiva-filelock/pom.xml +++ b/archiva-modules/archiva-base/archiva-filelock/pom.xml @@ -60,6 +60,7 @@ slf4j-api + org.apache.logging.log4j log4j-jcl diff --git a/archiva-modules/archiva-base/archiva-policies/pom.xml b/archiva-modules/archiva-base/archiva-policies/pom.xml index ab5f64081..4669e7b13 100644 --- a/archiva-modules/archiva-base/archiva-policies/pom.xml +++ b/archiva-modules/archiva-base/archiva-policies/pom.xml @@ -69,6 +69,7 @@ commons-logging + test org.springframework @@ -96,29 +97,17 @@ ${project.version} test - - org.apache.logging.log4j - log4j-jcl - runtime - org.springframework spring-test test - - - javax.annotation - javax.annotation-api + org.apache.logging.log4j + log4j-jcl test - - javax.xml.bind - jaxb-api - test - @@ -147,4 +136,28 @@ + + + + jdk9+ + + [1.9,) + + + + + javax.annotation + javax.annotation-api + test + + + + javax.xml.bind + jaxb-api + test + + + + + diff --git a/archiva-modules/archiva-base/archiva-repository-layer/pom.xml b/archiva-modules/archiva-base/archiva-repository-layer/pom.xml index 3e9335650..15bd3854a 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/pom.xml +++ b/archiva-modules/archiva-base/archiva-repository-layer/pom.xml @@ -103,6 +103,7 @@ cron-utils + org.apache.logging.log4j log4j-slf4j-impl @@ -123,6 +124,11 @@ log4j-jcl test + + org.apache.archiva.redback.components.cache + spring-cache-ehcache + test + diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml b/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml index e7e317225..11eff993c 100644 --- a/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml +++ b/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml @@ -37,6 +37,10 @@ org.apache.archiva archiva-consumer-api + + org.apache.archiva + archiva-configuration + org.apache.archiva archiva-repository-admin-api @@ -45,17 +49,17 @@ org.springframework spring-context + + org.slf4j slf4j-simple test - org.apache.archiva - archiva-configuration - org.apache.archiva @@ -63,6 +67,11 @@ ${project.version} test + + org.apache.archiva.redback.components.cache + spring-cache-ehcache + test + -- cgit v1.2.3