<component-set>

  <components>
    <component>
      <implementation>
        org.eclipse.sisu.plexus.PlexusXmlScannerTest$DefaultBean
      </implementation>
      <instantiation-strategy>
        per-lookup
      </instantiation-strategy>
      <configuration>
        <some-field-name>
          <item>PRIMARY</item>
        </some-field-name>
      </configuration>
    </component>
    <component>
      <role>
        org.eclipse.sisu.plexus.PlexusXmlScannerTest$Bean
      </role>
      <role-hint>
        debug
      </role-hint>
      <description>
        For debugging
      </description>
      <implementation>
        org.eclipse.sisu.plexus.PlexusXmlScannerTest$DebugBean
      </implementation>
      <extra-bits/>
    </component>
    <component>
      <implementation>
        org.eclipse.sisu.plexus.PlexusXmlScannerTest$DefaultBean
      </implementation>
      <configuration>
        <foo/><simple >value</simple  ><value with="attribute"></value><empty-value1 with="attribute" /><empty-value2/><foo/>
        <some-field-name>
          <item>SECONDARY</item>
        </some-field-name>
      </configuration>
      <requirements>
        <requirement>
          <role>
            org.eclipse.sisu.plexus.PlexusXmlScannerTest$Bean
          </role>
          <role-hint>
            debug
          </role-hint>
          <optional>
            True
          </optional>
          <extra-bits/>
        </requirement>
        <requirement>
          <role>
            org.eclipse.sisu.plexus.PlexusXmlScannerTest$Bean
          </role>
          <role-hints>
            <role-hint>
              default
            </role-hint>
            <role-hint>
              debug
            </role-hint>
          </role-hints>
          <field-name>
            beanMap
          </field-name>
        </requirement>
      </requirements>
    </component>
    <component>
      <implementation>
        org.eclipse.sisu.plexus.PlexusXmlScannerTest$DefaultBean
      </implementation>
      <requirements>
        <requirement>
          <role>
            org.eclipse.sisu.plexus.PlexusXmlScannerTest$Bean
          </role>
          <field-name>
            beanField
          </field-name>
        </requirement>
      </requirements>
    </component>
    <component>
      <role>
        org.eclipse.sisu.plexus.PlexusXmlScannerTest$Bean
      </role>
      <implementation>
        org.eclipse.sisu.plexus.PlexusXmlScannerTest$AnotherBean
      </implementation>
      <requirements>
        <requirement>
          <role>
            org.eclipse.sisu.plexus.PlexusXmlScannerTest$Bean
          </role>
        </requirement>
      </requirements>
    </component>
    <component>
      <role>
        org.eclipse.sisu.plexus.PlexusXmlScannerTest$Bean
      </role>
      <implementation>
        org.eclipse.sisu.plexus.PlexusXmlScannerTest$DefaultBean
      </implementation>
    </component>
    <component>
      <role>
        org.eclipse.sisu.plexus.PlexusXmlScannerTest$Bean
      </role>
      <role-hint>
        clone
      </role-hint>
      <implementation>
        org.eclipse.sisu.plexus.PlexusXmlScannerTest$DefaultBean
      </implementation>
    </component>
  </components>

  <dependencies>
    <dependency>
      <group-id>foo</group-id>
      <artifact-id>bar</artifact-id>
      <version>1.0</version>
    </dependency>
  </dependencies>

</component-set>
