aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-webdav/src/test/resources
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2017-11-01 22:52:14 +0100
committerMartin Stockhammer <martin_s@apache.org>2017-11-01 22:52:14 +0100
commit97b2c9c9095b95500ab15caaf447369ed9251f08 (patch)
tree0ed5658ab214a184d7034fdc1b4e30c68282723d /archiva-modules/archiva-web/archiva-webdav/src/test/resources
parentdfbe05b8abcf05947cac9223e58996e41e0e41c5 (diff)
downloadarchiva-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')
-rw-r--r--archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context-servlet-security-test.xml5
-rw-r--r--archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context.xml5
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">