]> source.dussan.org Git - archiva.git/commitdiff
limited support for Contextualizable and lookups in PlexusContainer
authorNicolas De Loof <nicolas@apache.org>
Mon, 25 Feb 2008 16:05:18 +0000 (16:05 +0000)
committerNicolas De Loof <nicolas@apache.org>
Mon, 25 Feb 2008 16:05:18 +0000 (16:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630906 13f79535-47bb-0310-9956-ffa450edef68

springy/archiva-base/archiva-proxy/src/test/resources/org/apache/maven/archiva/proxy/CacheFailuresTransferTest.xml
springy/archiva-base/archiva-proxy/src/test/resources/org/apache/maven/archiva/proxy/spring-context.xml

index f780328cc3cc082ed0ae2bd02fe2d67f57309ac4..4b20ddc9928cb6afb0041882bd55a1eb0df159f9 100644 (file)
           <role>org.apache.maven.archiva.repository.scanner.RepositoryContentConsumers</role>
           <field-name>consumers</field-name>
         </requirement>
+        <requirement>
+          <role>org.apache.maven.archiva.policies.urlcache.UrlFailureCache</role>
+          <field-name>urlFailureCache</field-name>
+        </requirement>
       </requirements>
     </component>
 
index 7d6cf3cc980fbf1b7839bff44f3c293ada54586e..aca03f14bba090af8310eae3e55036242a142667 100644 (file)
@@ -4,6 +4,8 @@
        xsi:schemaLocation="http://www.springframework.org/schema/beans
            http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
 
+  <bean id="plexusContainer" class="org.codehaus.plexus.spring.PlexusContainerAdapter"/>
+
   <bean id="loggerManager" class="org.codehaus.plexus.logging.console.ConsoleLoggerManager" init-method="initialize"/>
 
   <bean id="urlFailureCache" class="org.apache.maven.archiva.policies.urlcache.DefaultUrlFailureCache">