How to build plugin on JIRA 6.0?

I'm trying to build my plugin with JIRA 6.0 or 6.0.1

In pom.xml I have









But I get the following error.

[INFO] ------------------------------------------------------------------------


[INFO] ------------------------------------------------------------------------

[INFO] Unable to execute mojo

Embedded error: Missing:


1) com.atlassian.jira:atlassian-jira:jar:6.0

Try downloading the file manually from the project website.

Then, install it using the command:

mvn install:install-file -DgroupId=com.atlassian.jira -DartifactId=atlassian-jira -Dversion=6.0 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:

mvn deploy:deploy-file -DgroupId=com.atlassian.jira -DartifactId=atlassian-jira -Dversion=6.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

It works for if in XML I put 6.0-rc1. But I don't want RC1... Any idea?

Thank you!

3 answers

1 accepted

2 votes
Answer accepted

atlassian-jira dependency is discontinued. Use jira-api and/or jira-core dependencies.

        <!-- Add dependency on jira-core if you want access to JIRA implementation classes as well as the sanctioned API. -->
        <!-- This is not normally recommended, but may be required eg when migrating a plugin originally developed against JIRA 4.x -->

Hi Jobin,

I also have this Unresolved dependency on the import com.atlassian.jira.web.action.createIssueDetails; class

Adding the dependecny in the POM did not resolve it, how do I proceed?

Kind Regards

Lars Broden

Thanks Jobin Kuruvilla!!  I was wrestling with the atlassian-JIRA reference and found this.  Replacing atlassian-JIRA with your dependencies above solved my problem!



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


263 views 0 6
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