diff options
author | Martin Stockhammer <martin_s@apache.org> | 2017-11-01 22:52:14 +0100 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2017-11-01 22:52:14 +0100 |
commit | 97b2c9c9095b95500ab15caaf447369ed9251f08 (patch) | |
tree | 0ed5658ab214a184d7034fdc1b4e30c68282723d /archiva-modules/archiva-web/archiva-webdav/src/test/resources | |
parent | dfbe05b8abcf05947cac9223e58996e41e0e41c5 (diff) | |
download | archiva-97b2c9c9095b95500ab15caaf447369ed9251f08.tar.gz archiva-97b2c9c9095b95500ab15caaf447369ed9251f08.zip |
Refactoring the repository content factory
Adding content provider service that creates repository content instances
remove direct access to the repository content instances.
Diffstat (limited to 'archiva-modules/archiva-web/archiva-webdav/src/test/resources')
2 files changed, 2 insertions, 8 deletions
diff --git a/archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context-servlet-security-test.xml b/archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context-servlet-security-test.xml index 693816099..9f38b827d 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context-servlet-security-test.xml +++ b/archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context-servlet-security-test.xml @@ -31,10 +31,7 @@ <context:annotation-config/> <context:component-scan - base-package="org.apache.archiva.redback.keys,org.apache.archiva.webdav,org.apache.archiva.metadata.repository,org.apache.archiva.webdav.util,org.apache.archiva.common.plexusbridge,org.apache.archiva.repository.content.maven2,org.apache.archiva.repository"/> - - <alias name="managedRepositoryContent#maven" alias="managedRepositoryContent#default" /> - <alias name="remoteRepositoryContent#maven" alias="remoteRepositoryContent#default" /> + base-package="org.apache.archiva.redback.keys,org.apache.archiva.webdav,org.apache.archiva.metadata.repository,org.apache.archiva.webdav.util,org.apache.archiva.common.plexusbridge"/> <bean name="scheduler" class="org.apache.archiva.redback.components.scheduler.DefaultScheduler"> <property name="properties"> diff --git a/archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context.xml b/archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context.xml index 28f59f75d..fba970705 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context.xml +++ b/archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context.xml @@ -30,10 +30,7 @@ <context:property-placeholder system-properties-mode="OVERRIDE"/> <context:annotation-config/> - <context:component-scan base-package="org.apache.archiva.redback.keys,org.apache.archiva.webdav,org.apache.archiva.metadata.repository,org.apache.archiva.repository,org.apache.archiva.repository.content.maven2"/> - - <alias name="managedRepositoryContent#maven" alias="managedRepositoryContent#default" /> - <alias name="remoteRepositoryContent#maven" alias="remoteRepositoryContent#default" /> + <context:component-scan base-package="org.apache.archiva.redback.keys,org.apache.archiva.webdav,org.apache.archiva.metadata.repository" /> <bean name="scheduler" class="org.apache.archiva.redback.components.scheduler.DefaultScheduler"> <property name="properties"> |