Configuring your project to work with the Refapp

Configuring your project to work with the Refapp is as simple as configuring the maven-refapp-plugin that comes with the Atlassian Plugin SDK. In your pom.xml edit your plugin according to the following:

<plugin>
  <groupId>com.atlassian.maven.plugins</groupId>
  <artifactId>maven-refapp-plugin</artifactId>
  <version>${amps.version}</version>
  <extensions>true</extensions>
  <configuration>
    <pluginArtifacts>
      <pluginArtifact>
        <groupId>com.atlassian.activeobjects</groupId>
        <artifactId>activeobjects-plugin</artifactId>
        <version>${ao.version}</version>
      </pluginArtifact>
      <pluginArtifact>
        <groupId>com.atlassian.activeobjects</groupId>
        <artifactId>activeobjects-refapp-spi</artifactId>
        <version>${ao.version}</version>
      </pluginArtifact>
    </pluginArtifacts>
    <productVersion>${refapp.version}</productVersion>
  </configuration>
</plugin>

where amps.version is the version of the Atlassian Plugin SDK you're using, and ao.version the version of the Active Objects plugin you're using. refapp.version is the version of the Refapp you want to use.

Was this page helpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport