<component-set>
  <components>
    <component>
      <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
      <role-hint>mock</role-hint>
      <implementation>org.apache.maven.archiva.indexer.MockConfiguration</implementation>
    </component>
    <component>
      <role>org.apache.maven.archiva.indexer.RepositoryContentIndexFactory</role>
      <role-hint>lucene</role-hint>
      <implementation>org.apache.maven.archiva.indexer.lucene.LuceneRepositoryContentIndexFactory</implementation>
      <description>Factory for Lucene repository content index instances.</description>
      <requirements>
        <requirement>
          <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
          <role-hint>mock</role-hint>
          <field-name>configuration</field-name>
        </requirement>
      </requirements>
    </component>
    <component>
      <role>org.apache.maven.archiva.indexer.search.CrossRepositorySearch</role>
      <role-hint>default</role-hint>
      <implementation>org.apache.maven.archiva.indexer.search.DefaultCrossRepositorySearch</implementation>
      <description>DefaultCrossRepositorySearch</description>
      <requirements>
        <requirement>
          <role>org.apache.maven.archiva.indexer.RepositoryContentIndexFactory</role>
          <role-hint>lucene</role-hint>
          <field-name>indexFactory</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
          <role-hint>mock</role-hint>
          <field-name>configuration</field-name>
        </requirement>
      </requirements>
    </component>
  </components>
</component-set>
