...
Note | ||
---|---|---|
| ||
As of Reporting version 6.6.0, support for supplier-core and support-core plugins will be removed from Reporting, which means support for the legacy custom supplier, custom reporter, and custom query will be removed. |
This tutorial will take you to step by step through the process of creating your first Custom Reporter. By the end of this tutorial, you will be able to provide data from your plugin to be displayed in Reporting macro.
...
- Download the
obr
for Reporting version 6.6.0 from the Atlassian Marketplace.
- Extract the
jar
file from theobr
using your preferred file extraction tool, such as 7-zip or WinRar.
Install the extracted
reporting-confluence-plugin-6.6.0.jar
to your local Maven repository using one of the following commands:Code Block mvn install:install-file \ -Dfile=<path-to-reporting-jar-file>/reporting-confluence-plugin-6.6.0.jar \ -DgroupId=com.servicerocket.confluence \ -DartifactId=reporting-confluence-plugin \ -Dversion=6.6.0 \ -Dpackaging=jar
or
Code Block mvn install:install-file -Dfile=<path-to-reporting-jar-file>/reporting-confluence-plugin-6.6.0.jar
Next, add the Reporting addReporting add-on as a dependency into to your plugin's
pom.xml
:Code Block language xml <dependency> <groupId>com.servicerocket.confluence</groupId> <artifactId>reporting-confluence-plugin</artifactId> <version>6.6.0</version> <scope>provided</scope> <exclusions> <exclusion> <groupId>*</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.servicerocket.confluence.plugin</groupId> <artifactId>servicerocket-utility-library</artifactId> <version>2.2.0</version> <scope>provided</scope> </dependency>
...