diff options
Diffstat (limited to 'archiva-modules/archiva-base/archiva-plexus-bridge/src/main/resources/META-INF/spring-context.xml')
-rw-r--r-- | archiva-modules/archiva-base/archiva-plexus-bridge/src/main/resources/META-INF/spring-context.xml | 39 |
1 files changed, 35 insertions, 4 deletions
diff --git a/archiva-modules/archiva-base/archiva-plexus-bridge/src/main/resources/META-INF/spring-context.xml b/archiva-modules/archiva-base/archiva-plexus-bridge/src/main/resources/META-INF/spring-context.xml index 41188dcd8..9c12ec813 100644 --- a/archiva-modules/archiva-base/archiva-plexus-bridge/src/main/resources/META-INF/spring-context.xml +++ b/archiva-modules/archiva-base/archiva-plexus-bridge/src/main/resources/META-INF/spring-context.xml @@ -21,12 +21,43 @@ <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" + xmlns:util="http://www.springframework.org/schema/util" xsi:schemaLocation="http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans-3.0.xsd + http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context - http://www.springframework.org/schema/context/spring-context-3.0.xsd" - default-lazy-init="true"> + http://www.springframework.org/schema/context/spring-context.xsd + http://www.springframework.org/schema/util + http://www.springframework.org/schema/util/spring-util.xsd" + default-lazy-init="true"> <context:annotation-config/> - <context:component-scan base-package="org.apache.archiva.common.plexusbridge"/> + <context:component-scan base-package="org.apache.archiva.common.plexusbridge + org.apache.maven.index"/> + + <!-- + <bean id="indexer" class="org.apache.maven.index.DefaultIndexer"/> + <bean id="scanner" class="org.apache.maven.index.DefaultScanner"/> + <bean id="indexerEngine" class="org.apache.maven.index.DefaultIndexerEngine"/> + <bean id="searchEngine" class="org.apache.maven.index.DefaultSearchEngine"/> + <bean id="queryCreator" class="org.apache.maven.index.DefaultQueryCreator"/> + <bean id="artifactContextProducer" class="org.apache.maven.index.DefaultArtifactContextProducer"/> + <bean id="artifactPackagingMapper" class="org.apache.maven.index.artifact.DefaultArtifactPackagingMapper"/> + --> + + <!-- Index creators: + <bean id="minimalArtifactInfoIndexCreator" class="org.apache.maven.index.creator.MinimalArtifactInfoIndexCreator"/> + <bean id="jarFileContentsIndexCreator" class="org.apache.maven.index.creator.JarFileContentsIndexCreator"/> + <bean id="mavenPluginArtifactInfoIndexCreator" class="org.apache.maven.index.creator.MavenPluginArtifactInfoIndexCreator"/> + --> + <!-- Index creators. + + <util:map id="indexers" + key-type="java.lang.String" + value-type="org.apache.maven.index.context.IndexCreator" + map-class="java.util.LinkedHashMap"> + <entry key="min" value-ref="minimalArtifactInfoIndexCreator"/> + <entry key="jarContent" value-ref="jarFileContentsIndexCreator"/> + <entry key="maven-plugin" value-ref="mavenPluginArtifactInfoIndexCreator"/> + </util:map> + --> </beans>
\ No newline at end of file |