Comala Publishing provides a Java API for other add-ons to extend.
Setup
Add the Comalatech Maven repository to you .m2/settings.xml
file or your project pom.xml.
<repository> <id>comalatech-public</id> <url>https://nexus.comalatech.com/content/groups/public/</url> <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>true</enabled> </releases> </repository>
Add a dependency on the publishing api library to your project
<dependency> <groupId>com.comalatech</groupId> <artifactId>publishing-api</artifactId> <version>2.8.0</version> <scope>provided</scope> </dependency>
Using the API
Currently the API provides a range of events that can be listened to via Confluence event listeners. This allows your add-on to take some additional action once a publishing action has taken place.