Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Starting from Reporting version 6.0.0, RandomBits Plugins have been consolidated into a new compile-time library for Reporting and other ServiceRocket add-ons.

Note
title

Upcoming changes

As of Reporting version 6.6.0, support for supplier-core and support-core plugins will be removed from Reporting, which means support for a legacy custom supplier, custom reporter, and custom query will be removed.

...

This tutorial will guide you on how to update your Custom Supplier and register it into the Reporting add-on app by ServiceRocketAppfire.

Step-by-Step Guide

Step 1: Add the ServiceRocket Utility Library as a Dependency and Remove RandomBits Dependencies

  1. You need to add the ServiceRocket Utility Library add-on as a dependency into your add-on's pom.xml, which will be available on OSS Sonatype:

    Code Block
    languagejs
    <dependency>
        <groupId>com.servicerocket.confluence.plugin</groupId>
        <artifactId>servicerocket-utility-library</artifactId>
        <version>2.2.0</version>
        <scope>provided</scope>
    </dependency>
  2. If you're upgrading from Reporting 5.x.x to 6.0.0, you need to remove all the following RandomBits dependencies and Maven imports from your add-

...

  1. ons pom.xml:

    1. org.randombits.support: support-core

    2. org.randombits.support: support-confluence

    3. org.randombits.supplier: supplier-core

    4. org.randombits.supplier: supplier-confluence

    5. org.randombits.storage: storage

    6. org.randombits.storage: storage-servlet

    7. org.randombits.storage: storage-confluence

    8. org.randombits.storage: storage-parameters

    9. org.randombits.filtering: filtering-core

    10. org.randombits.filtering: filtering-confluence

Step 2: Fix all the compilation errors

...

You need to change the tag from supplier to reporting-supplier in your atlassian-plugin.xml.

Example

From:

Code Block
languagejs
<supplier key="customSupplier" name="Custom Supplier" class="com.servicerocket.confluence.plugin.MyCustomSupplier"/>

...

For further inquiries, contact our Support.