How to handle dependencies for jira plugins (in IntelliJ IDEA)?

I developed a jira plugin in eclipse. It's working so far. Now I wanted to switch to IntelliJ IDEA. There I activated the plugin to handle the dependencies with Maven.

For some imports in the java files IntelliJ is complaining about missing dependencies. For example "org.slf4j.Logger" or "com.atlassian.plugin.PluginParseException" or "javax.servlet.http.HttpServlet".

In an example project I saw that they added these lines for example in the pom.xml:




This doesn't work in IntelliJ because the IDE needs the version of the dependencies. Now for me is the question how to know which version is provided by Jira 7.3.3 for example. If I search for "javax.servlet" in IntelliJ then there are for example version 2.5 or 3.0.1. And for "slf4j" I don't know if "slf4j-simple" is the right one because the maven of IntelliJ cannot find it.

In eclipse I could use "atlas-mvn eclipse:eclipse" which added all dependencies so that eclipse didn't complained about missing dependencies.

So my questions are:

  • How do I know which versions are provided by the target Jira Version?
  • How you handle in general these dependencies in IntelliJ?

1 answer

0 vote

Hi Jens - since this is development related, you might want to try asking this over at: as well (if you haven't already).

Hoepfully someone over there will be able to help.

Oh, thanks I will ask there. :)

Sam Hall Community Champion Apr 06, 2017

Here's a link to the topic over in the developer community, so others can find/follow:

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published Tuesday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

436 views 6 16
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot