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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

346 views 1 18
Join discussion

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