The CollabNet TeamForge Maven Deploy Plugin can be configured to post binary artifact deployment information to TeamForge via the Webhooks-based Event Broker (WEBR) for end-to-end traceability.
Before You Begin

Before you begin with the configuration of the TeamForge Maven Deploy Plugin, generate the TeamForge Webhook URL by running the script.

Configure the CollabNet TeamForge Maven Deploy Plugin

To configure the CollabNet TeamForge Maven Deploy Plugin:

  1. Replace the standard deploy plugin with CollabNet TeamForge Maven Deploy Plugin in your POM.xml.

      <name>Collabnet Public Repo</name>

    The following table lists the available configuration items.

    Configuration Parameter Description Mandatory Default Value Example
    ctfWebhookUrl TeamForge Webhook URL. Yes None https://localhost:3000/inbox/v4/BinaryCustomData/1001
    associatedBuildNumber Specify to the env variable depending on your build system process. Set to ${env.BUILD_NUMBER} for Jenkins. Yes None ${env.BUILD_NUMBER}
    associatedJobName Specify to the env variable depending on your build system process. Set ${env.JOB_NAME} for Jenkins. Yes None ${env.JOB_NAME}
    skipLinkToBinaries Set to true to download binary artifact from traceability view. If set to false, redirects to the download location of binary artifact. No true true
    skipTeamForgeNotification Set to true to disable notification. No false false
    component Used to identify a specific binary artifact as a component in a larger application. No None An ALM platform has several components such as an application server, an indexer, an SCM integration server and so on. These components have their own build process. This property is used to uniquely identify such components in TeamForge Webhooks-based Event Broker.
    componentOf Associated with the 'component' parameter to store the details of the component. No None SCM as a component of Teamforge.
  2. Set up the Nexus credentials in the settings.xml file.

    You may find this file in the Maven home directory. For example, in the following illustration, your distribution management section has a repository id as local-nexus (as configured earlier in the POM.xml file):