How to describe dependency in pom .xml for JIRA plugin development

I want to download necessary jar files for development of JIRA plugins.

I created a Maven project and added dependency below in pom.xml and then atlas-mvn eclipse:add-maven-repo -Declipse.workspace=compile.


<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>atlassian-jira-core</artifactId>
<version>5.1.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>atlassian-jira-web</artifactId>
<version>5.1.4</version>
<scope>test</scope>
</dependency>

I want to know dependency property values for artifactId.

1 answer

1 accepted

0 vote
&lt;dependency&gt;
      		&lt;groupId&gt;com.atlassian.jira&lt;/groupId&gt;
      		&lt;artifactId&gt;jira-api&lt;/artifactId&gt;
      		&lt;version&gt;${jira.version}&lt;/version&gt;
      		&lt;scope&gt;provided&lt;/scope&gt;
    	&lt;/dependency&gt;      	
    	&lt;!--&lt;dependency&gt;
      		&lt;groupId&gt;com.atlassian.jira&lt;/groupId&gt;
      		&lt;artifactId&gt;jira-core&lt;/artifactId&gt;
      		&lt;version&gt;${jira.version}&lt;/version&gt;
      		&lt;scope&gt;provided&lt;/scope&gt;
    	&lt;/dependency&gt;  --&gt;

For a starting, this will do. jira-core should not be used unless necessary and hence it is copmmented out.

Thank you. It worked.

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 2 hours ago in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

13 views 0 3
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