...
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 changesAs 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
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 language js <dependency> <groupId>com.servicerocket.confluence.plugin</groupId> <artifactId>servicerocket-utility-library</artifactId> <version>2.2.0</version> <scope>provided</scope> </dependency>
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-
...
ons
pom.xml
:org.randombits.support: support-core
org.randombits.support: support-confluence
org.randombits.supplier: supplier-core
org.randombits.supplier: supplier-confluence
org.randombits.storage: storage
org.randombits.storage: storage-servlet
org.randombits.storage: storage-confluence
org.randombits.storage: storage-parameters
org.randombits.filtering: filtering-core
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 | ||
---|---|---|
| ||
<supplier key="customSupplier" name="Custom Supplier" class="com.servicerocket.confluence.plugin.MyCustomSupplier"/> |
...
For further inquiries, contact our Support.