| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <beans xmlns="http://www.springframework.org/schema/beans" |
| xmlns:context="http://www.springframework.org/schema/context" |
| xmlns:util="http://www.springframework.org/schema/util" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd |
| http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd |
| http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd"> |
| |
| <context:component-scan base-package="org.apache.maven.indexer.examples"/> |
| |
| <!-- This context contains the maven-indexer beans and the configuration of the indexing. --> |
| |
| <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.creator.AbstractIndexCreator" |
| 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> |