Configuration Howto

If your are not satisfied with the default components' descriptions, you may configure the plugin to use your own.

This document describes what to do to change the default components' descriptions. If no configuration is provided by the build process, the system default configuration is used.

Create a Configuration Project

Your Bugzilla configuration file is required to adhere to the Bugzilla configuration XSD.

Have a look at the German Bugzilla default components configuration project to get started.

Add Configuration

Make your configuration file simply accessible on the class path of the plugin. The following example shows how the configuration provided by bugzilla-default-components-smartics-de is added to the class path of the plugin.

<build>
  <pluginManagement>
    <plugins>
      <plugin>
        <groupId>de.smartics.maven.plugin</groupId>
        <artifactId>bugzilla-maven-plugin</artifactId>
        <version>0.7.0</version>
        <dependencies>
          <dependency>
            <groupId>de.smartics.config</groupId>
            <artifactId>bugzilla-default-components-smartics-de</artifactId>
            <version>1.0.0</version>
          </dependency>
        </dependencies>
        <configuration>
          <classification>Unclassified</classification>
          <initialOwner>me@mycorp.com</initialOwner>
        </configuration>
      </plugin>
    </plugins>
  </pluginManagement>
</build>

The configuration file ist top-level in the JAR file and named bugzilla-configuration-default.xml per default. You may change the name, if you have more than one configuration in your artifact by changing the value of the configurationName property.