I am recompiling my renderer plugin against Jira 6.1.2 and am getting a compiler error. It can't find package com.atlassian.renderer. I am using SDK 4.2.10. I have been compiling this same plugin against versions of Jira since 4.1.1 and have never had any problem and have never had to specify anything special in my pom.xml . I recreated the pom.xml based upon the sdk 4.2.10 standard format.
I suspect a need another dependency, but I am not sure what since I cannot find that package in jira's api documentation. I know it is still being used because it is referred to all over the 6.1.2 source code. Here is the dependencies section of my pom.xml:
<dependencies> <dependency> <groupId>com.atlassian.jira</groupId> <artifactId>jira-api</artifactId> <version>${jira.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.10</version> <scope>test</scope> </dependency> <dependency> <groupId>com.atlassian.plugins</groupId> <artifactId>atlassian-plugins-osgi-testrunner</artifactId> <version>${plugin.testrunner.version}</version> <scope>test</scope> </dependency> </dependencies>
Well, I appear to have solved my own problem by adding this to my pom:
<dependency> <groupId>com.atlassian.jira</groupId> <artifactId>jira-core</artifactId> <version>${jira.version}</version> <scope>provided</scope> </dependency>
I should add that I am migrating this plugin from jira v5.2.1 to v6.1.x.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.