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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,946 views 19 22
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