Bugzilla Configuration XSD

The XSD to define the document type of Bugzilla configuration files for th bugzilla-maven-plugin (Download bugzilla-configuration.xsd).

<xsd:schema xmlns="http://www.smartics.de/schema/bugzilla-configuration/1" targetNamespace="http://www.smartics.de/schema/bugzilla-configuration/1" elementFormDefault="qualified">
  <xsd:annotation>
    <xsd:documentation>
      Defines the configuration for Bugzilla used by the bugzilla-maven-plugin.

      
&lt;bugzilla-config
  id="standard"
  xmlns="http://www.smartics.de/schema/bugzilla-configuration/1"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
  &lt;default-components&gt;
    &lt;component&gt;
      &lt;name&gt;Core&lt;/name&gt;
      &lt;description&gt;
        Issues addressed to the implementation of ${product}.
      &lt;/description&gt;
    &lt;/component&gt;
    &lt;component&gt;
      &lt;name&gt;Documentation&lt;/name&gt;
      &lt;description&gt;
        Issues addressed to the documentation of ${product}.
      &lt;/description&gt;
    &lt;/component&gt;
    &lt;component&gt;
      &lt;name&gt;Management&lt;/name&gt;
      &lt;description&gt;
        Issues addressed to the infrastructure and management (build,
        deployment, ...) of ${product}.
      &lt;/description&gt;
    &lt;/component&gt;
    &lt;component&gt;
      &lt;name&gt;Management&lt;/name&gt;
      &lt;description&gt;
        "Issues addressed to the infrastructure and management (build,
        deployment, ...) of ${product}.
      &lt;/description&gt;
    &lt;/component&gt;
  &lt;/default-components&gt;
&lt;/bugzilla-config&gt;

    </xsd:documentation>
  </xsd:annotation>

  <xsd:element name="bugzilla-config" type="Configuration"/>

  <xsd:complexType name="Configuration">
    <xsd:annotation>
      <xsd:documentation>
        Defines the configuration for Bugzilla.
      </xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
      <xsd:element name="default-components">
        <xsd:annotation>
          <xsd:documentation>
            Defines the default components to add for single projects that
            define no submodules.
          </xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="component" type="Component" maxOccurs="unbounded"/>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:sequence>
    <xsd:attribute name="id" type="xsd:string">
      <xsd:annotation>
        <xsd:documentation>
          The unique identifier of the configuration. The identifier 'standard'
          is reserved. If a system queries for configurations, a configuration
          identified by standard will only be read, if there is no other
          configuration available.

          Configurations are not merged.
        </xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
  </xsd:complexType>

  <xsd:complexType name="Component">
    <xsd:annotation>
      <xsd:documentation>
        Defines a component of a product in Bugzilla.
      </xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
      <xsd:element name="name" type="xsd:string">
        <xsd:annotation>
          <xsd:documentation>
            The (default) name of the component. The name is required to be
            unique. It may serve as a key to select a localization file.
            Localization for different languages is currently not supported.
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="description" type="xsd:string">
        <xsd:annotation>
          <xsd:documentation>
            The (default) description to the component.
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:schema>