Can't find package com.atlassian.renderer when compiling plugin

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>

2 answers

I should add that I am migrating this plugin from jira v5.2.1 to v6.1.x.

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> 
 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

189 views 1 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you