]> source.dussan.org Git - archiva.git/commitdiff
cache has moved to a different spring ID - use the default one from the archiva-polic...
authorBrett Porter <brett@apache.org>
Thu, 23 Dec 2010 03:18:17 +0000 (03:18 +0000)
committerBrett Porter <brett@apache.org>
Thu, 23 Dec 2010 03:18:17 +0000 (03:18 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1052163 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml

index 1a8c45ce1f001e357b9ba0d4735d3f17ca5b60aa..0cc09c3923e12e832bf21867292ff756ddbb6cb4 100644 (file)
@@ -5,16 +5,12 @@
            http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
 
   <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>
+        init-method="initialize"/>
 
   <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>
   <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">
     <constructor-arg ref="userRepositories"/>
-    <constructor-arg ref="xmlRpcAuthenticator"/>    
-  </bean> 
-  
+    <constructor-arg ref="xmlRpcAuthenticator"/>
+  </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">    
-    <constructor-arg ref="xmlRpcUserRepositories"/>   
+  <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"/>
     <constructor-arg ref="nexusSearch"/>
   </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" />
-    </constructor-arg>       
+      <bean class="org.apache.archiva.web.spring.RepositoryListenerFactoryBean"/>
+    </constructor-arg>
     <constructor-arg ref="repositoryStatisticsManager"/>
     <constructor-arg ref="repositoryMerger#maven2"/>
     <constructor-arg ref="auditListener#logging"/>
-       
-  </bean> 
+
+  </bean>
 
   <bean name="xmlrpcServicesList" lazy-init="true" scope="singleton" class="java.util.ArrayList">
     <constructor-arg>
       </list>
     </constructor-arg>
   </bean>
-    
+
   <bean name="xmlRpcAuthenticator" class="org.apache.archiva.web.xmlrpc.security.XmlRpcAuthenticator">
-      <constructor-arg ref="securitySystem"/>
-      <constructor-arg ref="userRepositories"/>
+    <constructor-arg ref="securitySystem"/>
+    <constructor-arg ref="userRepositories"/>
   </bean>
 
   <bean id="mailSession" class="org.springframework.jndi.JndiObjectFactoryBean">
@@ -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>