I'm trying to apply AO module in my JIRA plugin. On page of plugin's module it says that ao-task-module is disabled. What I do wrong?
Maven dependencies:
<dependency>
<groupId>com.atlassian.activeobjects</groupId>
<artifactId>activeobjects-plugin</artifactId>
<version>1.2.3</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.collections</groupId>
<artifactId>google-collections</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
AO module in atlasian-plugin.xml
<ao key="ao-task-module" namespace="com.tri.task.ao" >
<description>The module configuring the Active Objects service used by settings this plugin</description>
<entity>com.tri.task.ao.TaskSettingActiveObject</entity>
</ao>
AO entity:
import net.java.ao.Entity;
import net.java.ao.schema.Index;
import net.java.ao.schema.Indexes;
import net.java.ao.schema.NotNull;
@Indexes({@Index( name = "idx_project_id", methodNames = {"getProjectId"}
)})
public interface TaskSettingActiveObject extends Entity {
Long getOwnerId();
@NotNull
Long getProjectId();
Long getOwnedId();
String getCondition();
}