cache has moved to a different spring ID - use the default one from the archiva-policies module

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1052163 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2010-12-23 03:18:17 +00:00
parent 091ebb7aea
commit a44b2ac9dd
1 changed files with 27 additions and 28 deletions

View File

@ -7,14 +7,10 @@
<bean id="loggerManager" class="org.codehaus.plexus.logging.slf4j.Slf4jLoggerManager"
init-method="initialize"/>
<bean id="urlFailureCache" class="org.apache.maven.archiva.policies.urlcache.DefaultUrlFailureCache">
<constructor-arg ref="cache#url-failures-cache" type="org.codehaus.plexus.cache.Cache"/>
</bean>
<bean name="wagon#http" class="org.apache.maven.wagon.providers.http.LightweightHttpWagon" scope="prototype">
<property name="httpHeaders">
<map>
<entry key="User-Agent" value="${user.agent}" />
<entry key="User-Agent" value="${user.agent}"/>
</map>
</property>
</bean>
@ -22,13 +18,13 @@
<bean name="wagon#https" class="org.apache.maven.wagon.providers.http.LightweightHttpsWagon" scope="prototype">
<property name="httpHeaders">
<map>
<entry key="User-Agent" value="${user.agent}" />
<entry key="User-Agent" value="${user.agent}"/>
</map>
</property>
</bean>
<bean id="propertyPlaceholder" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location" value="classpath:application.properties" />
<property name="location" value="classpath:application.properties"/>
</bean>
<bean name="xmlRpcUserRepositories" class="org.apache.archiva.web.xmlrpc.security.XmlRpcUserRepositories">
@ -37,10 +33,12 @@
</bean>
<!-- Web Service : Ping Service -->
<bean name="pingService" lazy-init="true" scope="singleton" class="org.apache.archiva.web.xmlrpc.services.PingServiceImpl"/>
<bean name="pingService" lazy-init="true" scope="singleton"
class="org.apache.archiva.web.xmlrpc.services.PingServiceImpl"/>
<!-- Web Services : Search Service -->
<bean name="searchService" lazy-init="true" scope="singleton" class="org.apache.archiva.web.xmlrpc.services.SearchServiceImpl">
<bean name="searchService" lazy-init="true" scope="singleton"
class="org.apache.archiva.web.xmlrpc.services.SearchServiceImpl">
<constructor-arg ref="xmlRpcUserRepositories"/>
<constructor-arg ref="metadataResolver"/>
<constructor-arg ref="metadataRepository"/>
@ -48,14 +46,15 @@
</bean>
<!-- Web Services : Administration Service -->
<bean name="administrationService" lazy-init="true" scope="singleton" class="org.apache.archiva.web.xmlrpc.services.AdministrationServiceImpl">
<bean name="administrationService" lazy-init="true" scope="singleton"
class="org.apache.archiva.web.xmlrpc.services.AdministrationServiceImpl">
<constructor-arg ref="archivaConfiguration"/>
<constructor-arg ref="repositoryContentConsumers"/>
<constructor-arg ref="repositoryContentFactory"/>
<constructor-arg ref="metadataRepository"/>
<constructor-arg ref="archivaTaskScheduler#repository"/>
<constructor-arg>
<bean class="org.apache.archiva.web.spring.RepositoryListenerFactoryBean" />
<bean class="org.apache.archiva.web.spring.RepositoryListenerFactoryBean"/>
</constructor-arg>
<constructor-arg ref="repositoryStatisticsManager"/>
<constructor-arg ref="repositoryMerger#maven2"/>
@ -88,7 +87,7 @@
</bean>
<!-- This is used to prevent the old profile activator being loaded from the running instance of Maven in jetty:run -->
<bean name="profileActivator#jdk-prefix" class="org.apache.archiva.web.spring.DummyProfileActivator" />
<bean name="profileActivator#system-property" class="org.apache.archiva.web.spring.DummyProfileActivator" />
<bean name="profileActivator#always-on" class="org.apache.archiva.web.spring.DummyProfileActivator" />
<bean name="profileActivator#jdk-prefix" class="org.apache.archiva.web.spring.DummyProfileActivator"/>
<bean name="profileActivator#system-property" class="org.apache.archiva.web.spring.DummyProfileActivator"/>
<bean name="profileActivator#always-on" class="org.apache.archiva.web.spring.DummyProfileActivator"/>
</beans>