This site has moved to the integrated Appfire documentation and information site for our apps.

From February 2024 this site is no longer updated.

Take a look here! If you have any questions please email support@appfire.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

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>appfire-comalatech-public</id>
    <url>https://nexus.appfire.com/repository/comalatech-maven-public/</url>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
    <releases>
        <enabled>true</enabled>
    </releases>
</repository>


Add a dependency on the publishing api library to your project

Only available from Comala Publishing 2.16.0 onwards, there will always be a corresponding API library with the same version available.

<dependency>
    <groupId>com.comalatech</groupId>
    <artifactId>publishing-api</artifactId>
    <version>3.1.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.

View the Java API docs.



  • No labels