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>${refappspi.version}</version>
      </pluginArtifact>
    </pluginArtifacts>
    <productVersion>${refapp.version}</productVersion>
  </configuration>
</plugin>

where amps.version, refapp.version, ao.version and refappspi.version are the versions you want to use.

Was this page helpful?
Powered by Confluence and Scroll Viewport