From 622006c9fde29f5e1b5d94043ef1fd6bd78d2a98 Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Sun, 17 Nov 2019 13:29:31 +0100 Subject: Applying references after package change of components spring-registry and expression-evaluator --- .../archiva-repository-admin-default/pom.xml | 5 +++++ .../apache/archiva/admin/repository/AbstractRepositoryAdmin.java | 6 +++--- .../archiva/admin/repository/DefaultRepositoryCommonValidator.java | 6 +++--- .../admin/repository/managed/DefaultManagedRepositoryAdmin.java | 2 +- .../repository/runtime/DefaultArchivaRuntimeConfigurationAdmin.java | 2 +- .../repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java | 2 +- .../src/test/resources/spring-context.xml | 2 +- 7 files changed, 15 insertions(+), 10 deletions(-) (limited to 'archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default') diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml index eaaeb1ddc..a02803d80 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml @@ -96,6 +96,11 @@ + + org.apache.archiva.components.registry + archiva-components-spring-registry-commons + test + org.modelmapper modelmapper diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/AbstractRepositoryAdmin.java b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/AbstractRepositoryAdmin.java index 85c16121f..f1c947572 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/AbstractRepositoryAdmin.java +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/AbstractRepositoryAdmin.java @@ -27,7 +27,7 @@ import org.apache.archiva.configuration.ArchivaConfiguration; import org.apache.archiva.configuration.Configuration; import org.apache.archiva.configuration.IndeterminateConfigurationException; import org.apache.archiva.metadata.model.facets.AuditEvent; -import org.apache.archiva.redback.components.registry.Registry; +import org.apache.archiva.components.registry.Registry; import org.apache.archiva.redback.users.User; import org.apache.archiva.repository.Repository; import org.apache.archiva.metadata.audit.AuditListener; @@ -89,7 +89,7 @@ public abstract class AbstractRepositoryAdmin { getArchivaConfiguration().save( config ); } - catch ( org.apache.archiva.redback.components.registry.RegistryException e ) + catch ( org.apache.archiva.components.registry.RegistryException e ) { throw new RepositoryAdminException( "Error occurred in the registry: " + e.getLocalizedMessage(), e ); } @@ -190,7 +190,7 @@ public abstract class AbstractRepositoryAdmin return registry; } - public void setRegistry( org.apache.archiva.redback.components.registry.Registry registry ) + public void setRegistry( org.apache.archiva.components.registry.Registry registry ) { this.registry = registry; } diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/DefaultRepositoryCommonValidator.java b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/DefaultRepositoryCommonValidator.java index ff2766e3f..692bf11ed 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/DefaultRepositoryCommonValidator.java +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/DefaultRepositoryCommonValidator.java @@ -25,7 +25,7 @@ import org.apache.archiva.admin.model.beans.ManagedRepository; import org.apache.archiva.admin.model.managed.ManagedRepositoryAdmin; import org.apache.archiva.configuration.ArchivaConfiguration; import org.apache.archiva.configuration.Configuration; -import org.apache.archiva.redback.components.registry.Registry; +import org.apache.archiva.components.registry.Registry; import org.apache.archiva.redback.components.scheduler.CronExpressionValidator; import org.apache.commons.lang3.StringUtils; import org.apache.commons.validator.GenericValidator; @@ -51,7 +51,7 @@ public class DefaultRepositoryCommonValidator @Inject @Named( value = "commons-configuration" ) - private org.apache.archiva.redback.components.registry.Registry registry; + private org.apache.archiva.components.registry.Registry registry; /** * @param abstractRepository @@ -182,7 +182,7 @@ public class DefaultRepositoryCommonValidator return registry; } - public void setRegistry( org.apache.archiva.redback.components.registry.Registry registry ) + public void setRegistry( org.apache.archiva.components.registry.Registry registry ) { this.registry = registry; } diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java index 3c04c955b..ce1c305a8 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java @@ -35,7 +35,7 @@ import org.apache.archiva.metadata.model.facets.AuditEvent; import org.apache.archiva.metadata.repository.*; import org.apache.archiva.metadata.repository.stats.model.RepositoryStatisticsManager; import org.apache.archiva.redback.components.cache.Cache; -import org.apache.archiva.redback.components.registry.RegistryException; +import org.apache.archiva.components.registry.RegistryException; import org.apache.archiva.redback.components.taskqueue.TaskQueueException; import org.apache.archiva.redback.role.RoleManager; import org.apache.archiva.redback.role.RoleManagerException; diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultArchivaRuntimeConfigurationAdmin.java b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultArchivaRuntimeConfigurationAdmin.java index 718bfc169..2b6980cf9 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultArchivaRuntimeConfigurationAdmin.java +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultArchivaRuntimeConfigurationAdmin.java @@ -28,7 +28,7 @@ import org.apache.archiva.configuration.ArchivaConfiguration; import org.apache.archiva.configuration.Configuration; import org.apache.archiva.configuration.IndeterminateConfigurationException; import org.apache.archiva.redback.components.cache.Cache; -import org.apache.archiva.redback.components.registry.RegistryException; +import org.apache.archiva.components.registry.RegistryException; import org.springframework.stereotype.Service; import javax.annotation.PostConstruct; diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java index 0433e65a1..92e4c3969 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java @@ -29,7 +29,7 @@ import org.apache.archiva.configuration.ArchivaConfiguration; import org.apache.archiva.configuration.Configuration; import org.apache.archiva.configuration.IndeterminateConfigurationException; import org.apache.archiva.redback.components.cache.Cache; -import org.apache.archiva.redback.components.registry.RegistryException; +import org.apache.archiva.components.registry.RegistryException; import org.apache.archiva.redback.configuration.UserConfiguration; import org.apache.archiva.redback.configuration.UserConfigurationException; import org.apache.archiva.redback.configuration.UserConfigurationKeys; diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/resources/spring-context.xml b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/resources/spring-context.xml index dd261ebad..661aec58e 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/resources/spring-context.xml +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/resources/spring-context.xml @@ -45,7 +45,7 @@ - +